stripe 16.7.0 → 16.8.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 +799 -110
- package/README.md +33 -0
- package/VERSION +1 -1
- package/cjs/RequestSender.js +66 -5
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +2 -1
- package/cjs/multipart.js +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/OAuth.js +1 -1
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +4 -0
- package/cjs/resources/QuotePhases.js +22 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources.js +40 -10
- package/cjs/stripe.core.js +6 -3
- package/cjs/utils.js +30 -3
- package/esm/RequestSender.js +67 -6
- package/esm/StripeResource.js +2 -2
- package/esm/apiVersion.js +1 -0
- package/esm/multipart.js +2 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/OAuth.js +2 -2
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +4 -0
- package/esm/resources/QuotePhases.js +19 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources.js +26 -0
- package/esm/stripe.core.js +6 -3
- package/esm/utils.js +27 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +215 -0
- package/types/Accounts.d.ts +106 -1
- package/types/AccountsResource.d.ts +247 -1
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Charges.d.ts +72 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +116 -4
- package/types/Checkout/SessionsResource.d.ts +111 -5
- package/types/ConfirmationTokens.d.ts +62 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +21 -0
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +2 -0
- package/types/Disputes.d.ts +158 -0
- package/types/DisputesResource.d.ts +120 -0
- package/types/EventTypes.d.ts +460 -0
- package/types/Events.d.ts +85 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +22 -0
- package/types/InvoicePayments.d.ts +138 -0
- package/types/Invoices.d.ts +116 -1
- package/types/InvoicesResource.d.ts +5455 -1797
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +446 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1017 -0
- package/types/LineItems.d.ts +7 -0
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1083 -0
- package/types/OrdersResource.d.ts +2763 -0
- package/types/PaymentIntents.d.ts +491 -1
- package/types/PaymentIntentsResource.d.ts +7001 -3464
- package/types/PaymentLinks.d.ts +1 -0
- package/types/PaymentLinksResource.d.ts +2 -0
- package/types/PaymentMethodConfigurations.d.ts +36 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +50 -0
- package/types/PaymentMethods.d.ts +62 -0
- package/types/PaymentMethodsResource.d.ts +110 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePhases.d.ts +198 -0
- package/types/QuotePhasesResource.d.ts +67 -0
- package/types/QuotePreviewInvoices.d.ts +1530 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +596 -1
- package/types/QuotesResource.d.ts +3174 -265
- package/types/SetupAttempts.d.ts +9 -0
- package/types/SetupIntents.d.ts +120 -1
- package/types/SetupIntentsResource.d.ts +546 -3
- package/types/Sources.d.ts +23 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +82 -1
- package/types/SubscriptionsResource.d.ts +347 -2
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +133 -0
- package/types/Tax/FormsResource.d.ts +90 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +208 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +55 -0
- package/types/TestHelpers/Treasury/OutboundPaymentsResource.d.ts +5 -0
- package/types/TestHelpers/Treasury/OutboundTransfersResource.d.ts +5 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +10 -0
- package/types/Treasury/OutboundPayments.d.ts +6 -1
- package/types/Treasury/OutboundTransfers.d.ts +32 -1
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/WebhookEndpointsResource.d.ts +54 -0
- package/types/index.d.ts +67 -0
- package/types/lib.d.ts +12 -0
|
@@ -334,6 +334,11 @@ declare module 'stripe' {
|
|
|
334
334
|
*/
|
|
335
335
|
paypal?: PaymentMethodData.Paypal;
|
|
336
336
|
|
|
337
|
+
/**
|
|
338
|
+
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
339
|
+
*/
|
|
340
|
+
payto?: PaymentMethodData.Payto;
|
|
341
|
+
|
|
337
342
|
/**
|
|
338
343
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
339
344
|
*/
|
|
@@ -349,6 +354,11 @@ declare module 'stripe' {
|
|
|
349
354
|
*/
|
|
350
355
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
351
356
|
|
|
357
|
+
/**
|
|
358
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
359
|
+
*/
|
|
360
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
361
|
+
|
|
352
362
|
/**
|
|
353
363
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
354
364
|
*/
|
|
@@ -673,6 +683,23 @@ declare module 'stripe' {
|
|
|
673
683
|
|
|
674
684
|
interface Paypal {}
|
|
675
685
|
|
|
686
|
+
interface Payto {
|
|
687
|
+
/**
|
|
688
|
+
* The account number for the bank account.
|
|
689
|
+
*/
|
|
690
|
+
account_number?: string;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Bank-State-Branch number of the bank account.
|
|
694
|
+
*/
|
|
695
|
+
bsb_number?: string;
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* The PayID alias for the bank account.
|
|
699
|
+
*/
|
|
700
|
+
pay_id?: string;
|
|
701
|
+
}
|
|
702
|
+
|
|
676
703
|
interface Pix {}
|
|
677
704
|
|
|
678
705
|
interface Promptpay {}
|
|
@@ -684,6 +711,32 @@ declare module 'stripe' {
|
|
|
684
711
|
session?: string;
|
|
685
712
|
}
|
|
686
713
|
|
|
714
|
+
interface Rechnung {
|
|
715
|
+
/**
|
|
716
|
+
* Customer's date of birth
|
|
717
|
+
*/
|
|
718
|
+
dob: Rechnung.Dob;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
namespace Rechnung {
|
|
722
|
+
interface Dob {
|
|
723
|
+
/**
|
|
724
|
+
* The day of birth, between 1 and 31.
|
|
725
|
+
*/
|
|
726
|
+
day: number;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* The month of birth, between 1 and 12.
|
|
730
|
+
*/
|
|
731
|
+
month: number;
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* The four-digit year of birth.
|
|
735
|
+
*/
|
|
736
|
+
year: number;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
|
|
687
740
|
interface RevolutPay {}
|
|
688
741
|
|
|
689
742
|
interface SepaDebit {
|
|
@@ -735,8 +788,10 @@ declare module 'stripe' {
|
|
|
735
788
|
| 'p24'
|
|
736
789
|
| 'paynow'
|
|
737
790
|
| 'paypal'
|
|
791
|
+
| 'payto'
|
|
738
792
|
| 'pix'
|
|
739
793
|
| 'promptpay'
|
|
794
|
+
| 'rechnung'
|
|
740
795
|
| 'revolut_pay'
|
|
741
796
|
| 'sepa_debit'
|
|
742
797
|
| 'sofort'
|
|
@@ -795,6 +850,11 @@ declare module 'stripe' {
|
|
|
795
850
|
*/
|
|
796
851
|
amazon_pay?: PaymentMethodOptions.AmazonPay;
|
|
797
852
|
|
|
853
|
+
/**
|
|
854
|
+
* If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
|
855
|
+
*/
|
|
856
|
+
bacs_debit?: PaymentMethodOptions.BacsDebit;
|
|
857
|
+
|
|
798
858
|
/**
|
|
799
859
|
* Configuration for any card setup attempted on this SetupIntent.
|
|
800
860
|
*/
|
|
@@ -815,6 +875,11 @@ declare module 'stripe' {
|
|
|
815
875
|
*/
|
|
816
876
|
paypal?: PaymentMethodOptions.Paypal;
|
|
817
877
|
|
|
878
|
+
/**
|
|
879
|
+
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
880
|
+
*/
|
|
881
|
+
payto?: PaymentMethodOptions.Payto;
|
|
882
|
+
|
|
818
883
|
/**
|
|
819
884
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
820
885
|
*/
|
|
@@ -889,6 +954,17 @@ declare module 'stripe' {
|
|
|
889
954
|
|
|
890
955
|
interface AmazonPay {}
|
|
891
956
|
|
|
957
|
+
interface BacsDebit {
|
|
958
|
+
/**
|
|
959
|
+
* Additional fields for Mandate creation
|
|
960
|
+
*/
|
|
961
|
+
mandate_options?: BacsDebit.MandateOptions;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
namespace BacsDebit {
|
|
965
|
+
interface MandateOptions {}
|
|
966
|
+
}
|
|
967
|
+
|
|
892
968
|
interface Card {
|
|
893
969
|
/**
|
|
894
970
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -1099,6 +1175,86 @@ declare module 'stripe' {
|
|
|
1099
1175
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1100
1176
|
*/
|
|
1101
1177
|
billing_agreement_id?: string;
|
|
1178
|
+
|
|
1179
|
+
currency?: string;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1183
|
+
*/
|
|
1184
|
+
subsellers?: Array<string>;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
interface Payto {
|
|
1188
|
+
/**
|
|
1189
|
+
* Additional fields for Mandate creation.
|
|
1190
|
+
*/
|
|
1191
|
+
mandate_options?: Payto.MandateOptions;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
namespace Payto {
|
|
1195
|
+
interface MandateOptions {
|
|
1196
|
+
/**
|
|
1197
|
+
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1198
|
+
*/
|
|
1199
|
+
amount?: number;
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
1203
|
+
*/
|
|
1204
|
+
amount_type?: MandateOptions.AmountType;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1208
|
+
*/
|
|
1209
|
+
end_date?: string;
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* The periodicity at which payments will be collected.
|
|
1213
|
+
*/
|
|
1214
|
+
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
1218
|
+
*/
|
|
1219
|
+
payments_per_period?: number;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* The purpose for which payments are made. Defaults to retail.
|
|
1223
|
+
*/
|
|
1224
|
+
purpose?: MandateOptions.Purpose;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1228
|
+
*/
|
|
1229
|
+
start_date?: string;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
namespace MandateOptions {
|
|
1233
|
+
type AmountType = 'fixed' | 'maximum';
|
|
1234
|
+
|
|
1235
|
+
type PaymentSchedule =
|
|
1236
|
+
| 'adhoc'
|
|
1237
|
+
| 'annual'
|
|
1238
|
+
| 'daily'
|
|
1239
|
+
| 'fortnightly'
|
|
1240
|
+
| 'monthly'
|
|
1241
|
+
| 'quarterly'
|
|
1242
|
+
| 'semi_annual'
|
|
1243
|
+
| 'weekly';
|
|
1244
|
+
|
|
1245
|
+
type Purpose =
|
|
1246
|
+
| 'dependant_support'
|
|
1247
|
+
| 'government'
|
|
1248
|
+
| 'loan'
|
|
1249
|
+
| 'mortgage'
|
|
1250
|
+
| 'other'
|
|
1251
|
+
| 'pension'
|
|
1252
|
+
| 'personal'
|
|
1253
|
+
| 'retail'
|
|
1254
|
+
| 'salary'
|
|
1255
|
+
| 'tax'
|
|
1256
|
+
| 'utility';
|
|
1257
|
+
}
|
|
1102
1258
|
}
|
|
1103
1259
|
|
|
1104
1260
|
interface SepaDebit {
|
|
@@ -1141,6 +1297,11 @@ declare module 'stripe' {
|
|
|
1141
1297
|
*/
|
|
1142
1298
|
filters?: FinancialConnections.Filters;
|
|
1143
1299
|
|
|
1300
|
+
/**
|
|
1301
|
+
* Customize manual entry behavior
|
|
1302
|
+
*/
|
|
1303
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
1304
|
+
|
|
1144
1305
|
/**
|
|
1145
1306
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
1146
1307
|
*/
|
|
@@ -1163,19 +1324,39 @@ declare module 'stripe' {
|
|
|
1163
1324
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1164
1325
|
*/
|
|
1165
1326
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
1330
|
+
*/
|
|
1331
|
+
institution?: string;
|
|
1166
1332
|
}
|
|
1167
1333
|
|
|
1168
1334
|
namespace Filters {
|
|
1169
1335
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1170
1336
|
}
|
|
1171
1337
|
|
|
1338
|
+
interface ManualEntry {
|
|
1339
|
+
/**
|
|
1340
|
+
* Settings for configuring manual entry of account details.
|
|
1341
|
+
*/
|
|
1342
|
+
mode: ManualEntry.Mode;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
namespace ManualEntry {
|
|
1346
|
+
type Mode = 'automatic' | 'custom';
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1172
1349
|
type Permission =
|
|
1173
1350
|
| 'balances'
|
|
1174
1351
|
| 'ownership'
|
|
1175
1352
|
| 'payment_method'
|
|
1176
1353
|
| 'transactions';
|
|
1177
1354
|
|
|
1178
|
-
type Prefetch =
|
|
1355
|
+
type Prefetch =
|
|
1356
|
+
| 'balances'
|
|
1357
|
+
| 'inferred_balances'
|
|
1358
|
+
| 'ownership'
|
|
1359
|
+
| 'transactions';
|
|
1179
1360
|
}
|
|
1180
1361
|
|
|
1181
1362
|
interface MandateOptions {
|
|
@@ -1445,6 +1626,11 @@ declare module 'stripe' {
|
|
|
1445
1626
|
*/
|
|
1446
1627
|
paypal?: PaymentMethodData.Paypal;
|
|
1447
1628
|
|
|
1629
|
+
/**
|
|
1630
|
+
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1631
|
+
*/
|
|
1632
|
+
payto?: PaymentMethodData.Payto;
|
|
1633
|
+
|
|
1448
1634
|
/**
|
|
1449
1635
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
1450
1636
|
*/
|
|
@@ -1460,6 +1646,11 @@ declare module 'stripe' {
|
|
|
1460
1646
|
*/
|
|
1461
1647
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
1462
1648
|
|
|
1649
|
+
/**
|
|
1650
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1651
|
+
*/
|
|
1652
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
1653
|
+
|
|
1463
1654
|
/**
|
|
1464
1655
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1465
1656
|
*/
|
|
@@ -1784,6 +1975,23 @@ declare module 'stripe' {
|
|
|
1784
1975
|
|
|
1785
1976
|
interface Paypal {}
|
|
1786
1977
|
|
|
1978
|
+
interface Payto {
|
|
1979
|
+
/**
|
|
1980
|
+
* The account number for the bank account.
|
|
1981
|
+
*/
|
|
1982
|
+
account_number?: string;
|
|
1983
|
+
|
|
1984
|
+
/**
|
|
1985
|
+
* Bank-State-Branch number of the bank account.
|
|
1986
|
+
*/
|
|
1987
|
+
bsb_number?: string;
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* The PayID alias for the bank account.
|
|
1991
|
+
*/
|
|
1992
|
+
pay_id?: string;
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1787
1995
|
interface Pix {}
|
|
1788
1996
|
|
|
1789
1997
|
interface Promptpay {}
|
|
@@ -1795,6 +2003,32 @@ declare module 'stripe' {
|
|
|
1795
2003
|
session?: string;
|
|
1796
2004
|
}
|
|
1797
2005
|
|
|
2006
|
+
interface Rechnung {
|
|
2007
|
+
/**
|
|
2008
|
+
* Customer's date of birth
|
|
2009
|
+
*/
|
|
2010
|
+
dob: Rechnung.Dob;
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
namespace Rechnung {
|
|
2014
|
+
interface Dob {
|
|
2015
|
+
/**
|
|
2016
|
+
* The day of birth, between 1 and 31.
|
|
2017
|
+
*/
|
|
2018
|
+
day: number;
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* The month of birth, between 1 and 12.
|
|
2022
|
+
*/
|
|
2023
|
+
month: number;
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* The four-digit year of birth.
|
|
2027
|
+
*/
|
|
2028
|
+
year: number;
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
|
|
1798
2032
|
interface RevolutPay {}
|
|
1799
2033
|
|
|
1800
2034
|
interface SepaDebit {
|
|
@@ -1846,8 +2080,10 @@ declare module 'stripe' {
|
|
|
1846
2080
|
| 'p24'
|
|
1847
2081
|
| 'paynow'
|
|
1848
2082
|
| 'paypal'
|
|
2083
|
+
| 'payto'
|
|
1849
2084
|
| 'pix'
|
|
1850
2085
|
| 'promptpay'
|
|
2086
|
+
| 'rechnung'
|
|
1851
2087
|
| 'revolut_pay'
|
|
1852
2088
|
| 'sepa_debit'
|
|
1853
2089
|
| 'sofort'
|
|
@@ -1906,6 +2142,11 @@ declare module 'stripe' {
|
|
|
1906
2142
|
*/
|
|
1907
2143
|
amazon_pay?: PaymentMethodOptions.AmazonPay;
|
|
1908
2144
|
|
|
2145
|
+
/**
|
|
2146
|
+
* If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
|
2147
|
+
*/
|
|
2148
|
+
bacs_debit?: PaymentMethodOptions.BacsDebit;
|
|
2149
|
+
|
|
1909
2150
|
/**
|
|
1910
2151
|
* Configuration for any card setup attempted on this SetupIntent.
|
|
1911
2152
|
*/
|
|
@@ -1926,6 +2167,11 @@ declare module 'stripe' {
|
|
|
1926
2167
|
*/
|
|
1927
2168
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1928
2169
|
|
|
2170
|
+
/**
|
|
2171
|
+
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
2172
|
+
*/
|
|
2173
|
+
payto?: PaymentMethodOptions.Payto;
|
|
2174
|
+
|
|
1929
2175
|
/**
|
|
1930
2176
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
1931
2177
|
*/
|
|
@@ -2000,6 +2246,17 @@ declare module 'stripe' {
|
|
|
2000
2246
|
|
|
2001
2247
|
interface AmazonPay {}
|
|
2002
2248
|
|
|
2249
|
+
interface BacsDebit {
|
|
2250
|
+
/**
|
|
2251
|
+
* Additional fields for Mandate creation
|
|
2252
|
+
*/
|
|
2253
|
+
mandate_options?: BacsDebit.MandateOptions;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
namespace BacsDebit {
|
|
2257
|
+
interface MandateOptions {}
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2003
2260
|
interface Card {
|
|
2004
2261
|
/**
|
|
2005
2262
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -2210,6 +2467,86 @@ declare module 'stripe' {
|
|
|
2210
2467
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
2211
2468
|
*/
|
|
2212
2469
|
billing_agreement_id?: string;
|
|
2470
|
+
|
|
2471
|
+
currency?: string;
|
|
2472
|
+
|
|
2473
|
+
/**
|
|
2474
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
2475
|
+
*/
|
|
2476
|
+
subsellers?: Array<string>;
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
interface Payto {
|
|
2480
|
+
/**
|
|
2481
|
+
* Additional fields for Mandate creation.
|
|
2482
|
+
*/
|
|
2483
|
+
mandate_options?: Payto.MandateOptions;
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
namespace Payto {
|
|
2487
|
+
interface MandateOptions {
|
|
2488
|
+
/**
|
|
2489
|
+
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2490
|
+
*/
|
|
2491
|
+
amount?: number;
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
2495
|
+
*/
|
|
2496
|
+
amount_type?: MandateOptions.AmountType;
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2500
|
+
*/
|
|
2501
|
+
end_date?: string;
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* The periodicity at which payments will be collected.
|
|
2505
|
+
*/
|
|
2506
|
+
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
2510
|
+
*/
|
|
2511
|
+
payments_per_period?: number;
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* The purpose for which payments are made. Defaults to retail.
|
|
2515
|
+
*/
|
|
2516
|
+
purpose?: MandateOptions.Purpose;
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
2520
|
+
*/
|
|
2521
|
+
start_date?: string;
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
namespace MandateOptions {
|
|
2525
|
+
type AmountType = 'fixed' | 'maximum';
|
|
2526
|
+
|
|
2527
|
+
type PaymentSchedule =
|
|
2528
|
+
| 'adhoc'
|
|
2529
|
+
| 'annual'
|
|
2530
|
+
| 'daily'
|
|
2531
|
+
| 'fortnightly'
|
|
2532
|
+
| 'monthly'
|
|
2533
|
+
| 'quarterly'
|
|
2534
|
+
| 'semi_annual'
|
|
2535
|
+
| 'weekly';
|
|
2536
|
+
|
|
2537
|
+
type Purpose =
|
|
2538
|
+
| 'dependant_support'
|
|
2539
|
+
| 'government'
|
|
2540
|
+
| 'loan'
|
|
2541
|
+
| 'mortgage'
|
|
2542
|
+
| 'other'
|
|
2543
|
+
| 'pension'
|
|
2544
|
+
| 'personal'
|
|
2545
|
+
| 'retail'
|
|
2546
|
+
| 'salary'
|
|
2547
|
+
| 'tax'
|
|
2548
|
+
| 'utility';
|
|
2549
|
+
}
|
|
2213
2550
|
}
|
|
2214
2551
|
|
|
2215
2552
|
interface SepaDebit {
|
|
@@ -2252,6 +2589,11 @@ declare module 'stripe' {
|
|
|
2252
2589
|
*/
|
|
2253
2590
|
filters?: FinancialConnections.Filters;
|
|
2254
2591
|
|
|
2592
|
+
/**
|
|
2593
|
+
* Customize manual entry behavior
|
|
2594
|
+
*/
|
|
2595
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
2596
|
+
|
|
2255
2597
|
/**
|
|
2256
2598
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
2257
2599
|
*/
|
|
@@ -2274,19 +2616,39 @@ declare module 'stripe' {
|
|
|
2274
2616
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2275
2617
|
*/
|
|
2276
2618
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2619
|
+
|
|
2620
|
+
/**
|
|
2621
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
2622
|
+
*/
|
|
2623
|
+
institution?: string;
|
|
2277
2624
|
}
|
|
2278
2625
|
|
|
2279
2626
|
namespace Filters {
|
|
2280
2627
|
type AccountSubcategory = 'checking' | 'savings';
|
|
2281
2628
|
}
|
|
2282
2629
|
|
|
2630
|
+
interface ManualEntry {
|
|
2631
|
+
/**
|
|
2632
|
+
* Settings for configuring manual entry of account details.
|
|
2633
|
+
*/
|
|
2634
|
+
mode: ManualEntry.Mode;
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
namespace ManualEntry {
|
|
2638
|
+
type Mode = 'automatic' | 'custom';
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2283
2641
|
type Permission =
|
|
2284
2642
|
| 'balances'
|
|
2285
2643
|
| 'ownership'
|
|
2286
2644
|
| 'payment_method'
|
|
2287
2645
|
| 'transactions';
|
|
2288
2646
|
|
|
2289
|
-
type Prefetch =
|
|
2647
|
+
type Prefetch =
|
|
2648
|
+
| 'balances'
|
|
2649
|
+
| 'inferred_balances'
|
|
2650
|
+
| 'ownership'
|
|
2651
|
+
| 'transactions';
|
|
2290
2652
|
}
|
|
2291
2653
|
|
|
2292
2654
|
interface MandateOptions {
|
|
@@ -2605,6 +2967,11 @@ declare module 'stripe' {
|
|
|
2605
2967
|
*/
|
|
2606
2968
|
paypal?: PaymentMethodData.Paypal;
|
|
2607
2969
|
|
|
2970
|
+
/**
|
|
2971
|
+
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
2972
|
+
*/
|
|
2973
|
+
payto?: PaymentMethodData.Payto;
|
|
2974
|
+
|
|
2608
2975
|
/**
|
|
2609
2976
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
2610
2977
|
*/
|
|
@@ -2620,6 +2987,11 @@ declare module 'stripe' {
|
|
|
2620
2987
|
*/
|
|
2621
2988
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
2622
2989
|
|
|
2990
|
+
/**
|
|
2991
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2992
|
+
*/
|
|
2993
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
2994
|
+
|
|
2623
2995
|
/**
|
|
2624
2996
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2625
2997
|
*/
|
|
@@ -2944,6 +3316,23 @@ declare module 'stripe' {
|
|
|
2944
3316
|
|
|
2945
3317
|
interface Paypal {}
|
|
2946
3318
|
|
|
3319
|
+
interface Payto {
|
|
3320
|
+
/**
|
|
3321
|
+
* The account number for the bank account.
|
|
3322
|
+
*/
|
|
3323
|
+
account_number?: string;
|
|
3324
|
+
|
|
3325
|
+
/**
|
|
3326
|
+
* Bank-State-Branch number of the bank account.
|
|
3327
|
+
*/
|
|
3328
|
+
bsb_number?: string;
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* The PayID alias for the bank account.
|
|
3332
|
+
*/
|
|
3333
|
+
pay_id?: string;
|
|
3334
|
+
}
|
|
3335
|
+
|
|
2947
3336
|
interface Pix {}
|
|
2948
3337
|
|
|
2949
3338
|
interface Promptpay {}
|
|
@@ -2955,6 +3344,32 @@ declare module 'stripe' {
|
|
|
2955
3344
|
session?: string;
|
|
2956
3345
|
}
|
|
2957
3346
|
|
|
3347
|
+
interface Rechnung {
|
|
3348
|
+
/**
|
|
3349
|
+
* Customer's date of birth
|
|
3350
|
+
*/
|
|
3351
|
+
dob: Rechnung.Dob;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
namespace Rechnung {
|
|
3355
|
+
interface Dob {
|
|
3356
|
+
/**
|
|
3357
|
+
* The day of birth, between 1 and 31.
|
|
3358
|
+
*/
|
|
3359
|
+
day: number;
|
|
3360
|
+
|
|
3361
|
+
/**
|
|
3362
|
+
* The month of birth, between 1 and 12.
|
|
3363
|
+
*/
|
|
3364
|
+
month: number;
|
|
3365
|
+
|
|
3366
|
+
/**
|
|
3367
|
+
* The four-digit year of birth.
|
|
3368
|
+
*/
|
|
3369
|
+
year: number;
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
|
|
2958
3373
|
interface RevolutPay {}
|
|
2959
3374
|
|
|
2960
3375
|
interface SepaDebit {
|
|
@@ -3006,8 +3421,10 @@ declare module 'stripe' {
|
|
|
3006
3421
|
| 'p24'
|
|
3007
3422
|
| 'paynow'
|
|
3008
3423
|
| 'paypal'
|
|
3424
|
+
| 'payto'
|
|
3009
3425
|
| 'pix'
|
|
3010
3426
|
| 'promptpay'
|
|
3427
|
+
| 'rechnung'
|
|
3011
3428
|
| 'revolut_pay'
|
|
3012
3429
|
| 'sepa_debit'
|
|
3013
3430
|
| 'sofort'
|
|
@@ -3066,6 +3483,11 @@ declare module 'stripe' {
|
|
|
3066
3483
|
*/
|
|
3067
3484
|
amazon_pay?: PaymentMethodOptions.AmazonPay;
|
|
3068
3485
|
|
|
3486
|
+
/**
|
|
3487
|
+
* If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
|
3488
|
+
*/
|
|
3489
|
+
bacs_debit?: PaymentMethodOptions.BacsDebit;
|
|
3490
|
+
|
|
3069
3491
|
/**
|
|
3070
3492
|
* Configuration for any card setup attempted on this SetupIntent.
|
|
3071
3493
|
*/
|
|
@@ -3086,6 +3508,11 @@ declare module 'stripe' {
|
|
|
3086
3508
|
*/
|
|
3087
3509
|
paypal?: PaymentMethodOptions.Paypal;
|
|
3088
3510
|
|
|
3511
|
+
/**
|
|
3512
|
+
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
3513
|
+
*/
|
|
3514
|
+
payto?: PaymentMethodOptions.Payto;
|
|
3515
|
+
|
|
3089
3516
|
/**
|
|
3090
3517
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
3091
3518
|
*/
|
|
@@ -3160,6 +3587,17 @@ declare module 'stripe' {
|
|
|
3160
3587
|
|
|
3161
3588
|
interface AmazonPay {}
|
|
3162
3589
|
|
|
3590
|
+
interface BacsDebit {
|
|
3591
|
+
/**
|
|
3592
|
+
* Additional fields for Mandate creation
|
|
3593
|
+
*/
|
|
3594
|
+
mandate_options?: BacsDebit.MandateOptions;
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
namespace BacsDebit {
|
|
3598
|
+
interface MandateOptions {}
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3163
3601
|
interface Card {
|
|
3164
3602
|
/**
|
|
3165
3603
|
* Configuration options for setting up an eMandate for cards issued in India.
|
|
@@ -3370,6 +3808,86 @@ declare module 'stripe' {
|
|
|
3370
3808
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
3371
3809
|
*/
|
|
3372
3810
|
billing_agreement_id?: string;
|
|
3811
|
+
|
|
3812
|
+
currency?: string;
|
|
3813
|
+
|
|
3814
|
+
/**
|
|
3815
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
3816
|
+
*/
|
|
3817
|
+
subsellers?: Array<string>;
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3820
|
+
interface Payto {
|
|
3821
|
+
/**
|
|
3822
|
+
* Additional fields for Mandate creation.
|
|
3823
|
+
*/
|
|
3824
|
+
mandate_options?: Payto.MandateOptions;
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
namespace Payto {
|
|
3828
|
+
interface MandateOptions {
|
|
3829
|
+
/**
|
|
3830
|
+
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
3831
|
+
*/
|
|
3832
|
+
amount?: number;
|
|
3833
|
+
|
|
3834
|
+
/**
|
|
3835
|
+
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
3836
|
+
*/
|
|
3837
|
+
amount_type?: MandateOptions.AmountType;
|
|
3838
|
+
|
|
3839
|
+
/**
|
|
3840
|
+
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3841
|
+
*/
|
|
3842
|
+
end_date?: string;
|
|
3843
|
+
|
|
3844
|
+
/**
|
|
3845
|
+
* The periodicity at which payments will be collected.
|
|
3846
|
+
*/
|
|
3847
|
+
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3848
|
+
|
|
3849
|
+
/**
|
|
3850
|
+
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
3851
|
+
*/
|
|
3852
|
+
payments_per_period?: number;
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* The purpose for which payments are made. Defaults to retail.
|
|
3856
|
+
*/
|
|
3857
|
+
purpose?: MandateOptions.Purpose;
|
|
3858
|
+
|
|
3859
|
+
/**
|
|
3860
|
+
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
3861
|
+
*/
|
|
3862
|
+
start_date?: string;
|
|
3863
|
+
}
|
|
3864
|
+
|
|
3865
|
+
namespace MandateOptions {
|
|
3866
|
+
type AmountType = 'fixed' | 'maximum';
|
|
3867
|
+
|
|
3868
|
+
type PaymentSchedule =
|
|
3869
|
+
| 'adhoc'
|
|
3870
|
+
| 'annual'
|
|
3871
|
+
| 'daily'
|
|
3872
|
+
| 'fortnightly'
|
|
3873
|
+
| 'monthly'
|
|
3874
|
+
| 'quarterly'
|
|
3875
|
+
| 'semi_annual'
|
|
3876
|
+
| 'weekly';
|
|
3877
|
+
|
|
3878
|
+
type Purpose =
|
|
3879
|
+
| 'dependant_support'
|
|
3880
|
+
| 'government'
|
|
3881
|
+
| 'loan'
|
|
3882
|
+
| 'mortgage'
|
|
3883
|
+
| 'other'
|
|
3884
|
+
| 'pension'
|
|
3885
|
+
| 'personal'
|
|
3886
|
+
| 'retail'
|
|
3887
|
+
| 'salary'
|
|
3888
|
+
| 'tax'
|
|
3889
|
+
| 'utility';
|
|
3890
|
+
}
|
|
3373
3891
|
}
|
|
3374
3892
|
|
|
3375
3893
|
interface SepaDebit {
|
|
@@ -3412,6 +3930,11 @@ declare module 'stripe' {
|
|
|
3412
3930
|
*/
|
|
3413
3931
|
filters?: FinancialConnections.Filters;
|
|
3414
3932
|
|
|
3933
|
+
/**
|
|
3934
|
+
* Customize manual entry behavior
|
|
3935
|
+
*/
|
|
3936
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
3937
|
+
|
|
3415
3938
|
/**
|
|
3416
3939
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
3417
3940
|
*/
|
|
@@ -3434,19 +3957,39 @@ declare module 'stripe' {
|
|
|
3434
3957
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3435
3958
|
*/
|
|
3436
3959
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3960
|
+
|
|
3961
|
+
/**
|
|
3962
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
3963
|
+
*/
|
|
3964
|
+
institution?: string;
|
|
3437
3965
|
}
|
|
3438
3966
|
|
|
3439
3967
|
namespace Filters {
|
|
3440
3968
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3441
3969
|
}
|
|
3442
3970
|
|
|
3971
|
+
interface ManualEntry {
|
|
3972
|
+
/**
|
|
3973
|
+
* Settings for configuring manual entry of account details.
|
|
3974
|
+
*/
|
|
3975
|
+
mode: ManualEntry.Mode;
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
namespace ManualEntry {
|
|
3979
|
+
type Mode = 'automatic' | 'custom';
|
|
3980
|
+
}
|
|
3981
|
+
|
|
3443
3982
|
type Permission =
|
|
3444
3983
|
| 'balances'
|
|
3445
3984
|
| 'ownership'
|
|
3446
3985
|
| 'payment_method'
|
|
3447
3986
|
| 'transactions';
|
|
3448
3987
|
|
|
3449
|
-
type Prefetch =
|
|
3988
|
+
type Prefetch =
|
|
3989
|
+
| 'balances'
|
|
3990
|
+
| 'inferred_balances'
|
|
3991
|
+
| 'ownership'
|
|
3992
|
+
| 'transactions';
|
|
3450
3993
|
}
|
|
3451
3994
|
|
|
3452
3995
|
interface MandateOptions {
|