Airwallex logo
Airwallex logoAirwallex logo

Partner API Access

Copy for LLMView as Markdown

Endpoints for obtaining partner access tokens

Endpoints
POST /partner-api/v1/authentication/login

Obtain partner access token

POST /partner-api/v1/authentication/login

Obtain a partner access token by specifying your x-app-id and x-app-secret in the HTTP request header. The token returned is required for calling all partner API endpoints, which must include Authorization: Bearer [token] in the HTTP header. The access token is valid for 30 minutes and can be used multiple times for all partner API endpoints until it expires. It's recommended to rely on expires_at for the accurate token expiration time.

Response body - 200 OK
expires_atstring

Token expiration time in ISO8601 format.

tokenstring

Authentication token returned.

Errors
Error statusDescription
400

Bad Request

401

Unauthorized

429

Too many requests

500

Server Error

POST /partner-api/v1/authentication/login
$curl --request POST \
> --url 'https://api-demo.airwallex.com/partner-api/v1/authentication/login' \
> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \
> --header 'Content-Type: application/json'
Was this section helpful?