Authentication & security
Merchant-facing APIs do not use certificate signing. Each integration is protected by:
- OAuth2 client credentials and short-lived JWT bearer tokens
- IP whitelisting of your public IP addresses
- Timestamps and nonces to prevent replay attacks
- Idempotency keys for payment creation
- Optional HMAC-SHA256 signatures, when enabled for your integration
Access tokens
Request a token with the client credentials grant:
Code
Send it on every payment request as Authorization: Bearer <access_token>. Tokens expire after
expires_in seconds (normally 3600).
Keep your client secret on your server
Never put your client secret in a browser, mobile app or public repository.
Required headers for payment APIs
| Header | Description |
|---|---|
Authorization | Bearer <access_token> |
X-Client-Id | Client identifier issued during onboarding. |
X-Request-Id | Unique request identifier (UUID recommended). |
X-Idempotency-Key | Unique idempotency key for the request. See Idempotency. |
X-Timestamp | 10-digit Unix epoch time in seconds, e.g. 1782275551. |
X-Nonce | Unique random value for every request. |
X-Content-SHA256 | SHA-256 of the raw request body, Base64-encoded. |
X-Signature (optional) | Base64-encoded HMAC-SHA256 signature, only if enabled during onboarding. |
The Balance enquiry endpoint also expects Accept: application/json and
Content-Type: application/json. The Name check endpoint needs Accept, X-Client-Id and
X-Request-Id.
Computing X-Content-SHA256
Python
PHP
Java
IP whitelisting
All API clients are restricted to the public IP addresses approved during onboarding. Requests from other addresses are rejected:
Code
Testing from this site
The playground sends requests from your browser, so your current public IP must be whitelisted in the sandbox for live tests to succeed.
Keep your clock in sync
X-Timestamp is validated against server time. Keep your servers synchronized with NTP to avoid
timestamp validation failures.

