Skip to content

SudoSOS Back-end API / stripe/payment-request-service / InvalidPaymentRequestBeneficiaryError

Class: InvalidPaymentRequestBeneficiaryError ​

Thrown when a PaymentRequest cannot be created or paid because the beneficiary user is ineligible (soft-deleted, point-of-sale, etc.).

Extends ​

  • Error

Constructors ​

Constructor ​

ts
new InvalidPaymentRequestBeneficiaryError(reason): InvalidPaymentRequestBeneficiaryError;

Parameters ​

ParameterType
reasonstring

Returns ​

InvalidPaymentRequestBeneficiaryError

Overrides ​

ts
Error.constructor