Skip to content

Commit

Permalink
Update generated code for v987
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 24, 2024
1 parent 85c7bda commit 50c21ce
Show file tree
Hide file tree
Showing 10 changed files with 85 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v985
v987
30 changes: 28 additions & 2 deletions types/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,20 @@ declare module 'stripe' {
setup_future_usage?: 'none';
}

interface AmazonPay {}
interface AmazonPay {
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
* Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
*
* When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).
*/
setup_future_usage?: AmazonPay.SetupFutureUsage;
}

namespace AmazonPay {
type SetupFutureUsage = 'none' | 'off_session';
}

interface AuBecsDebit {
/**
Expand Down Expand Up @@ -1410,7 +1423,20 @@ declare module 'stripe' {
expires_after_seconds: number | null;
}

interface RevolutPay {}
interface RevolutPay {
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
* Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
*
* When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).
*/
setup_future_usage?: RevolutPay.SetupFutureUsage;
}

namespace RevolutPay {
type SetupFutureUsage = 'none' | 'off_session';
}

interface SepaDebit {
/**
Expand Down
2 changes: 2 additions & 0 deletions types/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,7 @@ declare module 'stripe' {
| 'ach_credit_transfer'
| 'ach_debit'
| 'acss_debit'
| 'amazon_pay'
| 'au_becs_debit'
| 'bacs_debit'
| 'bancontact'
Expand All @@ -1237,6 +1238,7 @@ declare module 'stripe' {
| 'paynow'
| 'paypal'
| 'promptpay'
| 'revolut_pay'
| 'sepa_credit_transfer'
| 'sepa_debit'
| 'sofort'
Expand Down
4 changes: 4 additions & 0 deletions types/InvoicesResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ declare module 'stripe' {
| 'ach_credit_transfer'
| 'ach_debit'
| 'acss_debit'
| 'amazon_pay'
| 'au_becs_debit'
| 'bacs_debit'
| 'bancontact'
Expand All @@ -580,6 +581,7 @@ declare module 'stripe' {
| 'paynow'
| 'paypal'
| 'promptpay'
| 'revolut_pay'
| 'sepa_credit_transfer'
| 'sepa_debit'
| 'sofort'
Expand Down Expand Up @@ -1316,6 +1318,7 @@ declare module 'stripe' {
| 'ach_credit_transfer'
| 'ach_debit'
| 'acss_debit'
| 'amazon_pay'
| 'au_becs_debit'
| 'bacs_debit'
| 'bancontact'
Expand All @@ -1334,6 +1337,7 @@ declare module 'stripe' {
| 'paynow'
| 'paypal'
| 'promptpay'
| 'revolut_pay'
| 'sepa_credit_transfer'
| 'sepa_debit'
| 'sofort'
Expand Down
8 changes: 8 additions & 0 deletions types/Mandates.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ declare module 'stripe' {
interface PaymentMethodDetails {
acss_debit?: PaymentMethodDetails.AcssDebit;

amazon_pay?: PaymentMethodDetails.AmazonPay;

au_becs_debit?: PaymentMethodDetails.AuBecsDebit;

bacs_debit?: PaymentMethodDetails.BacsDebit;
Expand All @@ -104,6 +106,8 @@ declare module 'stripe' {

payto?: PaymentMethodDetails.Payto;

revolut_pay?: PaymentMethodDetails.RevolutPay;

sepa_debit?: PaymentMethodDetails.SepaDebit;

/**
Expand Down Expand Up @@ -145,6 +149,8 @@ declare module 'stripe' {
type TransactionType = 'business' | 'personal';
}

interface AmazonPay {}

interface AuBecsDebit {
/**
* The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively.
Expand Down Expand Up @@ -278,6 +284,8 @@ declare module 'stripe' {
| 'utility';
}

interface RevolutPay {}

interface SepaDebit {
/**
* The unique reference of the mandate.
Expand Down
26 changes: 26 additions & 0 deletions types/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1763,6 +1763,19 @@ declare module 'stripe' {
* Controls when the funds will be captured from the customer's account.
*/
capture_method?: 'manual';

/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
* Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
*
* When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).
*/
setup_future_usage?: AmazonPay.SetupFutureUsage;
}

