Skip to content

Commit

Permalink
add autoRecover to create payment
Browse files Browse the repository at this point in the history
jimmyn committed Mar 28, 2022
1 parent 9c15bd4 commit 5ecb780
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -370,6 +370,12 @@ export interface CreatePaymentRequest {
* @memberof CreatePaymentRequest
*/
subscriptionId?: string;
/**
* If set to `true`, the new payment will be automatically created when customer visits the payment link of the previously failed payment. (set this value to `true` to create \"Pay By Link\" payments).
* @type {boolean}
* @memberof CreatePaymentRequest
*/
autoRecover?: boolean;
/**
* An arbitrary string attached to the payment. Often useful for displaying to users.
* @type {string}

0 comments on commit 5ecb780

Please sign in to comment.