Authentication

Generate an access token

Changed on
post/open-api/v3/oauth/access-token

Request

  • Base URL
    https://api-sandbox.interlace.money
  • URL
    https://api-sandbox.interlace.money/open-api/v3/oauth/access-token
  • Auth
    none declared. Required headers: X-Timestamp, X-Signature

Headers

X-Timestampstring required

Unix timestamp in seconds, at which the request is initiated. A future timestamp, or one older than 5 minutes, is rejected.

X-Signaturestring required

Base64-encoded HMAC-SHA256 digest of clientId={clientId}&code={code}, keyed by the client secret configured for the clientId.

Request body

clientIdstring required

Client ID.

codestring required

Authorization code.

Response

OK

codestring

Error code

messagestring

Error message

Example response

{
  "code": "400001",
  "message": "Invalid parameter"
}

Changes

    • breaking

      added the new required header request parameter X-Signature

    • breaking

      added the new required header request parameter X-Timestamp