diff --git a/src/Payment/payment.schema.ts b/src/Payment/payment.schema.ts index 9f15087..fe18cb5 100644 --- a/src/Payment/payment.schema.ts +++ b/src/Payment/payment.schema.ts @@ -30,6 +30,13 @@ export class PaymentSchema extends PothosSchema { amount: t.exposeFloat('amount', { description: 'The amount of the payment.', }), + paymentCode: t.exposeString('paymentCode', { + description: 'The code of the payment.', + }), + expiredAt: t.expose('expiredAt', { + type: 'DateTime', + description: 'The date and time the payment will expire.', + }), status: t.expose('status', { type: PaymentStatus, description: 'The status of the payment.',