Get mandate signing options
curl -X POST "https://api.52-28-238-205.sslip.io/v1/mandates/{id}/versions/{version}/sign/options" \ -H "Cookie: <console session cookie>"Returns WebAuthn request options whose challenge is the draft version's hash. Console session with mandate:sign; only a draft can be signed (409).
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>
Path
idstringrequiredMandate id (mdt_...).
versionstringrequiredDraft version number.
sessionuapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdMandate id (mdt_...).
version*VersionDraft version number.
Success.
application/json- response
challenge*ChallengeMessage to sign with the payTo address key to prove control of it.
timeout?integer|nullrpId?string|nullallowCredentials?array<>|nulluserVerification?string|nullchallenge_id*Challenge IdId of the passkey challenge returned by the matching options call.
publicKey*hash*Hash[key: string]?anyGETCompare mandate versions
Returns the field changes between two versions. Console session or API key with payment:read.
POSTSign mandate version
Verifies the passkey assertion over the version hash, activates the version, supersedes the previous one and applies its per-agent budget. Console session with mandate:sign; only a draft can be signed (409).