diff --git a/lib/types/paymentLink.d.ts b/lib/types/paymentLink.d.ts index 5a4cf2b..5100574 100644 --- a/lib/types/paymentLink.d.ts +++ b/lib/types/paymentLink.d.ts @@ -101,9 +101,9 @@ export declare namespace PaymentLinks { /** * Payment details such as amount, payment ID, Payment Link ID and more. * This array gets populated only after the customer makes a payment. - * Until then, the value is `null`. + * Until then, the value is `Empty Array`. */ - payments: RazorpayPaymentBaseRequestBody | null; + payments: RazorpayPaymentBaseRequestBody[]; reminders: { status: string; }; @@ -465,4 +465,4 @@ declare function paymentLink(api: any): { notifyBy(paymentLinkId: string, medium: INotify, callback: (err: INormalizeError | null, data: { success: boolean }) => void): void } -export default paymentLink \ No newline at end of file +export default paymentLink