Create a deposit session
Funds a wallet you manage on the payer’s behalf. Unlike checkout, a deposit may be OPEN-SIZED: omit the amount and the payer decides how much to send, in which case the deposit.completed webhook reports paidAmount with no destAmount to compare it against.
Same orderId idempotency as checkout.
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"