Skip to content
Get started

Payments

Let an agent pay on a customer’s behalf with a single-use virtual card. Connect a customer once, then create a payment — a virtual card is minted scoped to that purchase and the card details are handed back for checkout.

Get a payment
GET/v3/payments/{paymentId}
Cancel a payment
POST/v3/payments/{paymentId}/cancel
Get a payment's card-reveal handoff
GET/v3/payments/{paymentId}/credentials
ModelsExpand Collapse
Payment object { id, amount_cents, approval_url, 5 more }
id: optional string
amount_cents: optional number
formatint64
approval_url: optional string

Present when the customer must approve with a passkey.

attach_url: optional string

Present when the customer must attach a card.

currency: optional string
description: optional string
handle: optional string
status: optional "needs_connection" or "connecting" or "awaiting_user_action" or 6 more
One of the following:
"needs_connection"
"connecting"
"awaiting_user_action"
"ready"
"authorized"
"succeeded"
"declined"
"canceled"
"expired"
PaymentCredentialsResponse object { handoff }
handoff: optional object { card_ref, fetch_url, provider, user_token }

Fetch the card directly from the provider with these — never through Linq.

card_ref: optional string
fetch_url: optional string
provider: optional string
user_token: optional string

Short-lived bearer to fetch the card from the provider.