Start merchant rule by link
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/approvals/{token}/rule/options" \ -H "Content-Type: application/json" \ -d '{"kind":"string"}'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).
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
kind*Kindmax_amount_base_units?string|integer|nullSuccess.
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|nullrule*rule_hash*Rule Hash[key: string]?anyPOSTReject payment by link
Rejects the approval from the one-time link with an optional reason; nothing is paid. The token alone authorizes the rejection.
POSTCreate merchant rule by link
Saves the organization's allow or block rule for this merchant after verifying the passkey assertion. The passkey's owner must hold mandate:edit or approval:decide in the organization.