Documentation Index
Fetch the complete documentation index at: https://api.corpay.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
All API requests must be authenticated using a bearer token (JWT).- Protocol: HTTPS
- Authentication: Bearer token
- Header:
Authorization
Base URL
<BASE_URL>
Use the appropriate base URL for your environment:
- Test:
https://apigwuat.corpay.com
Getting Access Token
To access the API, you must first obtain an access token. This requires aclient_id and client_secret, which Corpay provides after onboarding is
complete.
Endpoint:
POST <BASE_URL>/keycloak/realms/longship/protocol/openid-connect/token
Request
Response
Using the Access Token
Include the token in every request header:- In test, tokens may have a longer lifetime, for example
36000seconds. - In production, tokens typically expire after
3600seconds, or one hour.