Hosted checkout
Select a payment method
Create a method attempt for a checkout Payment without changing the Payment.
POST
Creates one method attempt without changing the Payment’s obligation, recipient, settlement or commercial fee snapshot. Pass a Direct or Routing
paymentMethodId from List payment methods, or the hosted on-ramp method from the same list with a receiptEmail (plus optional fiatCurrency and returnUrl). Hosted-on-ramp-only fields are rejected for crypto methods.
Routing options are quoted when you select them. Idempotency-Key is required.Authorizations
Short-lived browser capability for exactly one payment_* resource. Never place it in a URL.
Headers
Retry key. Reuse a key only with the identical request; different input returns a conflict.
Example:
"request-key-001"
Path Parameters
The payment_* ID returned when the Payment was created.
Pattern:
^payment_[A-Za-z0-9_-]+$Example:
"payment_123"
Body
application/json
- Direct or Routing crypto option
- Hosted on-ramp option
Use a direct or Routing id returned by payment-method discovery. Hosted-on-ramp-only fields are rejected.
Maximum string length:
160Pattern:
^(crypto\.direct|routing\.[a-z0-9_.:-]+)$Example:
"crypto.direct"