Start approval by link
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/approvals/{token}/approve/options"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.
https://api.52-28-238-205.sslip.ioPath
tokenstringrequiredOne-time approval token from the approval link. It is the only credential for this page.
token*TokenOne-time approval token from the approval link. It is the only credential for this page.
Success.
application/json- response
challenge_id*Challenge IdId of the passkey challenge returned by the matching options call.
challenge*ChallengeMessage to sign with the payTo address key to prove control of it.
timeout?integer|nullrpId?string|nullallowCredentials?array<>|nulluserVerification?string|nullclosed_mandate*closed_mandate_hash*Closed Mandate Hash[key: string]?anyGETGet approval by link
Returns what the one-time approval link shows: amount, merchant, reason, budget and expiry. Anyone holding the token may call it; no account is needed.
POSTApprove 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.