Skip to main content

Content Type

All responses are returned with:
Always send Content-Type: application/json in your request headers for POST endpoints.

Success Response


Sandbox (Test Mode) Responses

When authenticated with a test key (rtu_test_sk_...), responses include an explicit "environment": "sandbox" property indicating that the transaction was executed in the mock testing environment:

Error Response


Validation Error Response

When your request body fails validation, the API returns a detailed field-level error map:
Always check the errors object on 422 responses. It tells you exactly which fields failed and why.

Duplicate Request Response

When an idempotency_key is reused: