跳转到内容

Error codes

Errors are JSON objects with error (machine-readable) and message (human-readable).

HTTPerrorTypical cause
400BAD_REQUESTMissing fields, bad amount, non-HTTPS notifyUrl, unsupported token, etc.
401UNAUTHORIZEDMissing Authorization, bad HMAC, timestamp outside ±5 minutes
404NOT_FOUNDUnknown paymentId
409CONFLICTDuplicate orderNo for the merchant
500INTERNAL_ERRORServer error—retry and contact operations
{ "error": "BAD_REQUEST", "message": "Invalid amount" }
{ "error": "UNAUTHORIZED", "message": "Invalid merchant HMAC signature" }
{ "error": "UNAUTHORIZED", "message": "Merchant HMAC authorization is required" }
{ "error": "NOT_FOUND", "message": "Payment not found" }
{ "error": "CONFLICT", "message": "Payment order already exists" }

If your notifyUrl does not return 2xx within 5 seconds, we retry automatically (up to 8 times, exponential backoff). Make the endpoint idempotent; delivery details are available through your operations channel (not part of this public API surface).