Create a checkout session
Bills a payer a FIXED amount. destAmount is the amount you receive, and the payer covers whatever the route costs on top. Use this when you are selling something at a known price.
Creation is idempotent on orderId: replaying the same orderId while a session is still open returns the EXISTING session with 200 instead of creating a second one, so a retried request cannot double-charge. A new session is 201. Multi-destination Checkout is deprecated; existing requests remain supported during migration to one fixed Checkout destination.
Authorizations
Body
Amount in BASE UNITS, as a string (10 USDC at 6 decimals is "10000000"). A string because these exceed IEEE-754 safe range at 18 decimals. Omit for an OPEN amount — the payer names it — which is the normal shape for deposit and legal for withdrawal; a checkout almost always fixes it.
"10000000"
Response
Idempotent replay: the existing non-terminal session for the same partner and orderId.
Domain error code. OK on success; non-OK values come with a non-null error.
OK, BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT, RATE_LIMITED, PAYLOAD_TOO_LARGE, UNSUPPORTED_CHAIN, INTERNAL_ERROR, UPSTREAM_TIMEOUT, UPSTREAM_ERROR, SERVICE_UNAVAILABLE, KILL_SWITCH_ACTIVE, CIRCUIT_BREAKER_OPEN, NO_QUOTE_AVAILABLE, QUOTE_STALE, SIMULATION_REVERTED, INVALID_PARAMS, AMOUNT_OUT_OF_BOUNDS, PAYOUT_TOKEN_NOT_ALLOWED, RECIPIENT_NOT_ALLOWLISTED, PAYMENT_EXPIRED, PAYMENT_NOT_FOUND, PAYMENT_IN_PROGRESS, NOT_CONFIGURED, INSUFFICIENT_LIQUIDITY, ROUTE_TEMPORARILY_UNAVAILABLE, UNSUPPORTED_ROUTE, OVER_DELIVERY_CAP, ORIGIN_NOT_CONFIGURED, ORIGIN_NOT_ALLOWED, PUBLISHABLE_DEPOSIT_NOT_ENABLED, PUBLISHABLE_WITHDRAWAL_NOT_ENABLED "OK"