See Common Errors for shared authentication, identity and prerequisite codes. Inspect the business code and success, including on HTTP 200. Responses use trace_id and a numeric millisecond timestamp. Authentication, route and permission failures retain platform codes and differ from internal dependency authentication errors. Do not interpret technical failure as an absent record, empty list or zero funds. After an uncertain write, query the original business reference before resubmitting. Swap uses the same configurable OpenAPI access model as Checkout.

Request and filter errors

Customer and product eligibility

Quote and merchant errors

Available amount errors

Order creation and execution errors

Compatibility

The previous generic codes swap_parameter_invalid and swap_processing are no longer emitted by the public /swap/* endpoints. Those legacy errors are returned as swap_execution_request_invalid and swap_execution_busy. Existing callers should switch on the new precise codes and use message only for display or diagnostics.

OpenAPI failure example

Additional gateway and list-operation codes

These codes are grouped by related operations; a single endpoint may return only a subset. The Common Errors page covers shared prerequisites.