API Keys
All merchant API calls require a Bearer API key in theAuthorization header.
| Prefix | Environment | Base URL |
|---|---|---|
sk_test_... | Testnet v1 | https://testnetv1.ababilpay.xyz |
Rate Limiting
The API enforces a limit of 60 requests per minute per API key. Every response includes the following rate limit headers:| Header | Description |
|---|---|
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp (seconds) when the window resets |
429 with error code RATE_LIMITED. Wait until X-RateLimit-Reset before retrying — do not retry immediately in a loop.