Authentication

Obtain an access token

Changed on

OAuth 2.0 Client Credentials grant. Returns a Bearer token valid for 1 hour. Credentials may be passed in the request body or via HTTP Basic Auth header.

post/v2/oauth/token

Request

Request body application/x-www-form-urlencoded

grant_type'client_credentials' required
client_idstring

Your API client ID (or use Basic Auth header instead)

client_secretstring

Your API client secret (or use Basic Auth header instead)

audiencestring required

Audience URN for your tenant (e.g. urn:ripplexcurrent-prod:<your_tenant_id>)

Response

Access token issued successfully

access_tokenstring

JWT to include in all API requests

token_type'Bearer'
expires_ininteger

Token validity in seconds (3600 = 1 hour)

Changes

    • warning

      added the new FIAT_INSTRUCTION_ALREADY_EXISTS enum value to the response property for the response status

    • warning

      added the new FIAT_INSTRUCTION_ALREADY_EXISTS enum value to the response property for the response status

    • warning

      added the new FIAT_INSTRUCTION_INVALID_STATUS_TRANSITION enum value to the response property for the response status

    • warning

      added the new FIAT_INSTRUCTION_INVALID_STATUS_TRANSITION enum value to the response property for the response status

    • warning

      added the new FIAT_INSTRUCTION_NOT_FOUND enum value to the response property for the response status

    • warning

      added the new FIAT_INSTRUCTION_NOT_FOUND enum value to the response property for the response status

    • warning

      added the new FORBIDDEN enum value to the response property for the response status

    • warning

      added the new FORBIDDEN enum value to the response property for the response status

    • warning

      added the new STABLECOIN_BANK_DETAILS_NOT_FOUND enum value to the response property for the response status

    • warning

      added the new STABLECOIN_BANK_DETAILS_NOT_FOUND enum value to the response property for the response status

    • warning

      added the new UPSTREAM_UNAVAILABLE enum value to the response property for the response status

    • warning

      added the new UPSTREAM_UNAVAILABLE enum value to the response property for the response status

    • warning

      added the new WALLET_NOT_APPROVED enum value to the response property for the response status

    • warning

      added the new WALLET_NOT_APPROVED enum value to the response property for the response status

    • warning

      added the new WALLET_NOT_FOUND enum value to the response property for the response status

    • warning

      added the new WALLET_NOT_FOUND enum value to the response property for the response status