stripe 17.3.0-beta.1 → 17.4.0-beta.1
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 +55 -0
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/PaymentIntents.js +4 -0
- package/cjs/resources/V2/Core/EventDestinations.js +41 -0
- package/cjs/resources/V2/Core.js +2 -0
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/PaymentIntents.js +4 -0
- package/esm/resources/V2/Core/EventDestinations.js +38 -0
- package/esm/resources/V2/Core.js +2 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountSessionsResource.d.ts +12 -4
- package/types/Accounts.d.ts +28 -0
- package/types/AccountsResource.d.ts +83 -1
- package/types/Charges.d.ts +33 -0
- package/types/Checkout/Sessions.d.ts +75 -0
- package/types/Checkout/SessionsResource.d.ts +80 -0
- package/types/ConfirmationTokens.d.ts +17 -0
- package/types/CustomersResource.d.ts +1 -0
- package/types/Disputes.d.ts +3 -3
- package/types/EventTypes.d.ts +18 -0
- package/types/Events.d.ts +1 -0
- package/types/Invoices.d.ts +8 -1
- package/types/InvoicesResource.d.ts +30 -0
- package/types/PaymentIntents.d.ts +25 -1
- package/types/PaymentIntentsResource.d.ts +188 -0
- package/types/PaymentMethodConfigurations.d.ts +144 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +200 -0
- package/types/PaymentMethods.d.ts +17 -0
- package/types/PaymentMethodsResource.d.ts +18 -0
- package/types/QuotePreviewInvoices.d.ts +8 -1
- package/types/Refunds.d.ts +15 -4
- package/types/SetupAttempts.d.ts +28 -1
- package/types/SetupIntents.d.ts +0 -1
- package/types/SetupIntentsResource.d.ts +51 -0
- package/types/Subscriptions.d.ts +8 -0
- package/types/SubscriptionsResource.d.ts +20 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +17 -0
- package/types/V2/Core/EventDestinationsResource.d.ts +281 -0
- package/types/V2/Core/EventsResource.d.ts +1 -1
- package/types/V2/CoreResource.d.ts +1 -0
- package/types/V2/EventDestinations.d.ts +164 -0
- package/types/WebhookEndpointsResource.d.ts +4 -1
- package/types/index.d.ts +2 -0
|
@@ -1040,6 +1040,11 @@ declare module 'stripe' {
|
|
|
1040
1040
|
*/
|
|
1041
1041
|
grabpay?: PaymentMethodData.Grabpay;
|
|
1042
1042
|
|
|
1043
|
+
/**
|
|
1044
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1045
|
+
*/
|
|
1046
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
1047
|
+
|
|
1043
1048
|
/**
|
|
1044
1049
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1045
1050
|
*/
|
|
@@ -1387,6 +1392,17 @@ declare module 'stripe' {
|
|
|
1387
1392
|
|
|
1388
1393
|
interface Grabpay {}
|
|
1389
1394
|
|
|
1395
|
+
interface IdBankTransfer {
|
|
1396
|
+
/**
|
|
1397
|
+
* Bank where the account is held.
|
|
1398
|
+
*/
|
|
1399
|
+
bank?: IdBankTransfer.Bank;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
namespace IdBankTransfer {
|
|
1403
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1390
1406
|
interface Ideal {
|
|
1391
1407
|
/**
|
|
1392
1408
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -1615,6 +1631,7 @@ declare module 'stripe' {
|
|
|
1615
1631
|
| 'giropay'
|
|
1616
1632
|
| 'gopay'
|
|
1617
1633
|
| 'grabpay'
|
|
1634
|
+
| 'id_bank_transfer'
|
|
1618
1635
|
| 'ideal'
|
|
1619
1636
|
| 'kakao_pay'
|
|
1620
1637
|
| 'klarna'
|
|
@@ -1789,6 +1806,13 @@ declare module 'stripe' {
|
|
|
1789
1806
|
*/
|
|
1790
1807
|
grabpay?: Stripe.Emptyable<PaymentMethodOptions.Grabpay>;
|
|
1791
1808
|
|
|
1809
|
+
/**
|
|
1810
|
+
* If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
1811
|
+
*/
|
|
1812
|
+
id_bank_transfer?: Stripe.Emptyable<
|
|
1813
|
+
PaymentMethodOptions.IdBankTransfer
|
|
1814
|
+
>;
|
|
1815
|
+
|
|
1792
1816
|
/**
|
|
1793
1817
|
* If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
1794
1818
|
*/
|
|
@@ -2776,6 +2800,31 @@ declare module 'stripe' {
|
|
|
2776
2800
|
setup_future_usage?: 'none';
|
|
2777
2801
|
}
|
|
2778
2802
|
|
|
2803
|
+
interface IdBankTransfer {
|
|
2804
|
+
/**
|
|
2805
|
+
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
2806
|
+
*/
|
|
2807
|
+
expires_after?: number;
|
|
2808
|
+
|
|
2809
|
+
/**
|
|
2810
|
+
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2811
|
+
*/
|
|
2812
|
+
expires_at?: number;
|
|
2813
|
+
|
|
2814
|
+
/**
|
|
2815
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2816
|
+
*
|
|
2817
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2818
|
+
*
|
|
2819
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2820
|
+
*
|
|
2821
|
+
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
2822
|
+
*
|
|
2823
|
+
* If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2824
|
+
*/
|
|
2825
|
+
setup_future_usage?: 'none';
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2779
2828
|
interface Ideal {
|
|
2780
2829
|
/**
|
|
2781
2830
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -4746,6 +4795,11 @@ declare module 'stripe' {
|
|
|
4746
4795
|
*/
|
|
4747
4796
|
grabpay?: PaymentMethodData.Grabpay;
|
|
4748
4797
|
|
|
4798
|
+
/**
|
|
4799
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
4800
|
+
*/
|
|
4801
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
4802
|
+
|
|
4749
4803
|
/**
|
|
4750
4804
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
4751
4805
|
*/
|
|
@@ -5093,6 +5147,17 @@ declare module 'stripe' {
|
|
|
5093
5147
|
|
|
5094
5148
|
interface Grabpay {}
|
|
5095
5149
|
|
|
5150
|
+
interface IdBankTransfer {
|
|
5151
|
+
/**
|
|
5152
|
+
* Bank where the account is held.
|
|
5153
|
+
*/
|
|
5154
|
+
bank?: IdBankTransfer.Bank;
|
|
5155
|
+
}
|
|
5156
|
+
|
|
5157
|
+
namespace IdBankTransfer {
|
|
5158
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
5159
|
+
}
|
|
5160
|
+
|
|
5096
5161
|
interface Ideal {
|
|
5097
5162
|
/**
|
|
5098
5163
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -5321,6 +5386,7 @@ declare module 'stripe' {
|
|
|
5321
5386
|
| 'giropay'
|
|
5322
5387
|
| 'gopay'
|
|
5323
5388
|
| 'grabpay'
|
|
5389
|
+
| 'id_bank_transfer'
|
|
5324
5390
|
| 'ideal'
|
|
5325
5391
|
| 'kakao_pay'
|
|
5326
5392
|
| 'klarna'
|
|
@@ -5495,6 +5561,13 @@ declare module 'stripe' {
|
|
|
5495
5561
|
*/
|
|
5496
5562
|
grabpay?: Stripe.Emptyable<PaymentMethodOptions.Grabpay>;
|
|
5497
5563
|
|
|
5564
|
+
/**
|
|
5565
|
+
* If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
5566
|
+
*/
|
|
5567
|
+
id_bank_transfer?: Stripe.Emptyable<
|
|
5568
|
+
PaymentMethodOptions.IdBankTransfer
|
|
5569
|
+
>;
|
|
5570
|
+
|
|
5498
5571
|
/**
|
|
5499
5572
|
* If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
5500
5573
|
*/
|
|
@@ -6482,6 +6555,31 @@ declare module 'stripe' {
|
|
|
6482
6555
|
setup_future_usage?: 'none';
|
|
6483
6556
|
}
|
|
6484
6557
|
|
|
6558
|
+
interface IdBankTransfer {
|
|
6559
|
+
/**
|
|
6560
|
+
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
6561
|
+
*/
|
|
6562
|
+
expires_after?: number;
|
|
6563
|
+
|
|
6564
|
+
/**
|
|
6565
|
+
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
6566
|
+
*/
|
|
6567
|
+
expires_at?: number;
|
|
6568
|
+
|
|
6569
|
+
/**
|
|
6570
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
6571
|
+
*
|
|
6572
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
6573
|
+
*
|
|
6574
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
6575
|
+
*
|
|
6576
|
+
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
6577
|
+
*
|
|
6578
|
+
* If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
6579
|
+
*/
|
|
6580
|
+
setup_future_usage?: 'none';
|
|
6581
|
+
}
|
|
6582
|
+
|
|
6485
6583
|
interface Ideal {
|
|
6486
6584
|
/**
|
|
6487
6585
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -9207,6 +9305,11 @@ declare module 'stripe' {
|
|
|
9207
9305
|
*/
|
|
9208
9306
|
grabpay?: PaymentMethodData.Grabpay;
|
|
9209
9307
|
|
|
9308
|
+
/**
|
|
9309
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
9310
|
+
*/
|
|
9311
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
9312
|
+
|
|
9210
9313
|
/**
|
|
9211
9314
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
9212
9315
|
*/
|
|
@@ -9554,6 +9657,17 @@ declare module 'stripe' {
|
|
|
9554
9657
|
|
|
9555
9658
|
interface Grabpay {}
|
|
9556
9659
|
|
|
9660
|
+
interface IdBankTransfer {
|
|
9661
|
+
/**
|
|
9662
|
+
* Bank where the account is held.
|
|
9663
|
+
*/
|
|
9664
|
+
bank?: IdBankTransfer.Bank;
|
|
9665
|
+
}
|
|
9666
|
+
|
|
9667
|
+
namespace IdBankTransfer {
|
|
9668
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
9669
|
+
}
|
|
9670
|
+
|
|
9557
9671
|
interface Ideal {
|
|
9558
9672
|
/**
|
|
9559
9673
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -9782,6 +9896,7 @@ declare module 'stripe' {
|
|
|
9782
9896
|
| 'giropay'
|
|
9783
9897
|
| 'gopay'
|
|
9784
9898
|
| 'grabpay'
|
|
9899
|
+
| 'id_bank_transfer'
|
|
9785
9900
|
| 'ideal'
|
|
9786
9901
|
| 'kakao_pay'
|
|
9787
9902
|
| 'klarna'
|
|
@@ -9956,6 +10071,13 @@ declare module 'stripe' {
|
|
|
9956
10071
|
*/
|
|
9957
10072
|
grabpay?: Stripe.Emptyable<PaymentMethodOptions.Grabpay>;
|
|
9958
10073
|
|
|
10074
|
+
/**
|
|
10075
|
+
* If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
10076
|
+
*/
|
|
10077
|
+
id_bank_transfer?: Stripe.Emptyable<
|
|
10078
|
+
PaymentMethodOptions.IdBankTransfer
|
|
10079
|
+
>;
|
|
10080
|
+
|
|
9959
10081
|
/**
|
|
9960
10082
|
* If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
9961
10083
|
*/
|
|
@@ -10943,6 +11065,31 @@ declare module 'stripe' {
|
|
|
10943
11065
|
setup_future_usage?: 'none';
|
|
10944
11066
|
}
|
|
10945
11067
|
|
|
11068
|
+
interface IdBankTransfer {
|
|
11069
|
+
/**
|
|
11070
|
+
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
11071
|
+
*/
|
|
11072
|
+
expires_after?: number;
|
|
11073
|
+
|
|
11074
|
+
/**
|
|
11075
|
+
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
11076
|
+
*/
|
|
11077
|
+
expires_at?: number;
|
|
11078
|
+
|
|
11079
|
+
/**
|
|
11080
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
11081
|
+
*
|
|
11082
|
+
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
11083
|
+
*
|
|
11084
|
+
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
11085
|
+
*
|
|
11086
|
+
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
11087
|
+
*
|
|
11088
|
+
* If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
11089
|
+
*/
|
|
11090
|
+
setup_future_usage?: 'none';
|
|
11091
|
+
}
|
|
11092
|
+
|
|
10946
11093
|
interface Ideal {
|
|
10947
11094
|
/**
|
|
10948
11095
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -12109,6 +12256,38 @@ declare module 'stripe' {
|
|
|
12109
12256
|
page?: string;
|
|
12110
12257
|
}
|
|
12111
12258
|
|
|
12259
|
+
interface PaymentIntentTriggerActionParams {
|
|
12260
|
+
/**
|
|
12261
|
+
* The type of action to be simulated.
|
|
12262
|
+
*/
|
|
12263
|
+
type: PaymentIntentTriggerActionParams.Type;
|
|
12264
|
+
|
|
12265
|
+
/**
|
|
12266
|
+
* Specifies which fields in the response should be expanded.
|
|
12267
|
+
*/
|
|
12268
|
+
expand?: Array<string>;
|
|
12269
|
+
|
|
12270
|
+
/**
|
|
12271
|
+
* True to simulate success, false to simulate failure.
|
|
12272
|
+
*/
|
|
12273
|
+
scan_qr_code?: PaymentIntentTriggerActionParams.ScanQrCode;
|
|
12274
|
+
}
|
|
12275
|
+
|
|
12276
|
+
namespace PaymentIntentTriggerActionParams {
|
|
12277
|
+
interface ScanQrCode {
|
|
12278
|
+
/**
|
|
12279
|
+
* Whether the QR Code scan's payment should succeed or fail.
|
|
12280
|
+
*/
|
|
12281
|
+
result?: ScanQrCode.Result;
|
|
12282
|
+
}
|
|
12283
|
+
|
|
12284
|
+
namespace ScanQrCode {
|
|
12285
|
+
type Result = 'failure' | 'success';
|
|
12286
|
+
}
|
|
12287
|
+
|
|
12288
|
+
type Type = 'expire' | 'fund';
|
|
12289
|
+
}
|
|
12290
|
+
|
|
12112
12291
|
interface PaymentIntentVerifyMicrodepositsParams {
|
|
12113
12292
|
/**
|
|
12114
12293
|
* Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
|
|
@@ -12336,6 +12515,15 @@ declare module 'stripe' {
|
|
|
12336
12515
|
options?: RequestOptions
|
|
12337
12516
|
): ApiSearchResultPromise<Stripe.PaymentIntent>;
|
|
12338
12517
|
|
|
12518
|
+
/**
|
|
12519
|
+
* Trigger an external action on a PaymentIntent.
|
|
12520
|
+
*/
|
|
12521
|
+
triggerAction(
|
|
12522
|
+
id: string,
|
|
12523
|
+
params: PaymentIntentTriggerActionParams,
|
|
12524
|
+
options?: RequestOptions
|
|
12525
|
+
): Promise<Stripe.Response<Stripe.PaymentIntent>>;
|
|
12526
|
+
|
|
12339
12527
|
/**
|
|
12340
12528
|
* Verifies microdeposits on a PaymentIntent object.
|
|
12341
12529
|
*/
|
|
@@ -79,8 +79,12 @@ declare module 'stripe' {
|
|
|
79
79
|
|
|
80
80
|
google_pay?: PaymentMethodConfiguration.GooglePay;
|
|
81
81
|
|
|
82
|
+
gopay?: PaymentMethodConfiguration.Gopay;
|
|
83
|
+
|
|
82
84
|
grabpay?: PaymentMethodConfiguration.Grabpay;
|
|
83
85
|
|
|
86
|
+
id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer;
|
|
87
|
+
|
|
84
88
|
ideal?: PaymentMethodConfiguration.Ideal;
|
|
85
89
|
|
|
86
90
|
/**
|
|
@@ -127,10 +131,14 @@ declare module 'stripe' {
|
|
|
127
131
|
|
|
128
132
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
129
133
|
|
|
134
|
+
qris?: PaymentMethodConfiguration.Qris;
|
|
135
|
+
|
|
130
136
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
131
137
|
|
|
132
138
|
sepa_debit?: PaymentMethodConfiguration.SepaDebit;
|
|
133
139
|
|
|
140
|
+
shopeepay?: PaymentMethodConfiguration.Shopeepay;
|
|
141
|
+
|
|
134
142
|
sofort?: PaymentMethodConfiguration.Sofort;
|
|
135
143
|
|
|
136
144
|
swish?: PaymentMethodConfiguration.Swish;
|
|
@@ -825,6 +833,40 @@ declare module 'stripe' {
|
|
|
825
833
|
}
|
|
826
834
|
}
|
|
827
835
|
|
|
836
|
+
interface Gopay {
|
|
837
|
+
/**
|
|
838
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
839
|
+
*/
|
|
840
|
+
available: boolean;
|
|
841
|
+
|
|
842
|
+
display_preference: Gopay.DisplayPreference;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
namespace Gopay {
|
|
846
|
+
interface DisplayPreference {
|
|
847
|
+
/**
|
|
848
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
849
|
+
*/
|
|
850
|
+
overridable: boolean | null;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* The account's display preference.
|
|
854
|
+
*/
|
|
855
|
+
preference: DisplayPreference.Preference;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* The effective display preference value.
|
|
859
|
+
*/
|
|
860
|
+
value: DisplayPreference.Value;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
namespace DisplayPreference {
|
|
864
|
+
type Preference = 'none' | 'off' | 'on';
|
|
865
|
+
|
|
866
|
+
type Value = 'off' | 'on';
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
828
870
|
interface Grabpay {
|
|
829
871
|
/**
|
|
830
872
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -859,6 +901,40 @@ declare module 'stripe' {
|
|
|
859
901
|
}
|
|
860
902
|
}
|
|
861
903
|
|
|
904
|
+
interface IdBankTransfer {
|
|
905
|
+
/**
|
|
906
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
907
|
+
*/
|
|
908
|
+
available: boolean;
|
|
909
|
+
|
|
910
|
+
display_preference: IdBankTransfer.DisplayPreference;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
namespace IdBankTransfer {
|
|
914
|
+
interface DisplayPreference {
|
|
915
|
+
/**
|
|
916
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
917
|
+
*/
|
|
918
|
+
overridable: boolean | null;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* The account's display preference.
|
|
922
|
+
*/
|
|
923
|
+
preference: DisplayPreference.Preference;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* The effective display preference value.
|
|
927
|
+
*/
|
|
928
|
+
value: DisplayPreference.Value;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
namespace DisplayPreference {
|
|
932
|
+
type Preference = 'none' | 'off' | 'on';
|
|
933
|
+
|
|
934
|
+
type Value = 'off' | 'on';
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
|
|
862
938
|
interface Ideal {
|
|
863
939
|
/**
|
|
864
940
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1301,6 +1377,40 @@ declare module 'stripe' {
|
|
|
1301
1377
|
}
|
|
1302
1378
|
}
|
|
1303
1379
|
|
|
1380
|
+
interface Qris {
|
|
1381
|
+
/**
|
|
1382
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1383
|
+
*/
|
|
1384
|
+
available: boolean;
|
|
1385
|
+
|
|
1386
|
+
display_preference: Qris.DisplayPreference;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
namespace Qris {
|
|
1390
|
+
interface DisplayPreference {
|
|
1391
|
+
/**
|
|
1392
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1393
|
+
*/
|
|
1394
|
+
overridable: boolean | null;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* The account's display preference.
|
|
1398
|
+
*/
|
|
1399
|
+
preference: DisplayPreference.Preference;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* The effective display preference value.
|
|
1403
|
+
*/
|
|
1404
|
+
value: DisplayPreference.Value;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
namespace DisplayPreference {
|
|
1408
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1409
|
+
|
|
1410
|
+
type Value = 'off' | 'on';
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1304
1414
|
interface RevolutPay {
|
|
1305
1415
|
/**
|
|
1306
1416
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1369,6 +1479,40 @@ declare module 'stripe' {
|
|
|
1369
1479
|
}
|
|
1370
1480
|
}
|
|
1371
1481
|
|
|
1482
|
+
interface Shopeepay {
|
|
1483
|
+
/**
|
|
1484
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1485
|
+
*/
|
|
1486
|
+
available: boolean;
|
|
1487
|
+
|
|
1488
|
+
display_preference: Shopeepay.DisplayPreference;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
namespace Shopeepay {
|
|
1492
|
+
interface DisplayPreference {
|
|
1493
|
+
/**
|
|
1494
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1495
|
+
*/
|
|
1496
|
+
overridable: boolean | null;
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* The account's display preference.
|
|
1500
|
+
*/
|
|
1501
|
+
preference: DisplayPreference.Preference;
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* The effective display preference value.
|
|
1505
|
+
*/
|
|
1506
|
+
value: DisplayPreference.Value;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
namespace DisplayPreference {
|
|
1510
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1511
|
+
|
|
1512
|
+
type Value = 'off' | 'on';
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1372
1516
|
interface Sofort {
|
|
1373
1517
|
/**
|
|
1374
1518
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|