Reject payment
curl -X POST "https://api.52-28-238-205.sslip.io/v1/approvals/{approval_id}/reject" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"reason":"not_delivered"}'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.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
approval_idstringrequiredApproval id (apr_...).
Body
application/json. 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)
approval_id*Approval IdApproval id (apr_...).
application/json- body
reason?string|nullSuccess.
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]?anyPOSTApprove payment
Verifies the passkey assertion over the closed mandate, re-runs the policy, reserves budget and starts the payment. Requires approval:decide and a passkey whose owner may decide this approval; an approval already decided or expired returns its final state instead of paying again.
POSTApprove payment intent
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.