Get approval
curl -X GET "https://api.52-28-238-205.sslip.io/v1/approvals/{approval_id}" \ -H "Cookie: <console session cookie>"Returns one approval with its payment intent, merchant, reason, expiry countdown and the budget after this payment. Callable with a console session or an API key holding approval:decide; a team approver can open only its own team's approvals.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
approval_idstringrequiredApproval id (apr_...).
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)
approval_id*Approval IdApproval id (apr_...).
Success.
application/json- response
id*Idstatus*StatusCurrent state; the allowed values and moves are in the state machines reference.
state*Stateintent_id?|Payment intent id (pi_...).
plan_id?|Plan id (pln_...).
team_id?|Team id (team_...).
created_at?|Creation time, ISO 8601 UTC.
expires_at?|Expiry time, ISO 8601 UTC.
decided_by?|nulldecided_at?string|nullreject_reason?string|nullmessage?string|nullreason_code?|Machine-readable reason from the reason code catalog, for example ABOVE_AUTO_THRESHOLD.
reason?|nullmerchant?|nullamount_base_units?|Amount in integer base units, carried as a string (USDC and USDT have 6 decimals: "50000" = 0.05).
amount_cents?integer|nullasset?|Asset symbol, for example USDC or USDT; USD for card amounts.
network?|Network as a CAIP-2 id, for example eip155:84532 (Base Sepolia) or solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (Solana devnet).
network_name?string|nullrail?|Payment rail: x402 (stablecoin over HTTP 402), wdk (direct USDT transfer) or card.
service?|nullagent?|nullpurpose?|The agent's stated purpose (up to 500 characters). Shown to approvers and screened by Shield; not in the public receipt.
plan_terms?|nullintent?|nullclosed_mandate_hash?string|nullapprovers?array<>|nullbudget?|null[key: string]?anyGETList approvals
Returns the organization's approvals, newest first (up to 100), with intent, merchant, reason and countdown. Callable with a console session or an API key holding approval:decide; a team approver sees only its own team's approvals.
POSTStart payment approval
Builds the AP2 closed mandate for this purchase and returns the passkey request that signs it. Callable with a console session or an API key holding approval:decide; send the signed result to the approve operation before the approval expires.