POST
/
auth
curl --request POST \
  --url https://api.swervpay.co/api/v1/auth \
  --header 'Authorization: Basic <encoded-value>'
{
  "access_token": "<string>",
  "token": {
    "expires_at": 123,
    "issued_at": 123,
    "type": "<string>"
  }
}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json
access_token
string
token
object