stripe 8.194.0 → 8.195.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 +11 -0
- package/VERSION +1 -1
- package/package.json +1 -1
- package/types/2020-08-27/Charges.d.ts +1 -1
- package/types/2020-08-27/Invoices.d.ts +1 -1
- package/types/2020-08-27/Issuing/Cardholders.d.ts +1 -1
- package/types/2020-08-27/PaymentIntents.d.ts +52 -0
- package/types/2020-08-27/SetupAttempts.d.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 8.195.0 - 2021-12-22
|
|
4
|
+
* [#1314](https://github.com/stripe/stripe-node/pull/1314) API Updates
|
|
5
|
+
* Add support for `au_becs_debit` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
|
|
6
|
+
* Change type of `PaymentIntent.processing.type` from `string` to `literal('card')`. This is not considered a breaking change as the field was added in the same release.
|
|
7
|
+
* [#1313](https://github.com/stripe/stripe-node/pull/1313) API Updates
|
|
8
|
+
* Add support for new values `en-FR`, `es-US`, and `fr-FR` on enums `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`
|
|
9
|
+
* Add support for `boleto` on `SetupAttempt.payment_method_details`
|
|
10
|
+
|
|
11
|
+
* [#1312](https://github.com/stripe/stripe-node/pull/1312) API Updates
|
|
12
|
+
* Add support for `processing` on `PaymentIntent`
|
|
13
|
+
|
|
3
14
|
## 8.194.0 - 2021-12-15
|
|
4
15
|
* [#1309](https://github.com/stripe/stripe-node/pull/1309) API Updates
|
|
5
16
|
* Add support for new resource `PaymentIntentTypeSpecificPaymentMethodOptionsClient`
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
8.
|
|
1
|
+
8.195.0
|
package/package.json
CHANGED
|
@@ -1419,7 +1419,7 @@ declare module 'stripe' {
|
|
|
1419
1419
|
|
|
1420
1420
|
/**
|
|
1421
1421
|
* Preferred language of the Klarna authorization page that the customer is redirected to.
|
|
1422
|
-
* Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `fr-FR`, or `en-FR`
|
|
1422
|
+
* Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, or `en-FR`
|
|
1423
1423
|
*/
|
|
1424
1424
|
preferred_locale: string | null;
|
|
1425
1425
|
}
|
|
@@ -1341,7 +1341,7 @@ declare module 'stripe' {
|
|
|
1341
1341
|
|
|
1342
1342
|
interface InvoiceFinalizeInvoiceParams {
|
|
1343
1343
|
/**
|
|
1344
|
-
* Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/
|
|
1344
|
+
* Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/invoicing/automatic-charging) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action.
|
|
1345
1345
|
*/
|
|
1346
1346
|
auto_advance?: boolean;
|
|
1347
1347
|
|
|
@@ -1109,7 +1109,7 @@ declare module 'stripe' {
|
|
|
1109
1109
|
billing: CardholderCreateParams.Billing;
|
|
1110
1110
|
|
|
1111
1111
|
/**
|
|
1112
|
-
* The cardholder's name. This will be printed on cards issued to them.
|
|
1112
|
+
* The cardholder's name. This will be printed on cards issued to them. The maximum length of this field is 24 characters.
|
|
1113
1113
|
*/
|
|
1114
1114
|
name: string;
|
|
1115
1115
|
|
|
@@ -146,6 +146,11 @@ declare module 'stripe' {
|
|
|
146
146
|
*/
|
|
147
147
|
payment_method_types: Array<string>;
|
|
148
148
|
|
|
149
|
+
/**
|
|
150
|
+
* If present, this property tells you about the processing state of the payment.
|
|
151
|
+
*/
|
|
152
|
+
processing: PaymentIntent.Processing | null;
|
|
153
|
+
|
|
149
154
|
/**
|
|
150
155
|
* Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
151
156
|
*/
|
|
@@ -511,6 +516,8 @@ declare module 'stripe' {
|
|
|
511
516
|
|
|
512
517
|
alipay?: PaymentMethodOptions.Alipay;
|
|
513
518
|
|
|
519
|
+
au_becs_debit?: PaymentMethodOptions.AuBecsDebit;
|
|
520
|
+
|
|
514
521
|
bancontact?: PaymentMethodOptions.Bancontact;
|
|
515
522
|
|
|
516
523
|
boleto?: PaymentMethodOptions.Boleto;
|
|
@@ -590,6 +597,8 @@ declare module 'stripe' {
|
|
|
590
597
|
|
|
591
598
|
interface Alipay {}
|
|
592
599
|
|
|
600
|
+
interface AuBecsDebit {}
|
|
601
|
+
|
|
593
602
|
interface Bancontact {
|
|
594
603
|
/**
|
|
595
604
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -776,6 +785,19 @@ declare module 'stripe' {
|
|
|
776
785
|
}
|
|
777
786
|
}
|
|
778
787
|
|
|
788
|
+
interface Processing {
|
|
789
|
+
card?: Processing.Card;
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Type of the payment method for which payment is in `processing` state, one of `card`.
|
|
793
|
+
*/
|
|
794
|
+
type: 'card';
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
namespace Processing {
|
|
798
|
+
interface Card {}
|
|
799
|
+
}
|
|
800
|
+
|
|
779
801
|
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
780
802
|
|
|
781
803
|
interface Shipping {
|
|
@@ -1471,6 +1493,11 @@ declare module 'stripe' {
|
|
|
1471
1493
|
*/
|
|
1472
1494
|
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;
|
|
1473
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
|
|
1498
|
+
*/
|
|
1499
|
+
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
|
|
1500
|
+
|
|
1474
1501
|
/**
|
|
1475
1502
|
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
|
1476
1503
|
*/
|
|
@@ -1594,6 +1621,8 @@ declare module 'stripe' {
|
|
|
1594
1621
|
|
|
1595
1622
|
interface Alipay {}
|
|
1596
1623
|
|
|
1624
|
+
interface AuBecsDebit {}
|
|
1625
|
+
|
|
1597
1626
|
interface Bancontact {
|
|
1598
1627
|
/**
|
|
1599
1628
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -1733,6 +1762,7 @@ declare module 'stripe' {
|
|
|
1733
1762
|
| 'en-DK'
|
|
1734
1763
|
| 'en-ES'
|
|
1735
1764
|
| 'en-FI'
|
|
1765
|
+
| 'en-FR'
|
|
1736
1766
|
| 'en-GB'
|
|
1737
1767
|
| 'en-IE'
|
|
1738
1768
|
| 'en-IT'
|
|
@@ -1741,8 +1771,10 @@ declare module 'stripe' {
|
|
|
1741
1771
|
| 'en-SE'
|
|
1742
1772
|
| 'en-US'
|
|
1743
1773
|
| 'es-ES'
|
|
1774
|
+
| 'es-US'
|
|
1744
1775
|
| 'fi-FI'
|
|
1745
1776
|
| 'fr-BE'
|
|
1777
|
+
| 'fr-FR'
|
|
1746
1778
|
| 'it-IT'
|
|
1747
1779
|
| 'nb-NO'
|
|
1748
1780
|
| 'nl-BE'
|
|
@@ -2412,6 +2444,11 @@ declare module 'stripe' {
|
|
|
2412
2444
|
*/
|
|
2413
2445
|
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;
|
|
2414
2446
|
|
|
2447
|
+
/**
|
|
2448
|
+
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
|
|
2449
|
+
*/
|
|
2450
|
+
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
|
|
2451
|
+
|
|
2415
2452
|
/**
|
|
2416
2453
|
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
|
2417
2454
|
*/
|
|
@@ -2535,6 +2572,8 @@ declare module 'stripe' {
|
|
|
2535
2572
|
|
|
2536
2573
|
interface Alipay {}
|
|
2537
2574
|
|
|
2575
|
+
interface AuBecsDebit {}
|
|
2576
|
+
|
|
2538
2577
|
interface Bancontact {
|
|
2539
2578
|
/**
|
|
2540
2579
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -2674,6 +2713,7 @@ declare module 'stripe' {
|
|
|
2674
2713
|
| 'en-DK'
|
|
2675
2714
|
| 'en-ES'
|
|
2676
2715
|
| 'en-FI'
|
|
2716
|
+
| 'en-FR'
|
|
2677
2717
|
| 'en-GB'
|
|
2678
2718
|
| 'en-IE'
|
|
2679
2719
|
| 'en-IT'
|
|
@@ -2682,8 +2722,10 @@ declare module 'stripe' {
|
|
|
2682
2722
|
| 'en-SE'
|
|
2683
2723
|
| 'en-US'
|
|
2684
2724
|
| 'es-ES'
|
|
2725
|
+
| 'es-US'
|
|
2685
2726
|
| 'fi-FI'
|
|
2686
2727
|
| 'fr-BE'
|
|
2728
|
+
| 'fr-FR'
|
|
2687
2729
|
| 'it-IT'
|
|
2688
2730
|
| 'nb-NO'
|
|
2689
2731
|
| 'nl-BE'
|
|
@@ -3467,6 +3509,11 @@ declare module 'stripe' {
|
|
|
3467
3509
|
*/
|
|
3468
3510
|
alipay?: Stripe.Emptyable<PaymentMethodOptions.Alipay>;
|
|
3469
3511
|
|
|
3512
|
+
/**
|
|
3513
|
+
* If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
|
|
3514
|
+
*/
|
|
3515
|
+
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
|
|
3516
|
+
|
|
3470
3517
|
/**
|
|
3471
3518
|
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
|
3472
3519
|
*/
|
|
@@ -3590,6 +3637,8 @@ declare module 'stripe' {
|
|
|
3590
3637
|
|
|
3591
3638
|
interface Alipay {}
|
|
3592
3639
|
|
|
3640
|
+
interface AuBecsDebit {}
|
|
3641
|
+
|
|
3593
3642
|
interface Bancontact {
|
|
3594
3643
|
/**
|
|
3595
3644
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -3729,6 +3778,7 @@ declare module 'stripe' {
|
|
|
3729
3778
|
| 'en-DK'
|
|
3730
3779
|
| 'en-ES'
|
|
3731
3780
|
| 'en-FI'
|
|
3781
|
+
| 'en-FR'
|
|
3732
3782
|
| 'en-GB'
|
|
3733
3783
|
| 'en-IE'
|
|
3734
3784
|
| 'en-IT'
|
|
@@ -3737,8 +3787,10 @@ declare module 'stripe' {
|
|
|
3737
3787
|
| 'en-SE'
|
|
3738
3788
|
| 'en-US'
|
|
3739
3789
|
| 'es-ES'
|
|
3790
|
+
| 'es-US'
|
|
3740
3791
|
| 'fi-FI'
|
|
3741
3792
|
| 'fr-BE'
|
|
3793
|
+
| 'fr-FR'
|
|
3742
3794
|
| 'it-IT'
|
|
3743
3795
|
| 'nb-NO'
|
|
3744
3796
|
| 'nl-BE'
|
|
@@ -79,6 +79,8 @@ declare module 'stripe' {
|
|
|
79
79
|
|
|
80
80
|
bancontact?: PaymentMethodDetails.Bancontact;
|
|
81
81
|
|
|
82
|
+
boleto?: PaymentMethodDetails.Boleto;
|
|
83
|
+
|
|
82
84
|
card?: PaymentMethodDetails.Card;
|
|
83
85
|
|
|
84
86
|
card_present?: PaymentMethodDetails.CardPresent;
|
|
@@ -150,6 +152,8 @@ declare module 'stripe' {
|
|
|
150
152
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
151
153
|
}
|
|
152
154
|
|
|
155
|
+
interface Boleto {}
|
|
156
|
+
|
|
153
157
|
interface Card {
|
|
154
158
|
/**
|
|
155
159
|
* Populated if this authorization used 3D Secure authentication.
|