stripe 8.209.0 → 8.210.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 8.210.0 - 2022-03-18
4
+ * [#1372](https://github.com/stripe/stripe-node/pull/1372) API Updates
5
+ * Add support for `status` on `Card`
6
+
3
7
  ## 8.209.0 - 2022-03-11
4
8
  * [#1368](https://github.com/stripe/stripe-node/pull/1368) API Updates
5
9
  * Add support for `mandate` on `Charge.payment_method_details.card`
package/VERSION CHANGED
@@ -1 +1 @@
1
- 8.209.0
1
+ 8.210.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "8.209.0",
3
+ "version": "8.210.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -160,6 +160,11 @@ declare module 'stripe' {
160
160
  */
161
161
  recipient?: string | Stripe.Recipient | null;
162
162
 
163
+ /**
164
+ * 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.
165
+ */
166
+ status?: string | null;
167
+
163
168
  /**
164
169
  * 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.
165
170
  */
@@ -724,7 +724,7 @@ declare module 'stripe' {
724
724
 
725
725
  interface AfterpayClearpay {
726
726
  /**
727
- * 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
727
+ * 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
728
728
  * the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.
729
729
  */
730
730
  reference: string | null;
@@ -5471,6 +5471,8 @@ declare module 'stripe' {
5471
5471
  * 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.
5472
5472
  *
5473
5473
  * 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.
5474
+ *
5475
+ * You cannot cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead
5474
5476
  */
5475
5477
  cancel(
5476
5478
  id: string,