Skip to main content
POST
Create Payment Details

Authorizations

X-API-KEY
string
header
required

Headers

X-API-KEY
string
required

API key for authentication

Idempotency-Key
string

Optional client-generated idempotency key for coalescing concurrent mutating requests. Reuse the same key for retries of the same payment attempt; use a new key when intentionally refreshing payment data or requesting a fresh quote. Maximum 255 characters.

Maximum string length: 255

Path Parameters

order_id
string
required

Body

application/json
source
object | null
Example:
refund_address
string | null

Response

Payment details

order_id
string
required
Example:

"cuidjkhg3e289y74u5t6v"

status
enum<string>
required
Available options:
PENDING,
EXPIRED,
FAILED,
AWAITING_PAYMENT,
OPTIMISTIC_CONFIRMED,
AWAITING_CONFIRMATION,
EXECUTING_ORDER,
COMPLETED,
REFUNDED,
PARTIAL_PAYMENT
Example:

"AWAITING_PAYMENT"

data
object
required
Example: