stripe 16.9.0-beta.2 → 16.9.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 +123 -822
- package/README.md +0 -33
- package/VERSION +1 -1
- package/cjs/RequestSender.js +5 -66
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +1 -2
- package/cjs/multipart.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/OAuth.js +1 -1
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources.js +10 -40
- package/cjs/stripe.core.js +3 -6
- package/cjs/utils.js +3 -30
- package/esm/RequestSender.js +6 -67
- package/esm/StripeResource.js +2 -2
- package/esm/apiVersion.js +0 -1
- package/esm/multipart.js +2 -2
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/OAuth.js +2 -2
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources.js +0 -26
- package/esm/stripe.core.js +3 -6
- package/esm/utils.js +1 -27
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +2 -6
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -260
- package/types/Accounts.d.ts +1 -113
- package/types/AccountsResource.d.ts +0 -270
- package/types/Charges.d.ts +0 -71
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +4 -185
- package/types/Checkout/SessionsResource.d.ts +5 -349
- package/types/ConfirmationTokens.d.ts +0 -67
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -3
- package/types/Disputes.d.ts +0 -152
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +0 -460
- package/types/Events.d.ts +0 -85
- package/types/FileLinksResource.d.ts +1 -1
- package/types/Files.d.ts +1 -0
- package/types/FilesResource.d.ts +3 -1
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +3 -23
- package/types/Invoices.d.ts +1 -116
- package/types/InvoicesResource.d.ts +1835 -5493
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Cards.d.ts +1 -1
- package/types/LineItems.d.ts +1 -8
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -502
- package/types/PaymentIntentsResource.d.ts +3464 -7064
- package/types/PaymentLinks.d.ts +0 -1
- package/types/PaymentLinksResource.d.ts +0 -2
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
- package/types/PaymentMethods.d.ts +0 -67
- package/types/PaymentMethodsResource.d.ts +0 -119
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -596
- package/types/QuotesResource.d.ts +199 -2531
- package/types/SetupAttempts.d.ts +0 -9
- package/types/SetupIntents.d.ts +1 -110
- package/types/SetupIntentsResource.d.ts +3 -522
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -82
- package/types/SubscriptionsResource.d.ts +2 -347
- package/types/Tax/CalculationsResource.d.ts +1 -1
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -208
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
- package/types/TestHelpers/TestClocks.d.ts +15 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +0 -54
- package/types/index.d.ts +0 -67
- package/types/lib.d.ts +0 -12
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/QuotePhases.js +0 -22
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/QuotePhases.js +0 -19
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -138
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1084
- package/types/OrdersResource.d.ts +0 -2765
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePhases.d.ts +0 -198
- package/types/QuotePhasesResource.d.ts +0 -67
- package/types/QuotePreviewInvoices.d.ts +0 -1531
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
|
@@ -82,11 +82,6 @@ declare module 'stripe' {
|
|
|
82
82
|
*/
|
|
83
83
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
84
84
|
|
|
85
|
-
/**
|
|
86
|
-
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
87
|
-
*/
|
|
88
|
-
risk_controls?: AccountCreateParams.RiskControls;
|
|
89
|
-
|
|
90
85
|
/**
|
|
91
86
|
* Options for customizing how the account functions within Stripe.
|
|
92
87
|
*/
|
|
@@ -334,11 +329,6 @@ declare module 'stripe' {
|
|
|
334
329
|
*/
|
|
335
330
|
link_payments?: Capabilities.LinkPayments;
|
|
336
331
|
|
|
337
|
-
/**
|
|
338
|
-
* The mb_way_payments capability.
|
|
339
|
-
*/
|
|
340
|
-
mb_way_payments?: Capabilities.MbWayPayments;
|
|
341
|
-
|
|
342
332
|
/**
|
|
343
333
|
* The mobilepay_payments capability.
|
|
344
334
|
*/
|
|
@@ -369,26 +359,11 @@ declare module 'stripe' {
|
|
|
369
359
|
*/
|
|
370
360
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
371
361
|
|
|
372
|
-
/**
|
|
373
|
-
* The paypal_payments capability.
|
|
374
|
-
*/
|
|
375
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* The payto_payments capability.
|
|
379
|
-
*/
|
|
380
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
381
|
-
|
|
382
362
|
/**
|
|
383
363
|
* The promptpay_payments capability.
|
|
384
364
|
*/
|
|
385
365
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
386
366
|
|
|
387
|
-
/**
|
|
388
|
-
* The rechnung_payments capability.
|
|
389
|
-
*/
|
|
390
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
391
|
-
|
|
392
367
|
/**
|
|
393
368
|
* The revolut_pay_payments capability.
|
|
394
369
|
*/
|
|
@@ -645,13 +620,6 @@ declare module 'stripe' {
|
|
|
645
620
|
requested?: boolean;
|
|
646
621
|
}
|
|
647
622
|
|
|
648
|
-
interface MbWayPayments {
|
|
649
|
-
/**
|
|
650
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
651
|
-
*/
|
|
652
|
-
requested?: boolean;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
623
|
interface MobilepayPayments {
|
|
656
624
|
/**
|
|
657
625
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -694,20 +662,6 @@ declare module 'stripe' {
|
|
|
694
662
|
requested?: boolean;
|
|
695
663
|
}
|
|
696
664
|
|
|
697
|
-
interface PaypalPayments {
|
|
698
|
-
/**
|
|
699
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
700
|
-
*/
|
|
701
|
-
requested?: boolean;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
interface PaytoPayments {
|
|
705
|
-
/**
|
|
706
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
707
|
-
*/
|
|
708
|
-
requested?: boolean;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
665
|
interface PromptpayPayments {
|
|
712
666
|
/**
|
|
713
667
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -715,13 +669,6 @@ declare module 'stripe' {
|
|
|
715
669
|
requested?: boolean;
|
|
716
670
|
}
|
|
717
671
|
|
|
718
|
-
interface RechnungPayments {
|
|
719
|
-
/**
|
|
720
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
721
|
-
*/
|
|
722
|
-
requested?: boolean;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
672
|
interface RevolutPayPayments {
|
|
726
673
|
/**
|
|
727
674
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -977,16 +924,6 @@ declare module 'stripe' {
|
|
|
977
924
|
}
|
|
978
925
|
|
|
979
926
|
interface Controller {
|
|
980
|
-
/**
|
|
981
|
-
* A hash of configuration describing the Connect application that controls the account.
|
|
982
|
-
*/
|
|
983
|
-
application?: Controller.Application;
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* Properties of the account's dashboard.
|
|
987
|
-
*/
|
|
988
|
-
dashboard?: Controller.Dashboard;
|
|
989
|
-
|
|
990
927
|
/**
|
|
991
928
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
992
929
|
*/
|
|
@@ -1009,34 +946,6 @@ declare module 'stripe' {
|
|
|
1009
946
|
}
|
|
1010
947
|
|
|
1011
948
|
namespace Controller {
|
|
1012
|
-
interface Application {
|
|
1013
|
-
/**
|
|
1014
|
-
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1015
|
-
*/
|
|
1016
|
-
loss_liable: boolean;
|
|
1017
|
-
|
|
1018
|
-
/**
|
|
1019
|
-
* Whether the controller owns onboarding for this account.
|
|
1020
|
-
*/
|
|
1021
|
-
onboarding_owner?: boolean;
|
|
1022
|
-
|
|
1023
|
-
/**
|
|
1024
|
-
* Whether the controller has pricing controls for this account.
|
|
1025
|
-
*/
|
|
1026
|
-
pricing_controls?: boolean;
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
interface Dashboard {
|
|
1030
|
-
/**
|
|
1031
|
-
* Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
1032
|
-
*/
|
|
1033
|
-
type?: Dashboard.Type;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
namespace Dashboard {
|
|
1037
|
-
type Type = 'express' | 'full' | 'none';
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
949
|
interface Fees {
|
|
1041
950
|
/**
|
|
1042
951
|
* A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -1401,36 +1310,6 @@ declare module 'stripe' {
|
|
|
1401
1310
|
}
|
|
1402
1311
|
}
|
|
1403
1312
|
|
|
1404
|
-
interface RiskControls {
|
|
1405
|
-
/**
|
|
1406
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1407
|
-
*/
|
|
1408
|
-
charges?: RiskControls.Charges;
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1412
|
-
*/
|
|
1413
|
-
payouts?: RiskControls.Payouts;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
namespace RiskControls {
|
|
1417
|
-
interface Charges {
|
|
1418
|
-
/**
|
|
1419
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1420
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1421
|
-
*/
|
|
1422
|
-
pause_requested?: boolean;
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
interface Payouts {
|
|
1426
|
-
/**
|
|
1427
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1428
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1429
|
-
*/
|
|
1430
|
-
pause_requested?: boolean;
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
1313
|
interface Settings {
|
|
1435
1314
|
/**
|
|
1436
1315
|
* Settings specific to Bacs Direct Debit.
|
|
@@ -1442,11 +1321,6 @@ declare module 'stripe' {
|
|
|
1442
1321
|
*/
|
|
1443
1322
|
branding?: Settings.Branding;
|
|
1444
1323
|
|
|
1445
|
-
/**
|
|
1446
|
-
* Settings specific to the account's use of the Capital product.
|
|
1447
|
-
*/
|
|
1448
|
-
capital?: Settings.Capital;
|
|
1449
|
-
|
|
1450
1324
|
/**
|
|
1451
1325
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1452
1326
|
*/
|
|
@@ -1467,11 +1341,6 @@ declare module 'stripe' {
|
|
|
1467
1341
|
*/
|
|
1468
1342
|
payouts?: Settings.Payouts;
|
|
1469
1343
|
|
|
1470
|
-
/**
|
|
1471
|
-
* Settings specific to the account's tax forms.
|
|
1472
|
-
*/
|
|
1473
|
-
tax_forms?: Settings.TaxForms;
|
|
1474
|
-
|
|
1475
1344
|
/**
|
|
1476
1345
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1477
1346
|
*/
|
|
@@ -1508,22 +1377,6 @@ declare module 'stripe' {
|
|
|
1508
1377
|
secondary_color?: string;
|
|
1509
1378
|
}
|
|
1510
1379
|
|
|
1511
|
-
interface Capital {
|
|
1512
|
-
/**
|
|
1513
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1514
|
-
*/
|
|
1515
|
-
payout_destination?: {
|
|
1516
|
-
[key: string]: string;
|
|
1517
|
-
};
|
|
1518
|
-
|
|
1519
|
-
/**
|
|
1520
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1521
|
-
*/
|
|
1522
|
-
payout_destination_selector?: {
|
|
1523
|
-
[key: string]: Array<string>;
|
|
1524
|
-
};
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
1380
|
interface CardIssuing {
|
|
1528
1381
|
/**
|
|
1529
1382
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -1657,13 +1510,6 @@ declare module 'stripe' {
|
|
|
1657
1510
|
}
|
|
1658
1511
|
}
|
|
1659
1512
|
|
|
1660
|
-
interface TaxForms {
|
|
1661
|
-
/**
|
|
1662
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1663
|
-
*/
|
|
1664
|
-
consented_to_paperless_delivery?: boolean;
|
|
1665
|
-
}
|
|
1666
|
-
|
|
1667
1513
|
interface Treasury {
|
|
1668
1514
|
/**
|
|
1669
1515
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1798,11 +1644,6 @@ declare module 'stripe' {
|
|
|
1798
1644
|
*/
|
|
1799
1645
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1800
1646
|
|
|
1801
|
-
/**
|
|
1802
|
-
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1803
|
-
*/
|
|
1804
|
-
risk_controls?: AccountUpdateParams.RiskControls;
|
|
1805
|
-
|
|
1806
1647
|
/**
|
|
1807
1648
|
* Options for customizing how the account functions within Stripe.
|
|
1808
1649
|
*/
|
|
@@ -2083,11 +1924,6 @@ declare module 'stripe' {
|
|
|
2083
1924
|
*/
|
|
2084
1925
|
link_payments?: Capabilities.LinkPayments;
|
|
2085
1926
|
|
|
2086
|
-
/**
|
|
2087
|
-
* The mb_way_payments capability.
|
|
2088
|
-
*/
|
|
2089
|
-
mb_way_payments?: Capabilities.MbWayPayments;
|
|
2090
|
-
|
|
2091
1927
|
/**
|
|
2092
1928
|
* The mobilepay_payments capability.
|
|
2093
1929
|
*/
|
|
@@ -2118,26 +1954,11 @@ declare module 'stripe' {
|
|
|
2118
1954
|
*/
|
|
2119
1955
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2120
1956
|
|
|
2121
|
-
/**
|
|
2122
|
-
* The paypal_payments capability.
|
|
2123
|
-
*/
|
|
2124
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
2125
|
-
|
|
2126
|
-
/**
|
|
2127
|
-
* The payto_payments capability.
|
|
2128
|
-
*/
|
|
2129
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
2130
|
-
|
|
2131
1957
|
/**
|
|
2132
1958
|
* The promptpay_payments capability.
|
|
2133
1959
|
*/
|
|
2134
1960
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2135
1961
|
|
|
2136
|
-
/**
|
|
2137
|
-
* The rechnung_payments capability.
|
|
2138
|
-
*/
|
|
2139
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2140
|
-
|
|
2141
1962
|
/**
|
|
2142
1963
|
* The revolut_pay_payments capability.
|
|
2143
1964
|
*/
|
|
@@ -2394,13 +2215,6 @@ declare module 'stripe' {
|
|
|
2394
2215
|
requested?: boolean;
|
|
2395
2216
|
}
|
|
2396
2217
|
|
|
2397
|
-
interface MbWayPayments {
|
|
2398
|
-
/**
|
|
2399
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2400
|
-
*/
|
|
2401
|
-
requested?: boolean;
|
|
2402
|
-
}
|
|
2403
|
-
|
|
2404
2218
|
interface MobilepayPayments {
|
|
2405
2219
|
/**
|
|
2406
2220
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2443,20 +2257,6 @@ declare module 'stripe' {
|
|
|
2443
2257
|
requested?: boolean;
|
|
2444
2258
|
}
|
|
2445
2259
|
|
|
2446
|
-
interface PaypalPayments {
|
|
2447
|
-
/**
|
|
2448
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2449
|
-
*/
|
|
2450
|
-
requested?: boolean;
|
|
2451
|
-
}
|
|
2452
|
-
|
|
2453
|
-
interface PaytoPayments {
|
|
2454
|
-
/**
|
|
2455
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2456
|
-
*/
|
|
2457
|
-
requested?: boolean;
|
|
2458
|
-
}
|
|
2459
|
-
|
|
2460
2260
|
interface PromptpayPayments {
|
|
2461
2261
|
/**
|
|
2462
2262
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2464,13 +2264,6 @@ declare module 'stripe' {
|
|
|
2464
2264
|
requested?: boolean;
|
|
2465
2265
|
}
|
|
2466
2266
|
|
|
2467
|
-
interface RechnungPayments {
|
|
2468
|
-
/**
|
|
2469
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2470
|
-
*/
|
|
2471
|
-
requested?: boolean;
|
|
2472
|
-
}
|
|
2473
|
-
|
|
2474
2267
|
interface RevolutPayPayments {
|
|
2475
2268
|
/**
|
|
2476
2269
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -3059,36 +2852,6 @@ declare module 'stripe' {
|
|
|
3059
2852
|
}
|
|
3060
2853
|
}
|
|
3061
2854
|
|
|
3062
|
-
interface RiskControls {
|
|
3063
|
-
/**
|
|
3064
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3065
|
-
*/
|
|
3066
|
-
charges?: RiskControls.Charges;
|
|
3067
|
-
|
|
3068
|
-
/**
|
|
3069
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3070
|
-
*/
|
|
3071
|
-
payouts?: RiskControls.Payouts;
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
namespace RiskControls {
|
|
3075
|
-
interface Charges {
|
|
3076
|
-
/**
|
|
3077
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3078
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3079
|
-
*/
|
|
3080
|
-
pause_requested?: boolean;
|
|
3081
|
-
}
|
|
3082
|
-
|
|
3083
|
-
interface Payouts {
|
|
3084
|
-
/**
|
|
3085
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3086
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3087
|
-
*/
|
|
3088
|
-
pause_requested?: boolean;
|
|
3089
|
-
}
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
2855
|
interface Settings {
|
|
3093
2856
|
/**
|
|
3094
2857
|
* Settings specific to Bacs Direct Debit payments.
|
|
@@ -3100,11 +2863,6 @@ declare module 'stripe' {
|
|
|
3100
2863
|
*/
|
|
3101
2864
|
branding?: Settings.Branding;
|
|
3102
2865
|
|
|
3103
|
-
/**
|
|
3104
|
-
* Settings specific to the account's use of the Capital product.
|
|
3105
|
-
*/
|
|
3106
|
-
capital?: Settings.Capital;
|
|
3107
|
-
|
|
3108
2866
|
/**
|
|
3109
2867
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3110
2868
|
*/
|
|
@@ -3130,11 +2888,6 @@ declare module 'stripe' {
|
|
|
3130
2888
|
*/
|
|
3131
2889
|
payouts?: Settings.Payouts;
|
|
3132
2890
|
|
|
3133
|
-
/**
|
|
3134
|
-
* Settings specific to the account's tax forms.
|
|
3135
|
-
*/
|
|
3136
|
-
tax_forms?: Settings.TaxForms;
|
|
3137
|
-
|
|
3138
2891
|
/**
|
|
3139
2892
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3140
2893
|
*/
|
|
@@ -3171,22 +2924,6 @@ declare module 'stripe' {
|
|
|
3171
2924
|
secondary_color?: string;
|
|
3172
2925
|
}
|
|
3173
2926
|
|
|
3174
|
-
interface Capital {
|
|
3175
|
-
/**
|
|
3176
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3177
|
-
*/
|
|
3178
|
-
payout_destination?: {
|
|
3179
|
-
[key: string]: string;
|
|
3180
|
-
};
|
|
3181
|
-
|
|
3182
|
-
/**
|
|
3183
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3184
|
-
*/
|
|
3185
|
-
payout_destination_selector?: {
|
|
3186
|
-
[key: string]: Array<string>;
|
|
3187
|
-
};
|
|
3188
|
-
}
|
|
3189
|
-
|
|
3190
2927
|
interface CardIssuing {
|
|
3191
2928
|
/**
|
|
3192
2929
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -3327,13 +3064,6 @@ declare module 'stripe' {
|
|
|
3327
3064
|
}
|
|
3328
3065
|
}
|
|
3329
3066
|
|
|
3330
|
-
interface TaxForms {
|
|
3331
|
-
/**
|
|
3332
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
3333
|
-
*/
|
|
3334
|
-
consented_to_paperless_delivery?: boolean;
|
|
3335
|
-
}
|
|
3336
|
-
|
|
3337
3067
|
interface Treasury {
|
|
3338
3068
|
/**
|
|
3339
3069
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
package/types/Charges.d.ts
CHANGED
|
@@ -418,8 +418,6 @@ declare module 'stripe' {
|
|
|
418
418
|
|
|
419
419
|
link?: PaymentMethodDetails.Link;
|
|
420
420
|
|
|
421
|
-
mb_way?: PaymentMethodDetails.MbWay;
|
|
422
|
-
|
|
423
421
|
mobilepay?: PaymentMethodDetails.Mobilepay;
|
|
424
422
|
|
|
425
423
|
multibanco?: PaymentMethodDetails.Multibanco;
|
|
@@ -432,14 +430,10 @@ declare module 'stripe' {
|
|
|
432
430
|
|
|
433
431
|
paypal?: PaymentMethodDetails.Paypal;
|
|
434
432
|
|
|
435
|
-
payto?: PaymentMethodDetails.Payto;
|
|
436
|
-
|
|
437
433
|
pix?: PaymentMethodDetails.Pix;
|
|
438
434
|
|
|
439
435
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
440
436
|
|
|
441
|
-
rechnung?: PaymentMethodDetails.Rechnung;
|
|
442
|
-
|
|
443
437
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
444
438
|
|
|
445
439
|
sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
|
|
@@ -736,8 +730,6 @@ declare module 'stripe' {
|
|
|
736
730
|
*/
|
|
737
731
|
country: string | null;
|
|
738
732
|
|
|
739
|
-
decremental_authorization?: Card.DecrementalAuthorization;
|
|
740
|
-
|
|
741
733
|
/**
|
|
742
734
|
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
743
735
|
*/
|
|
@@ -844,17 +836,6 @@ declare module 'stripe' {
|
|
|
844
836
|
cvc_check: string | null;
|
|
845
837
|
}
|
|
846
838
|
|
|
847
|
-
interface DecrementalAuthorization {
|
|
848
|
-
/**
|
|
849
|
-
* Indicates whether or not the decremental authorization feature is supported.
|
|
850
|
-
*/
|
|
851
|
-
status: DecrementalAuthorization.Status;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
namespace DecrementalAuthorization {
|
|
855
|
-
type Status = 'available' | 'unavailable';
|
|
856
|
-
}
|
|
857
|
-
|
|
858
839
|
interface ExtendedAuthorization {
|
|
859
840
|
/**
|
|
860
841
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1717,8 +1698,6 @@ declare module 'stripe' {
|
|
|
1717
1698
|
country: string | null;
|
|
1718
1699
|
}
|
|
1719
1700
|
|
|
1720
|
-
interface MbWay {}
|
|
1721
|
-
|
|
1722
1701
|
interface Mobilepay {
|
|
1723
1702
|
/**
|
|
1724
1703
|
* Internal card details
|
|
@@ -1853,36 +1832,10 @@ declare module 'stripe' {
|
|
|
1853
1832
|
*/
|
|
1854
1833
|
seller_protection: Paypal.SellerProtection | null;
|
|
1855
1834
|
|
|
1856
|
-
/**
|
|
1857
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1858
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1859
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1860
|
-
*/
|
|
1861
|
-
shipping?: Stripe.Address | null;
|
|
1862
|
-
|
|
1863
1835
|
/**
|
|
1864
1836
|
* A unique ID generated by PayPal for this transaction.
|
|
1865
1837
|
*/
|
|
1866
1838
|
transaction_id: string | null;
|
|
1867
|
-
|
|
1868
|
-
/**
|
|
1869
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1870
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1871
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1872
|
-
*/
|
|
1873
|
-
verified_address?: Stripe.Address | null;
|
|
1874
|
-
|
|
1875
|
-
/**
|
|
1876
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1877
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1878
|
-
*/
|
|
1879
|
-
verified_email?: string | null;
|
|
1880
|
-
|
|
1881
|
-
/**
|
|
1882
|
-
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1883
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1884
|
-
*/
|
|
1885
|
-
verified_name?: string | null;
|
|
1886
1839
|
}
|
|
1887
1840
|
|
|
1888
1841
|
namespace Paypal {
|
|
@@ -1905,28 +1858,6 @@ declare module 'stripe' {
|
|
|
1905
1858
|
}
|
|
1906
1859
|
}
|
|
1907
1860
|
|
|
1908
|
-
interface Payto {
|
|
1909
|
-
/**
|
|
1910
|
-
* Bank-State-Branch number of the bank account.
|
|
1911
|
-
*/
|
|
1912
|
-
bsb_number: string | null;
|
|
1913
|
-
|
|
1914
|
-
/**
|
|
1915
|
-
* Last four digits of the bank account number.
|
|
1916
|
-
*/
|
|
1917
|
-
last4: string | null;
|
|
1918
|
-
|
|
1919
|
-
/**
|
|
1920
|
-
* ID of the mandate used to make this payment.
|
|
1921
|
-
*/
|
|
1922
|
-
mandate?: string;
|
|
1923
|
-
|
|
1924
|
-
/**
|
|
1925
|
-
* The PayID alias for the bank account.
|
|
1926
|
-
*/
|
|
1927
|
-
pay_id: string | null;
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
1861
|
interface Pix {
|
|
1931
1862
|
/**
|
|
1932
1863
|
* Unique transaction id generated by BCB
|
|
@@ -1941,8 +1872,6 @@ declare module 'stripe' {
|
|
|
1941
1872
|
reference: string | null;
|
|
1942
1873
|
}
|
|
1943
1874
|
|
|
1944
|
-
interface Rechnung {}
|
|
1945
|
-
|
|
1946
1875
|
interface RevolutPay {}
|
|
1947
1876
|
|
|
1948
1877
|
interface SepaCreditTransfer {
|