cURL
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>" } }
Authentication using business id and secret key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
OK
The response is of type object.
object
Was this page helpful?