View as Markdown

SDK reference · Rails

verifyAp2Mandate

verifyAp2Mandate in @provenanceauth/rails/ap2, Rails. Verify a closed AP2 Checkout or Payment Mandate (its content, as your AP2 stack returns it after checking the SD-JWT) against the Provenance intent token it carries: 1.

Signature

verifyAp2Mandate(closed: Ap2ClosedMandate | Record<string, unknown>, opts: Ap2VerifyOptions): Promise<Ap2VerifyResult>

Parameters

closedAp2ClosedMandate | Record<string, unknown>Required
optsAp2VerifyOptionsRequired

Returns

Promise<Ap2VerifyResult>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.