namespace AmazonPay {
type SetupFutureUsage = 'none' | 'off_session';
}

interface AuBecsDebit {
Expand Down Expand Up @@ -2561,6 +2574,19 @@ declare module 'stripe' {
* Controls when the funds will be captured from the customer's account.
*/
capture_method?: 'manual';

/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
* Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
*
* When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).
*/
setup_future_usage?: RevolutPay.SetupFutureUsage;
}

namespace RevolutPay {
type SetupFutureUsage = 'none' | 'off_session';
}

interface SepaDebit {
Expand Down
2 changes: 2 additions & 0 deletions types/QuotePreviewInvoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,7 @@ declare module 'stripe' {
| 'ach_credit_transfer'
| 'ach_debit'
| 'acss_debit'
| 'amazon_pay'
| 'au_becs_debit'
| 'bacs_debit'
| 'bancontact'
Expand All @@ -1214,6 +1215,7 @@ declare module 'stripe' {
| 'paynow'
| 'paypal'
| 'promptpay'
| 'revolut_pay'
| 'sepa_credit_transfer'
| 'sepa_debit'
| 'sofort'
Expand Down
8 changes: 8 additions & 0 deletions types/SetupAttempts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ declare module 'stripe' {
interface PaymentMethodDetails {
acss_debit?: PaymentMethodDetails.AcssDebit;

amazon_pay?: PaymentMethodDetails.AmazonPay;

au_becs_debit?: PaymentMethodDetails.AuBecsDebit;

bacs_debit?: PaymentMethodDetails.BacsDebit;
Expand All @@ -116,6 +118,8 @@ declare module 'stripe' {

payto?: PaymentMethodDetails.Payto;

revolut_pay?: PaymentMethodDetails.RevolutPay;

sepa_debit?: PaymentMethodDetails.SepaDebit;

sofort?: PaymentMethodDetails.Sofort;
Expand All @@ -131,6 +135,8 @@ declare module 'stripe' {
namespace PaymentMethodDetails {
interface AcssDebit {}

interface AmazonPay {}

interface AuBecsDebit {}

interface BacsDebit {}
Expand Down Expand Up @@ -461,6 +467,8 @@ declare module 'stripe' {

interface Payto {}

interface RevolutPay {}

interface SepaDebit {}

interface Sofort {
Expand Down
2 changes: 2 additions & 0 deletions types/Subscriptions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ declare module 'stripe' {
| 'ach_credit_transfer'
| 'ach_debit'
| 'acss_debit'
| 'amazon_pay'
| 'au_becs_debit'
| 'bacs_debit'
| 'bancontact'
Expand All @@ -614,6 +615,7 @@ declare module 'stripe' {
| 'paynow'
| 'paypal'
| 'promptpay'
| 'revolut_pay'
| 'sepa_credit_transfer'
| 'sepa_debit'
| 'sofort'
Expand Down
4 changes: 4 additions & 0 deletions types/SubscriptionsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ declare module 'stripe' {
| 'ach_credit_transfer'
| 'ach_debit'
| 'acss_debit'
| 'amazon_pay'
| 'au_becs_debit'
| 'bacs_debit'
| 'bancontact'
Expand All @@ -932,6 +933,7 @@ declare module 'stripe' {
| 'paynow'
| 'paypal'
| 'promptpay'
| 'revolut_pay'
| 'sepa_credit_transfer'
| 'sepa_debit'
| 'sofort'
Expand Down Expand Up @@ -1924,6 +1926,7 @@ declare module 'stripe' {
| 'ach_credit_transfer'
| 'ach_debit'
| 'acss_debit'
| 'amazon_pay'
| 'au_becs_debit'
| 'bacs_debit'
| 'bancontact'
Expand All @@ -1942,6 +1945,7 @@ declare module 'stripe' {
| 'paynow'
| 'paypal'
| 'promptpay'
| 'revolut_pay'
| 'sepa_credit_transfer'
| 'sepa_debit'
| 'sofort'
Expand Down

0 comments on commit 50c21ce

Please sign in to comment.