Skip to content

recipientNotAllowedError

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / recipientNotAllowedError

Function: recipientNotAllowedError()

recipientNotAllowedError(recipient, allowed): PolicyError

Defined in: pqsafe/agent-pay/src/sprint2/errors.ts:341

Create a PolicyError for recipient not in allowlist.

Parameters

recipient

string

allowed

string[]

Returns

PolicyError