# verifyAgentCheckout

verifyAgentCheckout in @provenanceauth/rails/checkout, Rails. Merchant side: verify the `Provenance-Intent` header against your own order record.

## Signature

```ts
verifyAgentCheckout(headerValue: string | null | undefined, opts: CheckoutVerifyOptions): Promise<CheckoutVerifyResult>
```

## Parameters

- `headerValue` (string | null | undefined)
- `opts` (CheckoutVerifyOptions)

## Returns

`Promise<CheckoutVerifyResult>`

Runs locally, with no request to the API.
