Authentication

Refresh access token

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

Request

  • Base URL
    https://api-sandbox.interlace.money
  • URL
    https://api-sandbox.interlace.money/open-api/v3/oauth/refresh-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}&refreshToken={refreshToken}, keyed by the client secret configured for the clientId.

Request body

clientIdstring required

Client ID.

refreshTokenstring required

Refresh token obtained from a previous access token request.

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