# 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

```ts
verifyAp2UserMandate(serialized: string, opts: Ap2UserMandateOptions): Ap2UserMandateResult
```

## Parameters

- `serialized` (string)
- `opts` (Ap2UserMandateOptions)

## Returns

`Ap2UserMandateResult`

Runs locally, with no request to the API.
