Errors
Status codes tell you what to do; codes tell your logs what happened.
Transport errors
| Status | Meaning | What to do |
|---|---|---|
| 400 | Validation failed, or a policy refusal with a code. | Read message; fix the payload. |
| 401 | Missing, expired or invalid session token. | Sign in again. |
| 403 | Authenticated but not allowed for this resource. | Check the vendor/store binding. |
| 404 | Unknown resource, or a merchant not linked to your account. | Verify the id. |
| 409 | Idempotency key reused with a different body, or a duplicate appeal. | Use a new key per distinct request. |
| 429 | Rate limited. | Back off; retries should be jittered. |
Policy codes
| Code | Status | Cause |
|---|---|---|
COUNTRY_NOT_SUPPORTED | 400 | The buyer’s billing country is excluded, e.g. Japan. |
PRICE_BELOW_FLOOR | 400 | A negotiated rate would make a transaction loss-making. |
KYC_REQUIRED | 403 | A store was requested before the business was verified. Test and live both require it. |
UNSUPPORTED_API_VERSION | 400 | The Arilator-Version header names a version we do not serve. |
CHECKOUT_NOT_OPEN | 400 | The session is already completed, expired or failed. |
CHECKOUT_EXPIRED | 400 | The 15-minute window closed. Create a new session. |
RETURN_URL_NOT_ALLOWED | 400 | The return host is not on the checkout allowlist — an open-redirect guard. |
ACQUIRER_NOT_CONFIGURED | 503 | No approved acquirer for that country and currency. Nothing was charged. |
AMOUNT_MISMATCH | 400 | The acquirer collected a different amount or currency than the session. No order is booked. |
INVALID_TAX_ID | 400 | A GSTIN, EIN or VAT number does not match its expected format. |
INDIA_BUYER_ON_US_ENTITY | determination note | An Indian buyer must be invoiced by Arilator India. |
NOT_REGISTERED | determination note | No tax collected in that jurisdiction, with the amount that would be due. |
Payment failure codes
Failure codes come from the acquirer and are classified as soft or hard. Soft failures fail over to the next vendor in the chain; hard failures stop it.
{ "vendorTxId": "…", "status": "FAILED", "failureCode": "HTTP_401", "raw": { … } }Decision reason codes
Onboarding and account decisions use a closed list, so a refusal always has a reason a support agent can act on:
KYB_MISMATCH, INCOMPLETE_DOCUMENTS, PROHIBITED_CATEGORY, RESTRICTED_JURISDICTION, SANCTIONS_MATCH, AUP_VIOLATION, CHARGEBACK_RATIO, VELOCITY_ANOMALY, FRAUD_SIGNAL, MANUAL_RISK_REVIEW, OTHER.