ZekoraPay API Authentication
Calls to the ZekoraPay API are secured via Bearer token authentication.
Getting the API Key
- Log in to the Merchant/Enterprise area.
- Go to
Developers > API Keys.
- Generate a secret key. Warning, this key only appears once.
Required HTTP Headers
For each call, you must provide the following header:
Authorization: Bearer sk_live_your_secret_key_here
Content-Type: application/json
Accept: application/json
Handling Authentication Errors
If the key is invalid, missing, or has been revoked, the API will return a 401 Unauthorized HTTP code.
{
"error": "auth_failed",
"message": "Invalid or expired API Key."
}