Reject payment by link
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/approvals/{token}/reject" \ -H "Content-Type: application/json" \ -d '{"reason":"not_delivered"}'Rejects the approval from the one-time link with an optional reason; nothing is paid. The token alone authorizes the rejection.
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. 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
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 by link
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.
POSTStart merchant rule by link
Builds an always-allow or always-block rule for this approval's merchant and returns the passkey request that signs it. kind is allow or block; an allow rule caps at max_amount_base_units (defaults to this payment's amount).