Complete consent
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/consent/{token}/complete" \ -H "Content-Type: application/json" \ -d '{"challenge_id":"cha_01jd2x3k4m5n6p7q8r9s0t1v2w","credential":{}}'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.
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
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
redirect_url*Redirect UrlPlatform URL the consumer returns to after consent, with status (and mandate_id on success).
mandate_id*Mandate IdMandate id (mdt_...).
status*StatusCurrent state; the allowed values and moves are in the state machines reference.
delegation?|nullfunding?|null[key: string]?anyPOSTGet mandate signing options
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.
GETGet dispute status by link
Returns the public status of a dispute from its status link. Anyone holding the token may call it; rate limited to 30 requests per minute per client.