Home / Developer docs / Rate limits and error codes
Rate limits and error codes
The API limits requests per source IP and per client, and every error has a fixed code. This page has the rate limits and every error code with its HTTP status, meaning and what to do.
- API host
https://open.e8qianbao.com - Path prefix
/partner/v1 - Based on the API notes of 2026-11-29
Rate limits and error codes
Rate limits
- 300 requests a minute per source IP (before signature checks); 60 a minute per client by default (set at review, 1–6000).
- Endpoints that need
orders:write(creating, cancelling, delivering and refunding escrow checkouts) are also limited to 30 a minute per client; the payout endpoints (payouts, chain payouts and their review, payout mode) are likewise limited to 30 a minute; the othercollectendpoints (orders, deposit addresses, queries) have no such extra limit. - Beyond a limit you get 429
RATE_LIMITED(withoutRetry-After; back off and retry). Requests that keep failing authentication are also refused for a while; fix the signature or configuration and try again.
Error codes
| Error code | HTTP | Meaning |
|---|---|---|
SIGNATURE_REQUIRED | 401 | A signature header is missing or malformed |
TIMESTAMP_EXPIRED | 401 | Timestamp more than ±300 seconds off (check your clock sync) |
INVALID_API_KEY / API_KEY_REVOKED / API_KEY_EXPIRED | 401 | The key does not exist / is disabled / has expired (a new key lasts 1 year, one that can pay out 90 days; keys created before 2026-11-29 do not expire) |
INVALID_SIGNATURE | 401 | Wrong signature (the method, path, timestamp, nonce or body was changed) |
NONCE_REPLAYED | 401 | The nonce was used before |
OWNER_NOT_ACTIVE | 403 | The merchant owner's account is restricted |
API_CLIENT_NOT_ACTIVE | 403 | The client is pending review, suspended or disabled |
MERCHANT_NOT_ACTIVE | 403 | The merchant is not open for business |
IP_NOT_ALLOWED | 403 | The source IP is not on the allowlist |
SCOPE_NOT_GRANTED | 403 | The scope is not granted |
PAYOUT_NOT_ENABLED | 403 | API payouts are not on: the merchant owner turns them on in the Mini App's API access page first |
WITHDRAWAL_FROZEN | 403 | The merchant owner is frozen by risk control: no payouts and no approving chain payouts meanwhile (rejecting still works) |
AUTO_PAYOUT_NEEDS_PIN | 403 | The API can only turn automatic payouts off; the merchant owner turns them on in the Mini App's API access page with the payment PIN |
NETWORK_NOT_ENABLED | 403 | network=ERC20 was sent, but this network is not open for your merchant right now |
NOT_DEVELOPER_PAYOUT | 403 | A developer key reviewed a chain payout it did not make; nothing changed |
DEVELOPER_RECIPIENT_NOT_CONFIRMED | 403 | A developer key paid out to a recipient the merchant owner has not confirmed with the payment PIN; nothing paid |
DEVELOPER_RECIPIENT_NOT_ALLOWED | 403 | A developer key paid out to the developer itself or the owner of another of its merchants; always refused |
PAYOUT_DAILY_LIMIT | 409 | Beyond the 24-hour API payout limit; nothing created, nothing charged; an approval checks it again at that moment, and the payout stays pending_review when over it |
PAYOUT_EXPIRED | 409 | The chain payout waited for review more than 48 hours and can no longer be approved; the platform marks it rejected and calls back, nothing was paid |
PAYOUT_NEEDS_REVIEW | 409 | A single ERC20 chain payout above the automatic payout amount; nothing created, nothing charged; split it or use TRC20 |
MERCHANT_INSUFFICIENT_BALANCE | 409 | The merchant balance is short and nothing was created; after topping up, resend with the original Idempotency-Key and the same body |
IDEMPOTENCY_MISMATCH | 409 | The same Idempotency-Key with different content; the platform never returns an old result for a new request, so use a new key |
EXTERNAL_REF_REUSED | 409 | The same external_ref with a different amount or content; the original order is unchanged, so use a new order number |
IDEMPOTENCY_KEY_REQUIRED / INVALID_IDEMPOTENCY_KEY | 400 | A payout or chain payout without an Idempotency-Key, or with a malformed one |
AMOUNT_TOO_LARGE | 400 | A checkout or wallet order above the 100000 single-order limit |
AMOUNT_PRECISION | 400 | A payout or chain payout amount with more than 6 decimals |
WITHDRAW_TOO_SMALL | 400 | An ERC20 chain payout below the minimum per payout |
INTERNAL_ADDRESS | 400 | The chain payout address is a deposit address on the platform; pay E8 users with a payout to their wallet |
INVALID_ADDRESS | 422 | The chain payout address is malformed or belongs to the platform |
SELF_PAYOUT | 422 | Payouts to the merchant owner's own account are not allowed |
RETURN_URL_NOT_ALLOWED | 422 | return_url is not https, or its host is neither your approved callback URL's host nor one the platform registered for you |
CUSTOMER_REF_RESERVED | 422 | customer_ref starts with e8bill. when generating a deposit address, or with e8refund. (reserved for refunds) on an API chain payout |
VALIDATION_ERROR | 422 | Invalid body or query parameters (missing fields, bad formats, too many decimals and so on); data lists the failing fields |
ASSET_NOT_FOUND | 404 | The network query's coin is not supported |
STATEMENT_NOT_FOUND | 404 | No statement for that day |
RATE_LIMITED | 429 | Rate limited; back off and retry |
PARTNER_API_UNAVAILABLE | 503 | The platform cannot verify signatures right now; retry later |
SERVICE_UNAVAILABLE | 503 | A service the platform depends on is temporarily unavailable and the request was not processed; back off and retry (with the original Idempotency-Key for money requests) |
When a money request (payout, chain payout) gets a 5xx, times out or has an unclear result, resend it with the same Idempotency-Key and exactly the same body.