diff --git a/types/2020-08-27/Cards.d.ts b/types/2020-08-27/Cards.d.ts index 45426a525d..239f699a78 100644 --- a/types/2020-08-27/Cards.d.ts +++ b/types/2020-08-27/Cards.d.ts @@ -160,6 +160,11 @@ declare module 'stripe' { */ recipient?: string | Stripe.Recipient | null; + /** + * For external accounts, possible values are `new` and `errored`. If a transfer fails, the status is set to `errored` and transfers are stopped until account details are updated. + */ + status?: string | null; + /** * If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null. */ diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts index 08abbf4d3f..17b94bf023 100644 --- a/types/2020-08-27/PaymentIntents.d.ts +++ b/types/2020-08-27/PaymentIntents.d.ts @@ -724,7 +724,7 @@ declare module 'stripe' { interface AfterpayClearpay { /** - * Order identifier shown to the merchant in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about + * Order identifier shown to the customer in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about * the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes. */ reference: string | null; @@ -5471,6 +5471,8 @@ declare module 'stripe' { * 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. * * 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 */ cancel( id: string,