Skip to content

Commit

Permalink
Codegen for openapi v160
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym-stripe committed Jun 23, 2022
1 parent 34b7ad5 commit 4eeff6a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v159
v160
14 changes: 14 additions & 0 deletions types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3557,6 +3557,11 @@ declare module 'stripe' {
*/
application_fee_amount?: Stripe.Emptyable<number>;

/**
* Controls when the funds will be captured from the customer's account.
*/
capture_method?: PaymentIntentUpdateParams.CaptureMethod;

/**
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
*/
Expand Down Expand Up @@ -3653,6 +3658,8 @@ declare module 'stripe' {
}

namespace PaymentIntentUpdateParams {
type CaptureMethod = 'automatic' | 'manual';

interface PaymentMethodData {
/**
* If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
Expand Down Expand Up @@ -5311,6 +5318,11 @@ declare module 'stripe' {
}

interface PaymentIntentConfirmParams {
/**
* Controls when the funds will be captured from the customer's account.
*/
capture_method?: PaymentIntentConfirmParams.CaptureMethod;

/**
* Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication).
*/
Expand Down Expand Up @@ -5397,6 +5409,8 @@ declare module 'stripe' {
}

namespace PaymentIntentConfirmParams {
type CaptureMethod = 'automatic' | 'manual';

interface MandateData1 {
/**
* This hash contains details about the customer acceptance of the Mandate.
Expand Down

0 comments on commit 4eeff6a

Please sign in to comment.