Skip to content

SudoSOS Back-end API / entity/payment-request/payment-request-attempt / PaymentRequestAttempt

Class: PaymentRequestAttempt ​

The data-model contract is: a single PaymentRequest may have many StripePaymentIntents (retries), but only one of them ever reaches SUCCEEDED. The webhook ingestion path in the service layer reads this back-reference to mark the linked request as paid; the wiring itself lives outside this entity (see the service-layer changes).

Extends ​

Constructors ​

Constructor ​

ts
new PaymentRequestAttempt(): PaymentRequestAttempt;

Returns ​

PaymentRequestAttempt

Inherited from ​

BaseEntityWithoutId.constructor

Properties ​

PropertyModifierTypeDescriptionInherited from
createdAtreadonlyDateThe creation date of the object.BaseEntityWithoutId.createdAt
paymentIntentpublicStripePaymentIntent--
paymentIntentIdpublicnumber--
paymentRequestpublicPaymentRequest--
paymentRequestUuidpublicstring--
updatedAtreadonlyDateThe last update date of the object.BaseEntityWithoutId.updatedAt
versionreadonlynumberThe current version of the object.BaseEntityWithoutId.version