# x402OfferRequired

x402OfferRequired in @provenanceauth/rails/deals, Rails. Seller side: the 402 for a resource sold under a signed offer.

## Signature

```ts
x402OfferRequired(opts: { resource: X402ResourceInfo | string; accepts: X402PaymentRequirements[]; offer: string; error?: string }): void
```

## Parameters

- `opts` ({ resource: X402ResourceInfo | string; accepts: X402PaymentRequirements[]; offer: string; error?: string })

## Returns

`void`

Runs locally, with no request to the API.
