Approve payment intent
curl -X POST "https://api.52-28-238-205.sslip.io/v1/payment-intents/{intent_id}/approve" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"challenge_id":"cha_01jd2x3k4m5n6p7q8r9s0t1v2w","credential":{},"approval_id":"apr_01jd2x3k4m5n6p7q8r9s0t1v2w"}'Same as approving the approval, addressed by payment intent: the body names the approval_id and carries the passkey assertion. Requires approval:decide; the approval must belong to this intent.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
intent_idstringrequiredPayment intent id (pi_...).
Body
application/json · required. Fields are listed under Request body below.
owner, admin (with a grant), finance (with a grant), approver (own team). The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
intent_id*Intent IdPayment intent id (pi_...).
application/json- body
challenge_id*Challenge IdId of the passkey challenge returned by the matching options call.
credential*The passkey assertion (WebAuthn) produced for the challenge.
approval_id*Approval IdApproval id (apr_...).
Success.
application/json- response
approval*intent?|nullstate*Statemessage?string|nullnext_action?|Plan approvals: 'wallet_step' when the approval is saved but the plan's wallet step failed; retry with POST /v1/plans/{plan_id}/wallet-step
next_action_error?|null[key: string]?anyPOSTReject payment
Rejects the approval with an optional reason and denies the payment intent; nothing is paid. Callable with a console session or an API key holding approval:decide.
GETList cards
Returns the organization's per-agent virtual cards with limits, usage and state. Callable with a console session or an API key holding card:manage.