To get replaced card data from Corpay system, register for webhook using Card Identifier of original card. for each card the registration needs to be done separately. if hmac_enabled is set true then hmac_secret is needed. max_retries value by default it set to 1. If registration process has failed and consumer has missed the response, then same data can be obtained using /cards//replacedCard API. Upon successful replacement of the card, the replaced card object would be published to target url.
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.
Use OAuth2 client credentials to obtain a bearer token.
UAT token endpoint:
POST https://apigwuat.corpay.com/keycloak/realms/longship/protocol/openid-connect/token
Example:
curl --location 'https://apigwuat.corpay.com/keycloak/realms/longship/protocol/openid-connect/token' \
--header 'accept: application/json' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=.......' \
--data-urlencode 'client_secret=......'