# provenanceToAcpAllowance

provenanceToAcpAllowance in @provenanceauth/rails/acp, Rails. A Provenance mandate or intent → an ACP delegate-payment `allowance`.

## Signature

```ts
provenanceToAcpAllowance(source: AcpMandateSource | AcpIntentSource, opts: AcpAllowanceOptions): AcpAllowance
```

## Parameters

- `source` (AcpMandateSource | AcpIntentSource)
- `opts` (AcpAllowanceOptions)

## Returns

`AcpAllowance`

Runs locally, with no request to the API.
