Skip to main content
POST
Confirm a payment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Initial payment confirmation request.

payment_id
string
required

ID of the payment from the quote to confirm

state_token
string
required

State token from the quote response

owner_address
string
required

Owner address for the payment. This is the address that the payment will be sent from.

destination_address
string
required

Destination address for the payment. This is the address that the payment will be sent to.

client_redirect_url
string<uri>

Optional URL to redirect users to after an onramp flow completes.

owner_chain
string

Optional chain for the owner address, needed when the owner operates on a specific chain.

client_redirect_after
enum<string>
default:COMPLETED

When to redirect the user to the client_redirect_url. COMPLETED waits for the full payment to finish, FUNDED redirects after funding is confirmed.

Available options:
COMPLETED,
FUNDED

Response

Payment confirmed successfully

payment_id
string
required
org_id
string
required

Organization identifier

status
enum<string>
required
Available options:
PENDING,
COMPLETE,
FAILED,
EXPIRED,
WITHDRAW_PENDING,
WITHDRAWN,
TAINTED,
UNCONFIRMED
funded
boolean
required

Whether the payment has been funded

created_at
string<date-time>
required
updated_at
string<date-time>
required
initiate_fund_by
string<date-time>
required

Deadline for funding the payment.

quoted
object
required
fulfilled
object
required
current_prices
object
required

Mapping of asset symbols to their unit prices

Example:
price_currency
string
required

Fiat asset used for pricing

Example:

"ethereum:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

processing_addresses
object[]
required
owner_chain
string
required

Chain identifier for the owner

owner_address
string
required

Address of the owner of the payment

destination_address
string
required

Address of the destination of the payment

withdrawals
object[] | null
required

Withdrawals associated with this payment, or null.

client_redirect_url
string | null
required

Client redirect URL

geolocation
object | null
required

Geolocation of the payment owner, or null.

declaration
object | null
required

Declaration object

completed_at
string<date-time>
quote_request
object

The original quote request.

customer_id
string

ID of the customer who created the payment

label
string

Optional payment label

Maximum string length: 255
next_instruction
object

Instruction payload that returns the funding pages if the payment requires funding.

Example:
issues
object[]

Payment validation issues

parent_payment_id
string<uuid>

Parent payment reference