Skip to content

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

Interface: CreatePaymentRequestParams ​

Properties ​

amount ​

ts
amount: Dinero;

Fixed, immutable amount (Dinero).


createdBy ​

ts
createdBy: User;

Audit: the user issuing this request (admin or the for user themselves).


description? ​

ts
optional description?: string;

Optional human-readable description (e.g. invoice reference).


expiresAt ​

ts
expiresAt: Date;

When the request stops accepting payments. Must be in the future.


for ​

ts
for: User;

The user whose balance will be credited on successful payment.