SDK reference · Rails
verifyAp2UserMandate
verifyAp2UserMandate in @provenanceauth/rails/ap2, Rails. Verify a closed AP2 0.2 Checkout or Payment Mandate SD-JWT that the person signed on their own trusted surface (a wallet), as a confirmation of the verifier's cart: 1.
Signature
verifyAp2UserMandate(serialized: string, opts: Ap2UserMandateOptions): Ap2UserMandateResultParameters
serializedstringRequiredoptsAp2UserMandateOptionsRequired
Returns
Ap2UserMandateResult
HTTP operation
Runs locally, with no request to the API.