Authorization

Get Wirex Partner token

Exchange client credentials for Wirex Partner access token

post/api/v1/token

Request

  • Base URL
    https://api-business.wirexapp.com
  • URL
    https://api-business.wirexapp.com/api/v1/token
  • Auth
    none required

Request body

audiencestring

Target API audience (optional)

client_idstring required

Unique identifier assigned to your application during partner onboarding

client_secretstring required

Secret key associated with your client_id, used for authentication

grant_typestring required

OAuth2 grant type, must be "client_credentials"

Example request

{
  "audience": "https://api.wirexpay.com",
  "client_id": "wirex-partner-app-123",
  "client_secret": "sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "grant_type": "client_credentials"
}

Response

OK

access_tokenstring required

Signed JWT token used to authenticate Partner API requests

expires_atinteger required

Unix timestamp (seconds) when the token expires

token_typestring required

Token type, always "Bearer"

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ3aXJleC1wYXJ0bmVyLWFwcC0xMjMiLCJzY29wZSI6InBhcnRuZXI6ZnVsbCIsImlhdCI6MTczMzAwMDAwMCwiZXhwIjoxNzMzMTcyODAwfQ.xxxxx",
  "expires_at": 1733172800,
  "token_type": "Bearer"
}

Changes

No recorded changes to this operation across all 1 revision of this API.