This endpoint returns the secret key for a successfully onboarded client. This secret key is used to authenticate the API requests made by the client and enables access to Corpay's suite of API services. Each feature is permission-based and can be enabled or restricted per client.
Generate Key
Provide a valid clientOnboardingId to retrieve the associated client-level Secret Key for a client that has been successfully onboarded and approved. The clientOnboardingId is returned in the POST clientOnboarding response.
Decrypt the Returned Message
The message is encrypted using AES encryption.
You can use decrypting tools (e.g., LINQPad 7) to decrypt the response. Please contact your account representative for the decryption script.
Run the script. The decrypted response will return your ClientCode, AuthSecret, and the UserName. For example,
{"ClientCode":"clientCode","AuthSecret":"5da06ce6461d4411b7aef64ed64dfb2fgdwj_R2xx_-XXXX","UserNames":["DEMO USER"]}