# x402BindingPayload

x402BindingPayload in @provenanceauth/rails/x402, Rails. The exact object to pass as `action_payload` to `POST /v1/mandate/intents`, so the token's `payload_hash` binds this resource and these payment requirements.

## Signature

```ts
x402BindingPayload(resource: X402ResourceInfo | string, requirements: Pick<X402PaymentRequirements, "scheme" | "network" | "amount" | "asset" | "payTo">): X402Binding
```

## Parameters

- `resource` (X402ResourceInfo | string)
- `requirements` (Pick<X402PaymentRequirements, "scheme" | "network" | "amount" | "asset" | "payTo">)

## Returns

`X402Binding`

Runs locally, with no request to the API.
