2️⃣Authentication
Retrieve authentication token using API credentials
Body
apiKeystring · uuidRequiredExample:
Unique API key used to identify your API integration. Note this can be different for live and sandbox environments
d04953b7-5878-4fd0-8970-0a5f77fbce59apiSecretstringRequiredExample:
API secret
64ec977db2e585887c80ed62fe9997994aed8093Responses
200
Successful operation
application/json
tokenstringRequiredExample:
JWT token that can be used for further requests to authenticated endpoints
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5cexpiresAtintegerRequiredExample:
token expiration time (UNIX timestamp)
1699974342tokenTypestringRequiredExample:
token type. Must be "Bearer"
Bearer400
Invalid request
401
Invalid credentials
500
Internal error
post
/auth/tokenAdd or update API credentials. If credentials are updated this action invalidates all issued tokens and active sessions
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
apiKeystring · uuidRequiredExample:
Unique API key used to identify your API integration. Note this can be different for live and sandbox environments
d04953b7-5878-4fd0-8970-0a5f77fbce59apiSecretstringRequiredExample:
API secret
64ec977db2e585887c80ed62fe9997994aed8093Responses
204
Successful operation
400
Invalid request
401
Not authorised
500
Internal error
put
/auth/credentialsNo content
Last updated