stripe 8.195.0 → 8.199.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 +24 -0
- package/VERSION +1 -1
- package/lib/resources/PaymentLinks.js +37 -0
- package/lib/resources.js +1 -0
- package/package.json +1 -1
- package/types/2020-08-27/BillingPortal/Configurations.d.ts +2 -2
- package/types/2020-08-27/Charges.d.ts +3 -1
- package/types/2020-08-27/Checkout/Sessions.d.ts +33 -4
- package/types/2020-08-27/InvoiceLineItems.d.ts +1 -1
- package/types/2020-08-27/Invoices.d.ts +6 -1
- package/types/2020-08-27/PaymentIntents.d.ts +110 -0
- package/types/2020-08-27/PaymentLinks.d.ts +1294 -0
- package/types/2020-08-27/PaymentMethods.d.ts +1 -1
- package/types/2020-08-27/Subscriptions.d.ts +75 -0
- package/types/2020-08-27/index.d.ts +2 -0
- package/types/crypto/crypto.d.ts +7 -1
- package/types/net/net.d.ts +21 -4
- package/types/test/typescriptTest.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 8.199.0 - 2022-01-20
|
|
4
|
+
* [#1332](https://github.com/stripe/stripe-node/pull/1332) API Updates
|
|
5
|
+
* Add support for new resource `PaymentLink`
|
|
6
|
+
* Add support for `payment_link` on `Checkout.Session`
|
|
7
|
+
|
|
8
|
+
## 8.198.0 - 2022-01-19
|
|
9
|
+
* [#1331](https://github.com/stripe/stripe-node/pull/1331) API Updates
|
|
10
|
+
* Change type of `Charge.status` from `string` to `enum('failed'|'pending'|'succeeded')`
|
|
11
|
+
* Add support for `bacs_debit` and `eps` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
|
|
12
|
+
* Add support for `image_url_png` and `image_url_svg` on `PaymentIntent.next_action.wechat_pay_display_qr_code`
|
|
13
|
+
|
|
14
|
+
## 8.197.0 - 2022-01-13
|
|
15
|
+
* [#1329](https://github.com/stripe/stripe-node/pull/1329) API Updates
|
|
16
|
+
* Add support for `paid_out_of_band` on `Invoice`
|
|
17
|
+
|
|
18
|
+
## 8.196.0 - 2022-01-12
|
|
19
|
+
* [#1328](https://github.com/stripe/stripe-node/pull/1328) API Updates
|
|
20
|
+
* Add support for `customer_creation` on `CheckoutSessionCreateParams` and `Checkout.Session`
|
|
21
|
+
* Add support for `fpx` and `grabpay` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
|
|
22
|
+
* [#1315](https://github.com/stripe/stripe-node/pull/1315) API Updates
|
|
23
|
+
* Add support for `mandate_options` on `SubscriptionCreateParams.payment_settings.payment_method_options.card`, `SubscriptionUpdateParams.payment_settings.payment_method_options.card`, and `Subscription.payment_settings.payment_method_options.card`
|
|
24
|
+
* [#1327](https://github.com/stripe/stripe-node/pull/1327) Remove DOM type references.
|
|
25
|
+
* [#1325](https://github.com/stripe/stripe-node/pull/1325) Add comment documenting makeRequest#headers type.
|
|
26
|
+
|
|
3
27
|
## 8.195.0 - 2021-12-22
|
|
4
28
|
* [#1314](https://github.com/stripe/stripe-node/pull/1314) API Updates
|
|
5
29
|
* Add support for `au_becs_debit` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
8.
|
|
1
|
+
8.199.0
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
const StripeResource = require('../StripeResource');
|
|
6
|
+
const stripeMethod = StripeResource.method;
|
|
7
|
+
|
|
8
|
+
module.exports = StripeResource.extend({
|
|
9
|
+
path: 'payment_links',
|
|
10
|
+
|
|
11
|
+
create: stripeMethod({
|
|
12
|
+
method: 'POST',
|
|
13
|
+
path: '',
|
|
14
|
+
}),
|
|
15
|
+
|
|
16
|
+
retrieve: stripeMethod({
|
|
17
|
+
method: 'GET',
|
|
18
|
+
path: '/{paymentLink}',
|
|
19
|
+
}),
|
|
20
|
+
|
|
21
|
+
update: stripeMethod({
|
|
22
|
+
method: 'POST',
|
|
23
|
+
path: '/{paymentLink}',
|
|
24
|
+
}),
|
|
25
|
+
|
|
26
|
+
list: stripeMethod({
|
|
27
|
+
method: 'GET',
|
|
28
|
+
path: '',
|
|
29
|
+
methodType: 'list',
|
|
30
|
+
}),
|
|
31
|
+
|
|
32
|
+
listLineItems: stripeMethod({
|
|
33
|
+
method: 'GET',
|
|
34
|
+
path: '/{paymentLink}/line_items',
|
|
35
|
+
methodType: 'list',
|
|
36
|
+
}),
|
|
37
|
+
});
|
package/lib/resources.js
CHANGED
|
@@ -32,6 +32,7 @@ module.exports = {
|
|
|
32
32
|
Orders: require('./resources/Orders'),
|
|
33
33
|
OrderReturns: require('./resources/OrderReturns'),
|
|
34
34
|
PaymentIntents: require('./resources/PaymentIntents'),
|
|
35
|
+
PaymentLinks: require('./resources/PaymentLinks'),
|
|
35
36
|
PaymentMethods: require('./resources/PaymentMethods'),
|
|
36
37
|
Payouts: require('./resources/Payouts'),
|
|
37
38
|
Plans: require('./resources/Plans'),
|
package/package.json
CHANGED
|
@@ -442,7 +442,7 @@ declare module 'stripe' {
|
|
|
442
442
|
|
|
443
443
|
interface Product {
|
|
444
444
|
/**
|
|
445
|
-
* The list of
|
|
445
|
+
* The list of price IDs for the product that a subscription can be updated to.
|
|
446
446
|
*/
|
|
447
447
|
prices: Array<string>;
|
|
448
448
|
|
|
@@ -678,7 +678,7 @@ declare module 'stripe' {
|
|
|
678
678
|
|
|
679
679
|
interface Product {
|
|
680
680
|
/**
|
|
681
|
-
* The list of
|
|
681
|
+
* The list of price IDs for the product that a subscription can be updated to.
|
|
682
682
|
*/
|
|
683
683
|
prices: Array<string>;
|
|
684
684
|
|
|
@@ -230,7 +230,7 @@ declare module 'stripe' {
|
|
|
230
230
|
/**
|
|
231
231
|
* The status of the payment is either `succeeded`, `pending`, or `failed`.
|
|
232
232
|
*/
|
|
233
|
-
status:
|
|
233
|
+
status: Charge.Status;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
|
|
@@ -1641,6 +1641,8 @@ declare module 'stripe' {
|
|
|
1641
1641
|
tracking_number?: string | null;
|
|
1642
1642
|
}
|
|
1643
1643
|
|
|
1644
|
+
type Status = 'failed' | 'pending' | 'succeeded';
|
|
1645
|
+
|
|
1644
1646
|
interface TransferData {
|
|
1645
1647
|
/**
|
|
1646
1648
|
* The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
|
@@ -81,6 +81,11 @@ declare module 'stripe' {
|
|
|
81
81
|
*/
|
|
82
82
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
|
|
86
|
+
*/
|
|
87
|
+
customer_creation: Session.CustomerCreation | null;
|
|
88
|
+
|
|
84
89
|
/**
|
|
85
90
|
* The customer details including the customer's tax exempt status and the customer's tax IDs. Only present on Sessions in `payment` or `subscription` mode.
|
|
86
91
|
*/
|
|
@@ -130,6 +135,11 @@ declare module 'stripe' {
|
|
|
130
135
|
*/
|
|
131
136
|
payment_intent: string | Stripe.PaymentIntent | null;
|
|
132
137
|
|
|
138
|
+
/**
|
|
139
|
+
* The ID of the Payment Link that created this Session.
|
|
140
|
+
*/
|
|
141
|
+
payment_link?: string | Stripe.PaymentLink | null;
|
|
142
|
+
|
|
133
143
|
/**
|
|
134
144
|
* Payment-method-specific configuration for the PaymentIntent or SetupIntent of this CheckoutSession.
|
|
135
145
|
*/
|
|
@@ -289,6 +299,8 @@ declare module 'stripe' {
|
|
|
289
299
|
promotions: 'auto' | null;
|
|
290
300
|
}
|
|
291
301
|
|
|
302
|
+
type CustomerCreation = 'always' | 'if_required';
|
|
303
|
+
|
|
292
304
|
interface CustomerDetails {
|
|
293
305
|
/**
|
|
294
306
|
* The email associated with the Customer, if one exists, on the Checkout Session at the time of checkout or at time of session expiry.
|
|
@@ -914,7 +926,7 @@ declare module 'stripe' {
|
|
|
914
926
|
* ID of an existing Customer, if one exists. In `payment` mode, the customer's most recent card
|
|
915
927
|
* payment method will be used to prefill the email, name, card details, and billing address
|
|
916
928
|
* on the Checkout page. In `subscription` mode, the customer's [default payment method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method)
|
|
917
|
-
* will be used if it's a card, and otherwise the most recent card will be used. A valid billing address
|
|
929
|
+
* will be used if it's a card, and otherwise the most recent card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer's card details.
|
|
918
930
|
*
|
|
919
931
|
* If the Customer already has a valid [email](https://stripe.com/docs/api/customers/object#customer_object-email) set, the email will be prefilled and not editable in Checkout.
|
|
920
932
|
* If the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.
|
|
@@ -925,6 +937,18 @@ declare module 'stripe' {
|
|
|
925
937
|
*/
|
|
926
938
|
customer?: string;
|
|
927
939
|
|
|
940
|
+
/**
|
|
941
|
+
* Configure whether a Checkout Session creates a [Customer](https://stripe.com/docs/api/customers) during Session confirmation.
|
|
942
|
+
*
|
|
943
|
+
* When a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout
|
|
944
|
+
* with [customer_details](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-customer_details).
|
|
945
|
+
*
|
|
946
|
+
* Sessions that do not create Customers will instead create [Guest Customers](https://support.stripe.com/questions/guest-customer-faq) in the Dashboard.
|
|
947
|
+
*
|
|
948
|
+
* Can only be set in `payment` and `setup` mode.
|
|
949
|
+
*/
|
|
950
|
+
customer_creation?: SessionCreateParams.CustomerCreation;
|
|
951
|
+
|
|
928
952
|
/**
|
|
929
953
|
* If provided, this value will be used when the Customer object is created.
|
|
930
954
|
* If not provided, customers will be asked to enter their email address.
|
|
@@ -1089,6 +1113,8 @@ declare module 'stripe' {
|
|
|
1089
1113
|
promotions?: 'auto';
|
|
1090
1114
|
}
|
|
1091
1115
|
|
|
1116
|
+
type CustomerCreation = 'always' | 'if_required';
|
|
1117
|
+
|
|
1092
1118
|
interface CustomerUpdate {
|
|
1093
1119
|
/**
|
|
1094
1120
|
* Describes whether Checkout saves the billing address onto `customer.address`.
|
|
@@ -1383,9 +1409,12 @@ declare module 'stripe' {
|
|
|
1383
1409
|
* customer that their payment details will be saved and used for future
|
|
1384
1410
|
* payments.
|
|
1385
1411
|
*
|
|
1386
|
-
*
|
|
1387
|
-
*
|
|
1388
|
-
*
|
|
1412
|
+
* If a Customer has been provided or Checkout creates a new Customer,
|
|
1413
|
+
* Checkout will attach the payment method to the Customer.
|
|
1414
|
+
*
|
|
1415
|
+
* If Checkout does not create a Customer, the payment method is not attached
|
|
1416
|
+
* to a Customer. To reuse the payment method, you can retrieve it from the
|
|
1417
|
+
* Checkout Session's PaymentIntent.
|
|
1389
1418
|
*
|
|
1390
1419
|
* When processing card payments, Checkout also uses `setup_future_usage`
|
|
1391
1420
|
* to dynamically optimize your payment flow and comply with regional
|
|
@@ -183,7 +183,7 @@ declare module 'stripe' {
|
|
|
183
183
|
customer_details?: InvoiceLineItemListUpcomingParams.CustomerDetails;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead.
|
|
186
|
+
* The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This only works for coupons directly applied to the invoice. To apply a coupon to a subscription, you must use the `coupon` parameter instead. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead.
|
|
187
187
|
*/
|
|
188
188
|
discounts?: Stripe.Emptyable<
|
|
189
189
|
Array<InvoiceLineItemListUpcomingParams.Discount>
|
|
@@ -239,6 +239,11 @@ declare module 'stripe' {
|
|
|
239
239
|
*/
|
|
240
240
|
paid: boolean;
|
|
241
241
|
|
|
242
|
+
/**
|
|
243
|
+
* Returns true if the invoice was manually marked paid, returns false if the invoice hasn't been paid yet or was paid on Stripe.
|
|
244
|
+
*/
|
|
245
|
+
paid_out_of_band: boolean;
|
|
246
|
+
|
|
242
247
|
/**
|
|
243
248
|
* The PaymentIntent associated with this invoice. The PaymentIntent is generated when the invoice is finalized, and can then be used to pay the invoice. Note that voiding an invoice will cancel the PaymentIntent.
|
|
244
249
|
*/
|
|
@@ -1414,7 +1419,7 @@ declare module 'stripe' {
|
|
|
1414
1419
|
customer_details?: InvoiceRetrieveUpcomingParams.CustomerDetails;
|
|
1415
1420
|
|
|
1416
1421
|
/**
|
|
1417
|
-
* The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead.
|
|
1422
|
+
* The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This only works for coupons directly applied to the invoice. To apply a coupon to a subscription, you must use the `coupon` parameter instead. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead.
|
|
1418
1423
|
*/
|
|
1419
1424
|
discounts?: Stripe.Emptyable<
|
|
1420
1425
|
Array<InvoiceRetrieveUpcomingParams.Discount>
|
|
@@ -462,6 +462,16 @@ declare module 'stripe' {
|
|
|
462
462
|
* The base64 image data for a pre-generated QR code
|
|
463
463
|
*/
|
|
464
464
|
image_data_url: string;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* The image_url_png string used to render QR code, can be used as <img src="…" />
|
|
468
|
+
*/
|
|
469
|
+
image_url_png: string;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* The image_url_svg string used to render QR code, can be used as <img src="…" />
|
|
473
|
+
*/
|
|
474
|
+
image_url_svg: string;
|
|
465
475
|
}
|
|
466
476
|
|
|
467
477
|
interface WechatPayRedirectToAndroidApp {
|
|
@@ -518,6 +528,8 @@ declare module 'stripe' {
|
|
|
518
528
|
|
|
519
529
|
au_becs_debit?: PaymentMethodOptions.AuBecsDebit;
|
|
520
530
|
|
|
531
|
+
bacs_debit?: PaymentMethodOptions.BacsDebit;
|
|
532
|
+
|
|
521
533
|
bancontact?: PaymentMethodOptions.Bancontact;
|
|
522
534
|
|
|
523
535
|
boleto?: PaymentMethodOptions.Boleto;
|
|
@@ -526,8 +538,14 @@ declare module 'stripe' {
|
|
|
526
538
|
|
|
527
539
|
card_present?: PaymentMethodOptions.CardPresent;
|
|
528
540
|
|
|
541
|
+
eps?: PaymentMethodOptions.Eps;
|
|
542
|
+
|
|
543
|
+
fpx?: PaymentMethodOptions.Fpx;
|
|
544
|
+
|
|
529
545
|
giropay?: PaymentMethodOptions.Giropay;
|
|
530
546
|
|
|
547
|
+
grabpay?: PaymentMethodOptions.Grabpay;
|
|
548
|
+
|
|
531
549
|
ideal?: PaymentMethodOptions.Ideal;
|
|
532
550
|
|
|
533
551
|
interac_present?: PaymentMethodOptions.InteracPresent;
|
|
@@ -599,6 +617,8 @@ declare module 'stripe' {
|
|
|
599
617
|
|
|
600
618
|
interface AuBecsDebit {}
|
|
601
619
|
|
|
620
|
+
interface BacsDebit {}
|
|
621
|
+
|
|
602
622
|
interface Bancontact {
|
|
603
623
|
/**
|
|
604
624
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -720,8 +740,14 @@ declare module 'stripe' {
|
|
|
720
740
|
|
|
721
741
|
interface CardPresent {}
|
|
722
742
|
|
|
743
|
+
interface Eps {}
|
|
744
|
+
|
|
745
|
+
interface Fpx {}
|
|
746
|
+
|
|
723
747
|
interface Giropay {}
|
|
724
748
|
|
|
749
|
+
interface Grabpay {}
|
|
750
|
+
|
|
725
751
|
interface Ideal {}
|
|
726
752
|
|
|
727
753
|
interface InteracPresent {}
|
|
@@ -1498,6 +1524,11 @@ declare module 'stripe' {
|
|
|
1498
1524
|
*/
|
|
1499
1525
|
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
|
|
1500
1526
|
|
|
1527
|
+
/**
|
|
1528
|
+
* If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
|
|
1529
|
+
*/
|
|
1530
|
+
bacs_debit?: Stripe.Emptyable<PaymentMethodOptions.BacsDebit>;
|
|
1531
|
+
|
|
1501
1532
|
/**
|
|
1502
1533
|
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
|
1503
1534
|
*/
|
|
@@ -1518,11 +1549,26 @@ declare module 'stripe' {
|
|
|
1518
1549
|
*/
|
|
1519
1550
|
card_present?: Stripe.Emptyable<PaymentMethodOptions.CardPresent>;
|
|
1520
1551
|
|
|
1552
|
+
/**
|
|
1553
|
+
* If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
|
|
1554
|
+
*/
|
|
1555
|
+
eps?: Stripe.Emptyable<PaymentMethodOptions.Eps>;
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
|
|
1559
|
+
*/
|
|
1560
|
+
fpx?: Stripe.Emptyable<PaymentMethodOptions.Fpx>;
|
|
1561
|
+
|
|
1521
1562
|
/**
|
|
1522
1563
|
* If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
1523
1564
|
*/
|
|
1524
1565
|
giropay?: Stripe.Emptyable<PaymentMethodOptions.Giropay>;
|
|
1525
1566
|
|
|
1567
|
+
/**
|
|
1568
|
+
* If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
1569
|
+
*/
|
|
1570
|
+
grabpay?: Stripe.Emptyable<PaymentMethodOptions.Grabpay>;
|
|
1571
|
+
|
|
1526
1572
|
/**
|
|
1527
1573
|
* If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
1528
1574
|
*/
|
|
@@ -1623,6 +1669,8 @@ declare module 'stripe' {
|
|
|
1623
1669
|
|
|
1624
1670
|
interface AuBecsDebit {}
|
|
1625
1671
|
|
|
1672
|
+
interface BacsDebit {}
|
|
1673
|
+
|
|
1626
1674
|
interface Bancontact {
|
|
1627
1675
|
/**
|
|
1628
1676
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -1738,8 +1786,14 @@ declare module 'stripe' {
|
|
|
1738
1786
|
|
|
1739
1787
|
interface CardPresent {}
|
|
1740
1788
|
|
|
1789
|
+
interface Eps {}
|
|
1790
|
+
|
|
1791
|
+
interface Fpx {}
|
|
1792
|
+
|
|
1741
1793
|
interface Giropay {}
|
|
1742
1794
|
|
|
1795
|
+
interface Grabpay {}
|
|
1796
|
+
|
|
1743
1797
|
interface Ideal {}
|
|
1744
1798
|
|
|
1745
1799
|
interface InteracPresent {}
|
|
@@ -2449,6 +2503,11 @@ declare module 'stripe' {
|
|
|
2449
2503
|
*/
|
|
2450
2504
|
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
|
|
2451
2505
|
|
|
2506
|
+
/**
|
|
2507
|
+
* If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
|
|
2508
|
+
*/
|
|
2509
|
+
bacs_debit?: Stripe.Emptyable<PaymentMethodOptions.BacsDebit>;
|
|
2510
|
+
|
|
2452
2511
|
/**
|
|
2453
2512
|
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
|
2454
2513
|
*/
|
|
@@ -2469,11 +2528,26 @@ declare module 'stripe' {
|
|
|
2469
2528
|
*/
|
|
2470
2529
|
card_present?: Stripe.Emptyable<PaymentMethodOptions.CardPresent>;
|
|
2471
2530
|
|
|
2531
|
+
/**
|
|
2532
|
+
* If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
|
|
2533
|
+
*/
|
|
2534
|
+
eps?: Stripe.Emptyable<PaymentMethodOptions.Eps>;
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
|
|
2538
|
+
*/
|
|
2539
|
+
fpx?: Stripe.Emptyable<PaymentMethodOptions.Fpx>;
|
|
2540
|
+
|
|
2472
2541
|
/**
|
|
2473
2542
|
* If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
2474
2543
|
*/
|
|
2475
2544
|
giropay?: Stripe.Emptyable<PaymentMethodOptions.Giropay>;
|
|
2476
2545
|
|
|
2546
|
+
/**
|
|
2547
|
+
* If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
2548
|
+
*/
|
|
2549
|
+
grabpay?: Stripe.Emptyable<PaymentMethodOptions.Grabpay>;
|
|
2550
|
+
|
|
2477
2551
|
/**
|
|
2478
2552
|
* If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
2479
2553
|
*/
|
|
@@ -2574,6 +2648,8 @@ declare module 'stripe' {
|
|
|
2574
2648
|
|
|
2575
2649
|
interface AuBecsDebit {}
|
|
2576
2650
|
|
|
2651
|
+
interface BacsDebit {}
|
|
2652
|
+
|
|
2577
2653
|
interface Bancontact {
|
|
2578
2654
|
/**
|
|
2579
2655
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -2689,8 +2765,14 @@ declare module 'stripe' {
|
|
|
2689
2765
|
|
|
2690
2766
|
interface CardPresent {}
|
|
2691
2767
|
|
|
2768
|
+
interface Eps {}
|
|
2769
|
+
|
|
2770
|
+
interface Fpx {}
|
|
2771
|
+
|
|
2692
2772
|
interface Giropay {}
|
|
2693
2773
|
|
|
2774
|
+
interface Grabpay {}
|
|
2775
|
+
|
|
2694
2776
|
interface Ideal {}
|
|
2695
2777
|
|
|
2696
2778
|
interface InteracPresent {}
|
|
@@ -3514,6 +3596,11 @@ declare module 'stripe' {
|
|
|
3514
3596
|
*/
|
|
3515
3597
|
au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
|
|
3516
3598
|
|
|
3599
|
+
/**
|
|
3600
|
+
* If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
|
|
3601
|
+
*/
|
|
3602
|
+
bacs_debit?: Stripe.Emptyable<PaymentMethodOptions.BacsDebit>;
|
|
3603
|
+
|
|
3517
3604
|
/**
|
|
3518
3605
|
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
|
3519
3606
|
*/
|
|
@@ -3534,11 +3621,26 @@ declare module 'stripe' {
|
|
|
3534
3621
|
*/
|
|
3535
3622
|
card_present?: Stripe.Emptyable<PaymentMethodOptions.CardPresent>;
|
|
3536
3623
|
|
|
3624
|
+
/**
|
|
3625
|
+
* If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
|
|
3626
|
+
*/
|
|
3627
|
+
eps?: Stripe.Emptyable<PaymentMethodOptions.Eps>;
|
|
3628
|
+
|
|
3629
|
+
/**
|
|
3630
|
+
* If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
|
|
3631
|
+
*/
|
|
3632
|
+
fpx?: Stripe.Emptyable<PaymentMethodOptions.Fpx>;
|
|
3633
|
+
|
|
3537
3634
|
/**
|
|
3538
3635
|
* If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
3539
3636
|
*/
|
|
3540
3637
|
giropay?: Stripe.Emptyable<PaymentMethodOptions.Giropay>;
|
|
3541
3638
|
|
|
3639
|
+
/**
|
|
3640
|
+
* If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
3641
|
+
*/
|
|
3642
|
+
grabpay?: Stripe.Emptyable<PaymentMethodOptions.Grabpay>;
|
|
3643
|
+
|
|
3542
3644
|
/**
|
|
3543
3645
|
* If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
3544
3646
|
*/
|
|
@@ -3639,6 +3741,8 @@ declare module 'stripe' {
|
|
|
3639
3741
|
|
|
3640
3742
|
interface AuBecsDebit {}
|
|
3641
3743
|
|
|
3744
|
+
interface BacsDebit {}
|
|
3745
|
+
|
|
3642
3746
|
interface Bancontact {
|
|
3643
3747
|
/**
|
|
3644
3748
|
* Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
@@ -3754,8 +3858,14 @@ declare module 'stripe' {
|
|
|
3754
3858
|
|
|
3755
3859
|
interface CardPresent {}
|
|
3756
3860
|
|
|
3861
|
+
interface Eps {}
|
|
3862
|
+
|
|
3863
|
+
interface Fpx {}
|
|
3864
|
+
|
|
3757
3865
|
interface Giropay {}
|
|
3758
3866
|
|
|
3867
|
+
interface Grabpay {}
|
|
3868
|
+
|
|
3759
3869
|
interface Ideal {}
|
|
3760
3870
|
|
|
3761
3871
|
interface InteracPresent {}
|