Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/types/paymentLink.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down Expand Up @@ -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
export default paymentLink