Approve payment by link
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/approvals/{token}/approve" \ -H "Content-Type: application/json" \ -d '{"challenge_id":"cha_01jd2x3k4m5n6p7q8r9s0t1v2w","credential":{}}'Approves from the one-time link: the passkey assertion identifies the approver, who must be a member allowed to decide this approval. Re-runs the policy, reserves budget and starts the payment.
https://api.52-28-238-205.sslip.ioPath
tokenstringrequiredOne-time approval token from the approval link. It is the only credential for this page.
Body
application/json · required. Fields are listed under Request body below.
token*TokenOne-time approval token from the approval link. It is the only credential for this page.
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.
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]?anyPOSTStart approval by link
Builds the closed mandate and returns the passkey request for approving from the one-time link. Anyone holding the token may call it; the passkey later decides who approves.
POSTReject payment by link
Rejects the approval from the one-time link with an optional reason; nothing is paid. The token alone authorizes the rejection.