We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58cd835 + 588bbb4 commit 05716baCopy full SHA for 05716ba
src/recurring/manage_payments.d.ts
@@ -40,4 +40,5 @@ export function editPayment(data: {
40
shouldSendEmail?: boolean;
41
invoiceDuration?: number;
42
missedPaymentAction?: Action;
43
+ rescheduleAt?: Date;
44
}): Promise<object>;
src/recurring/manage_payments.js
@@ -77,6 +77,9 @@ function editPayment(data) {
77
should_send_email: data.shouldSendEmail,
78
invoice_duration: data.invoiceDuration,
79
missed_payment_action: data.missedPaymentAction,
80
+ reschedule_at: data.rescheduleAt
81
+ ? data.rescheduleAt.toISOString()
82
+ : undefined,
83
}),
84
})
85
.then(resolve)
0 commit comments