stripe 16.6.0-beta.1 → 16.6.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 +116 -778
- 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 -13
- 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 -42
- 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 -13
- 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 -28
- package/esm/stripe.core.js +3 -6
- package/esm/utils.js +1 -27
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -15
- package/types/AccountSessionsResource.d.ts +0 -163
- package/types/Accounts.d.ts +1 -106
- package/types/AccountsResource.d.ts +0 -246
- package/types/Charges.d.ts +0 -72
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +62 -29
- package/types/Checkout/SessionsResource.d.ts +64 -16
- package/types/ConfirmationTokens.d.ts +0 -62
- 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 -2
- package/types/Disputes.d.ts +0 -168
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +0 -426
- package/types/Events.d.ts +0 -83
- package/types/FinancialConnections/Accounts.d.ts +3 -31
- 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 +0 -22
- package/types/Invoices.d.ts +2 -116
- package/types/InvoicesResource.d.ts +1782 -5359
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +79 -491
- package/types/PaymentIntentsResource.d.ts +3625 -6925
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
- package/types/PaymentMethods.d.ts +0 -62
- package/types/PaymentMethodsResource.d.ts +0 -110
- 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 -578
- package/types/QuotesResource.d.ts +266 -3175
- package/types/SetupAttempts.d.ts +1 -9
- package/types/SetupIntents.d.ts +3 -111
- package/types/SetupIntentsResource.d.ts +4 -499
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +1 -110
- package/types/SubscriptionSchedules.d.ts +0 -164
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -46
- package/types/SubscriptionsResource.d.ts +4 -349
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -208
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
- 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 -50
- package/types/index.d.ts +0 -69
- package/types/lib.d.ts +0 -12
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Alerts.js +0 -27
- 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/Billing/Alerts.js +0 -24
- 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/Billing/AlertsResource.d.ts +0 -176
- 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 -1057
- package/types/OrdersResource.d.ts +0 -2711
- 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 -1528
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- 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
|
*/
|
|
@@ -364,26 +359,11 @@ declare module 'stripe' {
|
|
|
364
359
|
*/
|
|
365
360
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
366
361
|
|
|
367
|
-
/**
|
|
368
|
-
* The paypal_payments capability.
|
|
369
|
-
*/
|
|
370
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* The payto_payments capability.
|
|
374
|
-
*/
|
|
375
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
376
|
-
|
|
377
362
|
/**
|
|
378
363
|
* The promptpay_payments capability.
|
|
379
364
|
*/
|
|
380
365
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
381
366
|
|
|
382
|
-
/**
|
|
383
|
-
* The rechnung_payments capability.
|
|
384
|
-
*/
|
|
385
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
386
|
-
|
|
387
367
|
/**
|
|
388
368
|
* The revolut_pay_payments capability.
|
|
389
369
|
*/
|
|
@@ -682,20 +662,6 @@ declare module 'stripe' {
|
|
|
682
662
|
requested?: boolean;
|
|
683
663
|
}
|
|
684
664
|
|
|
685
|
-
interface PaypalPayments {
|
|
686
|
-
/**
|
|
687
|
-
* 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.
|
|
688
|
-
*/
|
|
689
|
-
requested?: boolean;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
interface PaytoPayments {
|
|
693
|
-
/**
|
|
694
|
-
* 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.
|
|
695
|
-
*/
|
|
696
|
-
requested?: boolean;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
665
|
interface PromptpayPayments {
|
|
700
666
|
/**
|
|
701
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.
|
|
@@ -703,13 +669,6 @@ declare module 'stripe' {
|
|
|
703
669
|
requested?: boolean;
|
|
704
670
|
}
|
|
705
671
|
|
|
706
|
-
interface RechnungPayments {
|
|
707
|
-
/**
|
|
708
|
-
* 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.
|
|
709
|
-
*/
|
|
710
|
-
requested?: boolean;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
672
|
interface RevolutPayPayments {
|
|
714
673
|
/**
|
|
715
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.
|
|
@@ -965,16 +924,6 @@ declare module 'stripe' {
|
|
|
965
924
|
}
|
|
966
925
|
|
|
967
926
|
interface Controller {
|
|
968
|
-
/**
|
|
969
|
-
* A hash of configuration describing the Connect application that controls the account.
|
|
970
|
-
*/
|
|
971
|
-
application?: Controller.Application;
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* Properties of the account's dashboard.
|
|
975
|
-
*/
|
|
976
|
-
dashboard?: Controller.Dashboard;
|
|
977
|
-
|
|
978
927
|
/**
|
|
979
928
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
980
929
|
*/
|
|
@@ -997,34 +946,6 @@ declare module 'stripe' {
|
|
|
997
946
|
}
|
|
998
947
|
|
|
999
948
|
namespace Controller {
|
|
1000
|
-
interface Application {
|
|
1001
|
-
/**
|
|
1002
|
-
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1003
|
-
*/
|
|
1004
|
-
loss_liable: boolean;
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* Whether the controller owns onboarding for this account.
|
|
1008
|
-
*/
|
|
1009
|
-
onboarding_owner?: boolean;
|
|
1010
|
-
|
|
1011
|
-
/**
|
|
1012
|
-
* Whether the controller has pricing controls for this account.
|
|
1013
|
-
*/
|
|
1014
|
-
pricing_controls?: boolean;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
interface Dashboard {
|
|
1018
|
-
/**
|
|
1019
|
-
* 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`.
|
|
1020
|
-
*/
|
|
1021
|
-
type?: Dashboard.Type;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
namespace Dashboard {
|
|
1025
|
-
type Type = 'express' | 'full' | 'none';
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
949
|
interface Fees {
|
|
1029
950
|
/**
|
|
1030
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).
|
|
@@ -1389,36 +1310,6 @@ declare module 'stripe' {
|
|
|
1389
1310
|
}
|
|
1390
1311
|
}
|
|
1391
1312
|
|
|
1392
|
-
interface RiskControls {
|
|
1393
|
-
/**
|
|
1394
|
-
* 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).
|
|
1395
|
-
*/
|
|
1396
|
-
charges?: RiskControls.Charges;
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* 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).
|
|
1400
|
-
*/
|
|
1401
|
-
payouts?: RiskControls.Payouts;
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
namespace RiskControls {
|
|
1405
|
-
interface Charges {
|
|
1406
|
-
/**
|
|
1407
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1408
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1409
|
-
*/
|
|
1410
|
-
pause_requested?: boolean;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
interface Payouts {
|
|
1414
|
-
/**
|
|
1415
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1416
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1417
|
-
*/
|
|
1418
|
-
pause_requested?: boolean;
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
1313
|
interface Settings {
|
|
1423
1314
|
/**
|
|
1424
1315
|
* Settings specific to Bacs Direct Debit.
|
|
@@ -1430,11 +1321,6 @@ declare module 'stripe' {
|
|
|
1430
1321
|
*/
|
|
1431
1322
|
branding?: Settings.Branding;
|
|
1432
1323
|
|
|
1433
|
-
/**
|
|
1434
|
-
* Settings specific to the account's use of the Capital product.
|
|
1435
|
-
*/
|
|
1436
|
-
capital?: Settings.Capital;
|
|
1437
|
-
|
|
1438
1324
|
/**
|
|
1439
1325
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1440
1326
|
*/
|
|
@@ -1455,11 +1341,6 @@ declare module 'stripe' {
|
|
|
1455
1341
|
*/
|
|
1456
1342
|
payouts?: Settings.Payouts;
|
|
1457
1343
|
|
|
1458
|
-
/**
|
|
1459
|
-
* Settings specific to the account's tax forms.
|
|
1460
|
-
*/
|
|
1461
|
-
tax_forms?: Settings.TaxForms;
|
|
1462
|
-
|
|
1463
1344
|
/**
|
|
1464
1345
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1465
1346
|
*/
|
|
@@ -1496,22 +1377,6 @@ declare module 'stripe' {
|
|
|
1496
1377
|
secondary_color?: string;
|
|
1497
1378
|
}
|
|
1498
1379
|
|
|
1499
|
-
interface Capital {
|
|
1500
|
-
/**
|
|
1501
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1502
|
-
*/
|
|
1503
|
-
payout_destination?: {
|
|
1504
|
-
[key: string]: string;
|
|
1505
|
-
};
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1509
|
-
*/
|
|
1510
|
-
payout_destination_selector?: {
|
|
1511
|
-
[key: string]: Array<string>;
|
|
1512
|
-
};
|
|
1513
|
-
}
|
|
1514
|
-
|
|
1515
1380
|
interface CardIssuing {
|
|
1516
1381
|
/**
|
|
1517
1382
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -1645,13 +1510,6 @@ declare module 'stripe' {
|
|
|
1645
1510
|
}
|
|
1646
1511
|
}
|
|
1647
1512
|
|
|
1648
|
-
interface TaxForms {
|
|
1649
|
-
/**
|
|
1650
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1651
|
-
*/
|
|
1652
|
-
consented_to_paperless_delivery?: boolean;
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
1513
|
interface Treasury {
|
|
1656
1514
|
/**
|
|
1657
1515
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1786,11 +1644,6 @@ declare module 'stripe' {
|
|
|
1786
1644
|
*/
|
|
1787
1645
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1788
1646
|
|
|
1789
|
-
/**
|
|
1790
|
-
* 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).
|
|
1791
|
-
*/
|
|
1792
|
-
risk_controls?: AccountUpdateParams.RiskControls;
|
|
1793
|
-
|
|
1794
1647
|
/**
|
|
1795
1648
|
* Options for customizing how the account functions within Stripe.
|
|
1796
1649
|
*/
|
|
@@ -2101,26 +1954,11 @@ declare module 'stripe' {
|
|
|
2101
1954
|
*/
|
|
2102
1955
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2103
1956
|
|
|
2104
|
-
/**
|
|
2105
|
-
* The paypal_payments capability.
|
|
2106
|
-
*/
|
|
2107
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* The payto_payments capability.
|
|
2111
|
-
*/
|
|
2112
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
2113
|
-
|
|
2114
1957
|
/**
|
|
2115
1958
|
* The promptpay_payments capability.
|
|
2116
1959
|
*/
|
|
2117
1960
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2118
1961
|
|
|
2119
|
-
/**
|
|
2120
|
-
* The rechnung_payments capability.
|
|
2121
|
-
*/
|
|
2122
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2123
|
-
|
|
2124
1962
|
/**
|
|
2125
1963
|
* The revolut_pay_payments capability.
|
|
2126
1964
|
*/
|
|
@@ -2419,20 +2257,6 @@ declare module 'stripe' {
|
|
|
2419
2257
|
requested?: boolean;
|
|
2420
2258
|
}
|
|
2421
2259
|
|
|
2422
|
-
interface PaypalPayments {
|
|
2423
|
-
/**
|
|
2424
|
-
* 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.
|
|
2425
|
-
*/
|
|
2426
|
-
requested?: boolean;
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
|
-
interface PaytoPayments {
|
|
2430
|
-
/**
|
|
2431
|
-
* 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.
|
|
2432
|
-
*/
|
|
2433
|
-
requested?: boolean;
|
|
2434
|
-
}
|
|
2435
|
-
|
|
2436
2260
|
interface PromptpayPayments {
|
|
2437
2261
|
/**
|
|
2438
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.
|
|
@@ -2440,13 +2264,6 @@ declare module 'stripe' {
|
|
|
2440
2264
|
requested?: boolean;
|
|
2441
2265
|
}
|
|
2442
2266
|
|
|
2443
|
-
interface RechnungPayments {
|
|
2444
|
-
/**
|
|
2445
|
-
* 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.
|
|
2446
|
-
*/
|
|
2447
|
-
requested?: boolean;
|
|
2448
|
-
}
|
|
2449
|
-
|
|
2450
2267
|
interface RevolutPayPayments {
|
|
2451
2268
|
/**
|
|
2452
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.
|
|
@@ -3035,36 +2852,6 @@ declare module 'stripe' {
|
|
|
3035
2852
|
}
|
|
3036
2853
|
}
|
|
3037
2854
|
|
|
3038
|
-
interface RiskControls {
|
|
3039
|
-
/**
|
|
3040
|
-
* 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).
|
|
3041
|
-
*/
|
|
3042
|
-
charges?: RiskControls.Charges;
|
|
3043
|
-
|
|
3044
|
-
/**
|
|
3045
|
-
* 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).
|
|
3046
|
-
*/
|
|
3047
|
-
payouts?: RiskControls.Payouts;
|
|
3048
|
-
}
|
|
3049
|
-
|
|
3050
|
-
namespace RiskControls {
|
|
3051
|
-
interface Charges {
|
|
3052
|
-
/**
|
|
3053
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3054
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3055
|
-
*/
|
|
3056
|
-
pause_requested?: boolean;
|
|
3057
|
-
}
|
|
3058
|
-
|
|
3059
|
-
interface Payouts {
|
|
3060
|
-
/**
|
|
3061
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3062
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3063
|
-
*/
|
|
3064
|
-
pause_requested?: boolean;
|
|
3065
|
-
}
|
|
3066
|
-
}
|
|
3067
|
-
|
|
3068
2855
|
interface Settings {
|
|
3069
2856
|
/**
|
|
3070
2857
|
* Settings specific to Bacs Direct Debit payments.
|
|
@@ -3076,11 +2863,6 @@ declare module 'stripe' {
|
|
|
3076
2863
|
*/
|
|
3077
2864
|
branding?: Settings.Branding;
|
|
3078
2865
|
|
|
3079
|
-
/**
|
|
3080
|
-
* Settings specific to the account's use of the Capital product.
|
|
3081
|
-
*/
|
|
3082
|
-
capital?: Settings.Capital;
|
|
3083
|
-
|
|
3084
2866
|
/**
|
|
3085
2867
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3086
2868
|
*/
|
|
@@ -3106,11 +2888,6 @@ declare module 'stripe' {
|
|
|
3106
2888
|
*/
|
|
3107
2889
|
payouts?: Settings.Payouts;
|
|
3108
2890
|
|
|
3109
|
-
/**
|
|
3110
|
-
* Settings specific to the account's tax forms.
|
|
3111
|
-
*/
|
|
3112
|
-
tax_forms?: Settings.TaxForms;
|
|
3113
|
-
|
|
3114
2891
|
/**
|
|
3115
2892
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3116
2893
|
*/
|
|
@@ -3147,22 +2924,6 @@ declare module 'stripe' {
|
|
|
3147
2924
|
secondary_color?: string;
|
|
3148
2925
|
}
|
|
3149
2926
|
|
|
3150
|
-
interface Capital {
|
|
3151
|
-
/**
|
|
3152
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3153
|
-
*/
|
|
3154
|
-
payout_destination?: {
|
|
3155
|
-
[key: string]: string;
|
|
3156
|
-
};
|
|
3157
|
-
|
|
3158
|
-
/**
|
|
3159
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3160
|
-
*/
|
|
3161
|
-
payout_destination_selector?: {
|
|
3162
|
-
[key: string]: Array<string>;
|
|
3163
|
-
};
|
|
3164
|
-
}
|
|
3165
|
-
|
|
3166
2927
|
interface CardIssuing {
|
|
3167
2928
|
/**
|
|
3168
2929
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -3303,13 +3064,6 @@ declare module 'stripe' {
|
|
|
3303
3064
|
}
|
|
3304
3065
|
}
|
|
3305
3066
|
|
|
3306
|
-
interface TaxForms {
|
|
3307
|
-
/**
|
|
3308
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
3309
|
-
*/
|
|
3310
|
-
consented_to_paperless_delivery?: boolean;
|
|
3311
|
-
}
|
|
3312
|
-
|
|
3313
3067
|
interface Treasury {
|
|
3314
3068
|
/**
|
|
3315
3069
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
package/types/Charges.d.ts
CHANGED
|
@@ -428,14 +428,10 @@ declare module 'stripe' {
|
|
|
428
428
|
|
|
429
429
|
paypal?: PaymentMethodDetails.Paypal;
|
|
430
430
|
|
|
431
|
-
payto?: PaymentMethodDetails.Payto;
|
|
432
|
-
|
|
433
431
|
pix?: PaymentMethodDetails.Pix;
|
|
434
432
|
|
|
435
433
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
436
434
|
|
|
437
|
-
rechnung?: PaymentMethodDetails.Rechnung;
|
|
438
|
-
|
|
439
435
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
440
436
|
|
|
441
437
|
sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
|
|
@@ -707,11 +703,6 @@ declare module 'stripe' {
|
|
|
707
703
|
*/
|
|
708
704
|
amount_authorized: number | null;
|
|
709
705
|
|
|
710
|
-
/**
|
|
711
|
-
* Authorization code on the charge.
|
|
712
|
-
*/
|
|
713
|
-
authorization_code?: string | null;
|
|
714
|
-
|
|
715
706
|
/**
|
|
716
707
|
* Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
717
708
|
*/
|
|
@@ -732,8 +723,6 @@ declare module 'stripe' {
|
|
|
732
723
|
*/
|
|
733
724
|
country: string | null;
|
|
734
725
|
|
|
735
|
-
decremental_authorization?: Card.DecrementalAuthorization;
|
|
736
|
-
|
|
737
726
|
/**
|
|
738
727
|
* 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.)
|
|
739
728
|
*/
|
|
@@ -840,17 +829,6 @@ declare module 'stripe' {
|
|
|
840
829
|
cvc_check: string | null;
|
|
841
830
|
}
|
|
842
831
|
|
|
843
|
-
interface DecrementalAuthorization {
|
|
844
|
-
/**
|
|
845
|
-
* Indicates whether or not the decremental authorization feature is supported.
|
|
846
|
-
*/
|
|
847
|
-
status: DecrementalAuthorization.Status;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
namespace DecrementalAuthorization {
|
|
851
|
-
type Status = 'available' | 'unavailable';
|
|
852
|
-
}
|
|
853
|
-
|
|
854
832
|
interface ExtendedAuthorization {
|
|
855
833
|
/**
|
|
856
834
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1835,36 +1813,10 @@ declare module 'stripe' {
|
|
|
1835
1813
|
*/
|
|
1836
1814
|
seller_protection: Paypal.SellerProtection | null;
|
|
1837
1815
|
|
|
1838
|
-
/**
|
|
1839
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1840
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1841
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1842
|
-
*/
|
|
1843
|
-
shipping?: Stripe.Address | null;
|
|
1844
|
-
|
|
1845
1816
|
/**
|
|
1846
1817
|
* A unique ID generated by PayPal for this transaction.
|
|
1847
1818
|
*/
|
|
1848
1819
|
transaction_id: string | null;
|
|
1849
|
-
|
|
1850
|
-
/**
|
|
1851
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1852
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1853
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1854
|
-
*/
|
|
1855
|
-
verified_address?: Stripe.Address | null;
|
|
1856
|
-
|
|
1857
|
-
/**
|
|
1858
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1859
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1860
|
-
*/
|
|
1861
|
-
verified_email?: string | null;
|
|
1862
|
-
|
|
1863
|
-
/**
|
|
1864
|
-
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1865
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1866
|
-
*/
|
|
1867
|
-
verified_name?: string | null;
|
|
1868
1820
|
}
|
|
1869
1821
|
|
|
1870
1822
|
namespace Paypal {
|
|
@@ -1887,28 +1839,6 @@ declare module 'stripe' {
|
|
|
1887
1839
|
}
|
|
1888
1840
|
}
|
|
1889
1841
|
|
|
1890
|
-
interface Payto {
|
|
1891
|
-
/**
|
|
1892
|
-
* Bank-State-Branch number of the bank account.
|
|
1893
|
-
*/
|
|
1894
|
-
bsb_number: string | null;
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* Last four digits of the bank account number.
|
|
1898
|
-
*/
|
|
1899
|
-
last4: string | null;
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* ID of the mandate used to make this payment.
|
|
1903
|
-
*/
|
|
1904
|
-
mandate?: string;
|
|
1905
|
-
|
|
1906
|
-
/**
|
|
1907
|
-
* The PayID alias for the bank account.
|
|
1908
|
-
*/
|
|
1909
|
-
pay_id: string | null;
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
1842
|
interface Pix {
|
|
1913
1843
|
/**
|
|
1914
1844
|
* Unique transaction id generated by BCB
|
|
@@ -1923,8 +1853,6 @@ declare module 'stripe' {
|
|
|
1923
1853
|
reference: string | null;
|
|
1924
1854
|
}
|
|
1925
1855
|
|
|
1926
|
-
interface Rechnung {}
|
|
1927
|
-
|
|
1928
1856
|
interface RevolutPay {}
|
|
1929
1857
|
|
|
1930
1858
|
interface SepaCreditTransfer {
|