Skip to content

SudoSOS Back-end API / stripe/payment-request / PaymentRequestStatus

Enumeration: PaymentRequestStatus ​

Derived status of a PaymentRequest.

The status is not stored on the entity — it is computed from the combination of paidAt, cancelledAt, and expiresAt against the current clock. See PaymentRequest.status.

Enumeration Members ​

CANCELLED ​

ts
CANCELLED: "CANCELLED";

Explicitly cancelled by an authorized user.


EXPIRED ​

ts
EXPIRED: "EXPIRED";

expiresAt has passed without payment.


ts
PAID: "PAID";

A linked StripeDeposit succeeded and the credit Transfer was created.


PENDING ​

ts
PENDING: "PENDING";

Awaiting payment, not yet expired or cancelled.