Get mandate signing options
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/consent/{token}/mandate/options" \ -H "Content-Type: application/json" \ -d '{"limits":{}}'Drafts the consumer's mandate from the template (limits can only be lowered) and returns WebAuthn assertion options with the mandate hash as the challenge. Anyone holding a pending consent token; rate limited to 30 requests per minute per IP.
https://api.52-28-238-205.sslip.ioPath
tokenstringrequiredOne-time consent token from the link the platform sent the consumer (valid 24 hours).
Body
application/json · required. Fields are listed under Request body below.
token*TokenOne-time consent token from the link the platform sent the consumer (valid 24 hours).
application/json- body
limits?{}Success.
application/json- response
publicKey?|nullhash?string|nullmandate?|nulloperator_caps?{}[key: string]?anyPOSTRegister consumer passkey
Stores the consumer's new passkey from the WebAuthn credential. Anyone holding a pending consent token; rate limited to 30 requests per minute per IP.
POSTComplete consent
Verifies the passkey signature over the drafted mandate, activates it, sets the capped spending permission on the consumer's wallet and returns the redirect URL with mandate_id. Anyone holding a pending consent token; rate limited to 30 requests per minute per IP.