Skip to content

Commit

Permalink
Codegen for openapi v214
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe committed Dec 15, 2022
1 parent 0b40f26 commit 31e5311
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v213
v214
2 changes: 1 addition & 1 deletion types/Checkout/SessionsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ declare module 'stripe' {
* When a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout
* with [customer_details](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-customer_details).
*
* Sessions that don't create Customers instead create [Guest Customers](https://support.stripe.com/questions/guest-customer-faq)
* Sessions that don't create Customers instead are grouped by [guest customers](https://stripe.com/docs/payments/checkout/guest-customers)
* in the Dashboard. Promotion codes limited to first time customers will return invalid for these Sessions.
*
* Can only be set in `payment` and `setup` mode.
Expand Down
3 changes: 2 additions & 1 deletion types/CustomerBalanceTransactions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ declare module 'stripe' {
metadata: Stripe.Metadata | null;

/**
* Transaction type: `adjustment`, `applied_to_invoice`, `credit_note`, `initial`, `invoice_too_large`, `invoice_too_small`, `unspent_receiver_credit`, or `unapplied_from_invoice`. See the [Customer Balance page](https://stripe.com/docs/billing/customer/balance#types) to learn more about transaction types.
* Transaction type: `adjustment`, `applied_to_invoice`, `credit_note`, `initial`, `invoice_overpaid`, `invoice_too_large`, `invoice_too_small`, `unspent_receiver_credit`, or `unapplied_from_invoice`. See the [Customer Balance page](https://stripe.com/docs/billing/customer/balance#types) to learn more about transaction types.
*/
type: CustomerBalanceTransaction.Type;
}
Expand All @@ -83,6 +83,7 @@ declare module 'stripe' {
| 'applied_to_invoice'
| 'credit_note'
| 'initial'
| 'invoice_overpaid'
| 'invoice_too_large'
| 'invoice_too_small'
| 'migration'
Expand Down
4 changes: 2 additions & 2 deletions types/PaymentIntentsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5648,11 +5648,11 @@ declare module 'stripe' {
): Promise<Stripe.Response<Stripe.PaymentIntent>>;

/**
* A PaymentIntent object can be canceled when it is in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action, or processing.
* A PaymentIntent object can be canceled when it is in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, [in rare cases](https://stripe.com/docs/payments/intents), processing.
*
* Once canceled, no additional charges will be made by the PaymentIntent and any operations on the PaymentIntent will fail with an error. For PaymentIntents with status='requires_capture', the remaining amount_capturable will automatically be refunded.
*
* You cannot cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead
* You cannot cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
*/
cancel(
id: string,
Expand Down

0 comments on commit 31e5311

Please sign in to comment.