Skip to content

Commit

Permalink
API Updates (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcr-stripe authored Dec 22, 2021
1 parent 44ec6bd commit d9c7b6b
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ declare module 'stripe' {

alipay?: PaymentMethodOptions.Alipay;

au_becs_debit?: PaymentMethodOptions.AuBecsDebit;

bancontact?: PaymentMethodOptions.Bancontact;

boleto?: PaymentMethodOptions.Boleto;
Expand Down Expand Up @@ -595,6 +597,8 @@ declare module 'stripe' {

interface Alipay {}

interface AuBecsDebit {}

interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
Expand Down Expand Up @@ -787,7 +791,7 @@ declare module 'stripe' {
/**
* Type of the payment method for which payment is in `processing` state, one of `card`.
*/
type: string;
type: 'card';
}

namespace Processing {
Expand Down Expand Up @@ -1489,6 +1493,11 @@ declare module 'stripe' {
*/
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;

/**
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
*/
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;

/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
Expand Down Expand Up @@ -1612,6 +1621,8 @@ declare module 'stripe' {

interface Alipay {}

interface AuBecsDebit {}

interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
Expand Down Expand Up @@ -2433,6 +2444,11 @@ declare module 'stripe' {
*/
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;

/**
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
*/
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;

/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
Expand Down Expand Up @@ -2556,6 +2572,8 @@ declare module 'stripe' {

interface Alipay {}

interface AuBecsDebit {}

interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
Expand Down Expand Up @@ -3491,6 +3509,11 @@ declare module 'stripe' {
*/
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;

/**
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
*/
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;

/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
Expand Down Expand Up @@ -3614,6 +3637,8 @@ declare module 'stripe' {

interface Alipay {}

interface AuBecsDebit {}

interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
Expand Down

0 comments on commit d9c7b6b

Please sign in to comment.