# ap2BindingPayload

ap2BindingPayload in @provenanceauth/rails/ap2, Rails. The exact object to pass as `action_payload` to `POST /v1/mandate/intents`, so the token binds this Checkout (by hash), the payee and the amount.

## Signature

```ts
ap2BindingPayload(input: { checkout_jwt?: string; checkout_hash?: string; payee: Pick<Ap2Merchant, "id"> | string; payment_amount: Ap2Amount; }): Ap2Binding
```

## Parameters

- `input` ({ checkout_jwt?: string; checkout_hash?: string; payee: Pick<Ap2Merchant, "id"> | string; payment_amount: Ap2Amount; })

## Returns

`Ap2Binding`

Runs locally, with no request to the API.
