stripe 20.1.0 → 20.2.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 +1544 -47
- package/OPENAPI_VERSION +1 -1
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +115 -1
- package/cjs/StripeEventNotificationHandler.js +118 -0
- package/cjs/apiVersion.js +2 -3
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +12 -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/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Mandates.js +5 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/Reserve/Holds.js +14 -0
- package/cjs/resources/Reserve/Plans.js +9 -0
- package/cjs/resources/Reserve/Releases.js +17 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Subscriptions.js +4 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/BillSettings.js +27 -0
- package/cjs/resources/V2/Billing/Cadences.js +23 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
- package/cjs/resources/V2/Billing/Profiles.js +19 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +33 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +37 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +29 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +98 -4
- package/cjs/stripe.core.js +5 -1
- package/esm/Error.js +100 -0
- package/esm/StripeEventNotificationHandler.js +114 -0
- package/esm/apiVersion.js +1 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +9 -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/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Mandates.js +5 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/Reserve/Holds.js +11 -0
- package/esm/resources/Reserve/Plans.js +6 -0
- package/esm/resources/Reserve/Releases.js +14 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Subscriptions.js +4 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/BillSettings.js +24 -0
- package/esm/resources/V2/Billing/Cadences.js +20 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
- package/esm/resources/V2/Billing/Profiles.js +16 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +30 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +34 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +26 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +89 -0
- package/esm/stripe.core.js +5 -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 +264 -0
- package/types/Accounts.d.ts +225 -1
- package/types/AccountsResource.d.ts +562 -0
- package/types/BankAccounts.d.ts +2 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
- package/types/Billing/Analytics/MeterUsageResource.d.ts +689 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +51 -0
- package/types/Capabilities.d.ts +2 -0
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +109 -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/Cards.d.ts +5 -0
- package/types/Charges.d.ts +152 -0
- package/types/ChargesResource.d.ts +3855 -75
- package/types/Checkout/Sessions.d.ts +279 -2
- package/types/Checkout/SessionsResource.d.ts +362 -2
- package/types/ConfirmationTokens.d.ts +103 -0
- package/types/Coupons.d.ts +35 -0
- package/types/CouponsResource.d.ts +23 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CustomerSessions.d.ts +41 -0
- package/types/CustomerSessionsResource.d.ts +41 -0
- package/types/CustomersResource.d.ts +7 -0
- package/types/Disputes.d.ts +40 -0
- package/types/DisputesResource.d.ts +11 -0
- package/types/Errors.d.ts +85 -0
- package/types/EventTypes.d.ts +630 -0
- package/types/Events.d.ts +96 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +34 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -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/FxQuotes.d.ts +155 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +45 -1
- package/types/Invoices.d.ts +198 -4
- package/types/InvoicesResource.d.ts +1606 -3
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +45 -1
- package/types/Mandates.d.ts +69 -1
- package/types/MandatesResource.d.ts +31 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1163 -0
- package/types/OrdersResource.d.ts +5505 -0
- package/types/PaymentAttemptRecords.d.ts +117 -0
- package/types/PaymentIntents.d.ts +683 -3
- package/types/PaymentIntentsResource.d.ts +19095 -6508
- package/types/PaymentLinks.d.ts +5 -0
- package/types/PaymentLinksResource.d.ts +10 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +108 -0
- package/types/PaymentMethodsResource.d.ts +110 -0
- package/types/PaymentRecords.d.ts +117 -0
- package/types/Persons.d.ts +2 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1821 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
- package/types/Quotes.d.ts +589 -1
- package/types/QuotesResource.d.ts +2567 -237
- package/types/Refunds.d.ts +14 -0
- package/types/Reserve/Holds.d.ts +104 -0
- package/types/Reserve/HoldsResource.d.ts +76 -0
- package/types/Reserve/Plans.d.ts +103 -0
- package/types/Reserve/PlansResource.d.ts +29 -0
- package/types/Reserve/Releases.d.ts +105 -0
- package/types/Reserve/ReleasesResource.d.ts +60 -0
- package/types/SetupAttempts.d.ts +42 -1
- package/types/SetupIntents.d.ts +138 -2
- package/types/SetupIntentsResource.d.ts +629 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +26 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1230 -12
- package/types/Subscriptions.d.ts +257 -1
- package/types/SubscriptionsResource.d.ts +726 -2
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Terminal/Configurations.d.ts +9 -0
- package/types/Terminal/ConfigurationsResource.d.ts +28 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +20 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +103 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- 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/V2/Billing/BillSettingVersions.d.ts +97 -0
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/BillSettings.d.ts +120 -0
- package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
- package/types/V2/Billing/Cadences.d.ts +690 -0
- package/types/V2/Billing/CadencesResource.d.ts +487 -0
- package/types/V2/Billing/CollectionSettingVersions.d.ts +318 -0
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
- package/types/V2/Billing/CollectionSettings.d.ts +341 -0
- package/types/V2/Billing/CollectionSettingsResource.d.ts +683 -0
- package/types/V2/Billing/Profiles.d.ts +70 -0
- package/types/V2/Billing/ProfilesResource.d.ts +150 -0
- package/types/V2/Core/AccountLinks.d.ts +10 -2
- package/types/V2/Core/AccountLinksResource.d.ts +10 -2
- package/types/V2/Core/AccountTokensResource.d.ts +12 -0
- package/types/V2/Core/Accounts.d.ts +999 -84
- package/types/V2/Core/AccountsResource.d.ts +523 -2
- package/types/V2/Core/EventTypes.d.ts +1564 -9
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +194 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +121 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +198 -0
- package/types/V2/EventMisc.d.ts +37 -0
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +46 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +122 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +186 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +172 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +175 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +109 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +156 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +222 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +127 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +318 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +254 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +298 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +291 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +220 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +165 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +115 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +323 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +188 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +200 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +227 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +80 -0
- package/types/WebhookEndpointsResource.d.ts +76 -0
- package/types/apiVersion.d.ts +1 -2
- package/types/index.d.ts +160 -0
- package/types/lib.d.ts +10 -0
- package/types/test/typescriptTest.ts +27 -0
|
@@ -67,6 +67,11 @@ declare module 'stripe' {
|
|
|
67
67
|
* The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
68
68
|
*/
|
|
69
69
|
recipient?: Configuration.Recipient;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
73
|
+
*/
|
|
74
|
+
storer?: Configuration.Storer;
|
|
70
75
|
}
|
|
71
76
|
|
|
72
77
|
namespace Configuration {
|
|
@@ -108,10 +113,21 @@ declare module 'stripe' {
|
|
|
108
113
|
* A recent IP address of the customer used for tax reporting and tax location inference.
|
|
109
114
|
*/
|
|
110
115
|
ip_address?: string;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The data source used to identify the customer's tax location - defaults to `identity_address`. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions. This behavior is now deprecated for new users.
|
|
119
|
+
*/
|
|
120
|
+
location_source?: AutomaticIndirectTax.LocationSource;
|
|
111
121
|
}
|
|
112
122
|
|
|
113
123
|
namespace AutomaticIndirectTax {
|
|
114
124
|
type Exempt = 'exempt' | 'none' | 'reverse';
|
|
125
|
+
|
|
126
|
+
type LocationSource =
|
|
127
|
+
| 'identity_address'
|
|
128
|
+
| 'ip_address'
|
|
129
|
+
| 'payment_method'
|
|
130
|
+
| 'shipping_address';
|
|
115
131
|
}
|
|
116
132
|
|
|
117
133
|
interface Billing {
|
|
@@ -1007,6 +1023,16 @@ declare module 'stripe' {
|
|
|
1007
1023
|
|
|
1008
1024
|
namespace Recipient {
|
|
1009
1025
|
interface Capabilities {
|
|
1026
|
+
/**
|
|
1027
|
+
* Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
1028
|
+
*/
|
|
1029
|
+
bank_accounts?: Capabilities.BankAccounts;
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* Capabilities that enable OutboundPayments to a card linked to this Account.
|
|
1033
|
+
*/
|
|
1034
|
+
cards?: Capabilities.Cards;
|
|
1035
|
+
|
|
1010
1036
|
/**
|
|
1011
1037
|
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
1012
1038
|
*/
|
|
@@ -1014,6 +1040,41 @@ declare module 'stripe' {
|
|
|
1014
1040
|
}
|
|
1015
1041
|
|
|
1016
1042
|
namespace Capabilities {
|
|
1043
|
+
interface BankAccounts {
|
|
1044
|
+
/**
|
|
1045
|
+
* Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
1046
|
+
*/
|
|
1047
|
+
local?: BankAccounts.Local;
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
1051
|
+
*/
|
|
1052
|
+
wire?: BankAccounts.Wire;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
namespace BankAccounts {
|
|
1056
|
+
interface Local {
|
|
1057
|
+
/**
|
|
1058
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1059
|
+
*/
|
|
1060
|
+
requested: boolean;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
interface Wire {
|
|
1064
|
+
/**
|
|
1065
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1066
|
+
*/
|
|
1067
|
+
requested: boolean;
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
interface Cards {
|
|
1072
|
+
/**
|
|
1073
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1074
|
+
*/
|
|
1075
|
+
requested: boolean;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1017
1078
|
interface StripeBalance {
|
|
1018
1079
|
/**
|
|
1019
1080
|
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
@@ -1031,6 +1092,184 @@ declare module 'stripe' {
|
|
|
1031
1092
|
}
|
|
1032
1093
|
}
|
|
1033
1094
|
}
|
|
1095
|
+
|
|
1096
|
+
interface Storer {
|
|
1097
|
+
/**
|
|
1098
|
+
* Capabilities to request on the Storer Configuration.
|
|
1099
|
+
*/
|
|
1100
|
+
capabilities?: Storer.Capabilities;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
namespace Storer {
|
|
1104
|
+
interface Capabilities {
|
|
1105
|
+
/**
|
|
1106
|
+
* Can provision a financial address to credit/debit a FinancialAccount.
|
|
1107
|
+
*/
|
|
1108
|
+
financial_addresses?: Capabilities.FinancialAddresses;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Can hold storage-type funds on Stripe.
|
|
1112
|
+
*/
|
|
1113
|
+
holds_currencies?: Capabilities.HoldsCurrencies;
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
1117
|
+
*/
|
|
1118
|
+
inbound_transfers?: Capabilities.InboundTransfers;
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
1122
|
+
*/
|
|
1123
|
+
outbound_payments?: Capabilities.OutboundPayments;
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
1127
|
+
*/
|
|
1128
|
+
outbound_transfers?: Capabilities.OutboundTransfers;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
namespace Capabilities {
|
|
1132
|
+
interface FinancialAddresses {
|
|
1133
|
+
/**
|
|
1134
|
+
* Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
1135
|
+
*/
|
|
1136
|
+
bank_accounts?: FinancialAddresses.BankAccounts;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
namespace FinancialAddresses {
|
|
1140
|
+
interface BankAccounts {
|
|
1141
|
+
/**
|
|
1142
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1143
|
+
*/
|
|
1144
|
+
requested: boolean;
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
interface HoldsCurrencies {
|
|
1149
|
+
/**
|
|
1150
|
+
* Can hold storage-type funds on Stripe in EUR.
|
|
1151
|
+
*/
|
|
1152
|
+
eur?: HoldsCurrencies.Eur;
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Can hold storage-type funds on Stripe in GBP.
|
|
1156
|
+
*/
|
|
1157
|
+
gbp?: HoldsCurrencies.Gbp;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* Can hold storage-type funds on Stripe in USD.
|
|
1161
|
+
*/
|
|
1162
|
+
usd?: HoldsCurrencies.Usd;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
namespace HoldsCurrencies {
|
|
1166
|
+
interface Eur {
|
|
1167
|
+
/**
|
|
1168
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1169
|
+
*/
|
|
1170
|
+
requested: boolean;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
interface Gbp {
|
|
1174
|
+
/**
|
|
1175
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1176
|
+
*/
|
|
1177
|
+
requested: boolean;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
interface Usd {
|
|
1181
|
+
/**
|
|
1182
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1183
|
+
*/
|
|
1184
|
+
requested: boolean;
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
interface InboundTransfers {
|
|
1189
|
+
/**
|
|
1190
|
+
* Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
1191
|
+
*/
|
|
1192
|
+
bank_accounts?: InboundTransfers.BankAccounts;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
namespace InboundTransfers {
|
|
1196
|
+
interface BankAccounts {
|
|
1197
|
+
/**
|
|
1198
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1199
|
+
*/
|
|
1200
|
+
requested: boolean;
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
interface OutboundPayments {
|
|
1205
|
+
/**
|
|
1206
|
+
* Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
1207
|
+
*/
|
|
1208
|
+
bank_accounts?: OutboundPayments.BankAccounts;
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
1212
|
+
*/
|
|
1213
|
+
cards?: OutboundPayments.Cards;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
1217
|
+
*/
|
|
1218
|
+
financial_accounts?: OutboundPayments.FinancialAccounts;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
namespace OutboundPayments {
|
|
1222
|
+
interface BankAccounts {
|
|
1223
|
+
/**
|
|
1224
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1225
|
+
*/
|
|
1226
|
+
requested: boolean;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
interface Cards {
|
|
1230
|
+
/**
|
|
1231
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1232
|
+
*/
|
|
1233
|
+
requested: boolean;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
interface FinancialAccounts {
|
|
1237
|
+
/**
|
|
1238
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1239
|
+
*/
|
|
1240
|
+
requested: boolean;
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
interface OutboundTransfers {
|
|
1245
|
+
/**
|
|
1246
|
+
* Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
1247
|
+
*/
|
|
1248
|
+
bank_accounts?: OutboundTransfers.BankAccounts;
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
1252
|
+
*/
|
|
1253
|
+
financial_accounts?: OutboundTransfers.FinancialAccounts;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
namespace OutboundTransfers {
|
|
1257
|
+
interface BankAccounts {
|
|
1258
|
+
/**
|
|
1259
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1260
|
+
*/
|
|
1261
|
+
requested: boolean;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
interface FinancialAccounts {
|
|
1265
|
+
/**
|
|
1266
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1267
|
+
*/
|
|
1268
|
+
requested: boolean;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1034
1273
|
}
|
|
1035
1274
|
|
|
1036
1275
|
type Dashboard = 'express' | 'full' | 'none';
|
|
@@ -1324,6 +1563,11 @@ declare module 'stripe' {
|
|
|
1324
1563
|
* Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
1325
1564
|
*/
|
|
1326
1565
|
account?: TermsOfService.Account;
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* Details on the Account's acceptance of Treasury-specific terms of service.
|
|
1569
|
+
*/
|
|
1570
|
+
storer?: TermsOfService.Storer;
|
|
1327
1571
|
}
|
|
1328
1572
|
|
|
1329
1573
|
namespace TermsOfService {
|
|
@@ -1343,6 +1587,23 @@ declare module 'stripe' {
|
|
|
1343
1587
|
*/
|
|
1344
1588
|
user_agent?: string;
|
|
1345
1589
|
}
|
|
1590
|
+
|
|
1591
|
+
interface Storer {
|
|
1592
|
+
/**
|
|
1593
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1594
|
+
*/
|
|
1595
|
+
date: string;
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
1599
|
+
*/
|
|
1600
|
+
ip: string;
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1604
|
+
*/
|
|
1605
|
+
user_agent?: string;
|
|
1606
|
+
}
|
|
1346
1607
|
}
|
|
1347
1608
|
}
|
|
1348
1609
|
|
|
@@ -2546,6 +2807,7 @@ declare module 'stripe' {
|
|
|
2546
2807
|
| 'configuration.customer'
|
|
2547
2808
|
| 'configuration.merchant'
|
|
2548
2809
|
| 'configuration.recipient'
|
|
2810
|
+
| 'configuration.storer'
|
|
2549
2811
|
| 'defaults'
|
|
2550
2812
|
| 'future_requirements'
|
|
2551
2813
|
| 'identity'
|
|
@@ -2566,6 +2828,7 @@ declare module 'stripe' {
|
|
|
2566
2828
|
| 'configuration.customer'
|
|
2567
2829
|
| 'configuration.merchant'
|
|
2568
2830
|
| 'configuration.recipient'
|
|
2831
|
+
| 'configuration.storer'
|
|
2569
2832
|
| 'defaults'
|
|
2570
2833
|
| 'future_requirements'
|
|
2571
2834
|
| 'identity'
|
|
@@ -2637,6 +2900,11 @@ declare module 'stripe' {
|
|
|
2637
2900
|
* The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
2638
2901
|
*/
|
|
2639
2902
|
recipient?: Configuration.Recipient;
|
|
2903
|
+
|
|
2904
|
+
/**
|
|
2905
|
+
* The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
2906
|
+
*/
|
|
2907
|
+
storer?: Configuration.Storer;
|
|
2640
2908
|
}
|
|
2641
2909
|
|
|
2642
2910
|
namespace Configuration {
|
|
@@ -2684,6 +2952,11 @@ declare module 'stripe' {
|
|
|
2684
2952
|
*/
|
|
2685
2953
|
ip_address?: string;
|
|
2686
2954
|
|
|
2955
|
+
/**
|
|
2956
|
+
* Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
|
|
2957
|
+
*/
|
|
2958
|
+
location_source?: AutomaticIndirectTax.LocationSource;
|
|
2959
|
+
|
|
2687
2960
|
/**
|
|
2688
2961
|
* A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
|
|
2689
2962
|
*/
|
|
@@ -2693,6 +2966,12 @@ declare module 'stripe' {
|
|
|
2693
2966
|
namespace AutomaticIndirectTax {
|
|
2694
2967
|
type Exempt = 'exempt' | 'none' | 'reverse';
|
|
2695
2968
|
|
|
2969
|
+
type LocationSource =
|
|
2970
|
+
| 'identity_address'
|
|
2971
|
+
| 'ip_address'
|
|
2972
|
+
| 'payment_method'
|
|
2973
|
+
| 'shipping_address';
|
|
2974
|
+
|
|
2696
2975
|
type ValidateLocation = 'auto' | 'deferred' | 'immediately';
|
|
2697
2976
|
}
|
|
2698
2977
|
|
|
@@ -3561,10 +3840,25 @@ declare module 'stripe' {
|
|
|
3561
3840
|
* Capabilities to request on the Recipient Configuration.
|
|
3562
3841
|
*/
|
|
3563
3842
|
capabilities?: Recipient.Capabilities;
|
|
3843
|
+
|
|
3844
|
+
/**
|
|
3845
|
+
* The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
|
|
3846
|
+
*/
|
|
3847
|
+
default_outbound_destination?: string;
|
|
3564
3848
|
}
|
|
3565
3849
|
|
|
3566
3850
|
namespace Recipient {
|
|
3567
3851
|
interface Capabilities {
|
|
3852
|
+
/**
|
|
3853
|
+
* Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
3854
|
+
*/
|
|
3855
|
+
bank_accounts?: Capabilities.BankAccounts;
|
|
3856
|
+
|
|
3857
|
+
/**
|
|
3858
|
+
* Capability that enable OutboundPayments to a debit card linked to this Account.
|
|
3859
|
+
*/
|
|
3860
|
+
cards?: Capabilities.Cards;
|
|
3861
|
+
|
|
3568
3862
|
/**
|
|
3569
3863
|
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
3570
3864
|
*/
|
|
@@ -3572,6 +3866,41 @@ declare module 'stripe' {
|
|
|
3572
3866
|
}
|
|
3573
3867
|
|
|
3574
3868
|
namespace Capabilities {
|
|
3869
|
+
interface BankAccounts {
|
|
3870
|
+
/**
|
|
3871
|
+
* Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
3872
|
+
*/
|
|
3873
|
+
local?: BankAccounts.Local;
|
|
3874
|
+
|
|
3875
|
+
/**
|
|
3876
|
+
* Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
3877
|
+
*/
|
|
3878
|
+
wire?: BankAccounts.Wire;
|
|
3879
|
+
}
|
|
3880
|
+
|
|
3881
|
+
namespace BankAccounts {
|
|
3882
|
+
interface Local {
|
|
3883
|
+
/**
|
|
3884
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3885
|
+
*/
|
|
3886
|
+
requested?: boolean;
|
|
3887
|
+
}
|
|
3888
|
+
|
|
3889
|
+
interface Wire {
|
|
3890
|
+
/**
|
|
3891
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3892
|
+
*/
|
|
3893
|
+
requested?: boolean;
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
interface Cards {
|
|
3898
|
+
/**
|
|
3899
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3900
|
+
*/
|
|
3901
|
+
requested?: boolean;
|
|
3902
|
+
}
|
|
3903
|
+
|
|
3575
3904
|
interface StripeBalance {
|
|
3576
3905
|
/**
|
|
3577
3906
|
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
@@ -3589,6 +3918,189 @@ declare module 'stripe' {
|
|
|
3589
3918
|
}
|
|
3590
3919
|
}
|
|
3591
3920
|
}
|
|
3921
|
+
|
|
3922
|
+
interface Storer {
|
|
3923
|
+
/**
|
|
3924
|
+
* Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
3925
|
+
*/
|
|
3926
|
+
applied?: boolean;
|
|
3927
|
+
|
|
3928
|
+
/**
|
|
3929
|
+
* Capabilities to request on the Storer Configuration.
|
|
3930
|
+
*/
|
|
3931
|
+
capabilities?: Storer.Capabilities;
|
|
3932
|
+
}
|
|
3933
|
+
|
|
3934
|
+
namespace Storer {
|
|
3935
|
+
interface Capabilities {
|
|
3936
|
+
/**
|
|
3937
|
+
* Can provision a financial address to credit/debit a FinancialAccount.
|
|
3938
|
+
*/
|
|
3939
|
+
financial_addresses?: Capabilities.FinancialAddresses;
|
|
3940
|
+
|
|
3941
|
+
/**
|
|
3942
|
+
* Can hold storage-type funds on Stripe.
|
|
3943
|
+
*/
|
|
3944
|
+
holds_currencies?: Capabilities.HoldsCurrencies;
|
|
3945
|
+
|
|
3946
|
+
/**
|
|
3947
|
+
* Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
3948
|
+
*/
|
|
3949
|
+
inbound_transfers?: Capabilities.InboundTransfers;
|
|
3950
|
+
|
|
3951
|
+
/**
|
|
3952
|
+
* Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
3953
|
+
*/
|
|
3954
|
+
outbound_payments?: Capabilities.OutboundPayments;
|
|
3955
|
+
|
|
3956
|
+
/**
|
|
3957
|
+
* Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
3958
|
+
*/
|
|
3959
|
+
outbound_transfers?: Capabilities.OutboundTransfers;
|
|
3960
|
+
}
|
|
3961
|
+
|
|
3962
|
+
namespace Capabilities {
|
|
3963
|
+
interface FinancialAddresses {
|
|
3964
|
+
/**
|
|
3965
|
+
* Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
3966
|
+
*/
|
|
3967
|
+
bank_accounts?: FinancialAddresses.BankAccounts;
|
|
3968
|
+
}
|
|
3969
|
+
|
|
3970
|
+
namespace FinancialAddresses {
|
|
3971
|
+
interface BankAccounts {
|
|
3972
|
+
/**
|
|
3973
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3974
|
+
*/
|
|
3975
|
+
requested?: boolean;
|
|
3976
|
+
}
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3979
|
+
interface HoldsCurrencies {
|
|
3980
|
+
/**
|
|
3981
|
+
* Can hold storage-type funds on Stripe in EUR.
|
|
3982
|
+
*/
|
|
3983
|
+
eur?: HoldsCurrencies.Eur;
|
|
3984
|
+
|
|
3985
|
+
/**
|
|
3986
|
+
* Can hold storage-type funds on Stripe in GBP.
|
|
3987
|
+
*/
|
|
3988
|
+
gbp?: HoldsCurrencies.Gbp;
|
|
3989
|
+
|
|
3990
|
+
/**
|
|
3991
|
+
* Can hold storage-type funds on Stripe in USD.
|
|
3992
|
+
*/
|
|
3993
|
+
usd?: HoldsCurrencies.Usd;
|
|
3994
|
+
}
|
|
3995
|
+
|
|
3996
|
+
namespace HoldsCurrencies {
|
|
3997
|
+
interface Eur {
|
|
3998
|
+
/**
|
|
3999
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4000
|
+
*/
|
|
4001
|
+
requested?: boolean;
|
|
4002
|
+
}
|
|
4003
|
+
|
|
4004
|
+
interface Gbp {
|
|
4005
|
+
/**
|
|
4006
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4007
|
+
*/
|
|
4008
|
+
requested?: boolean;
|
|
4009
|
+
}
|
|
4010
|
+
|
|
4011
|
+
interface Usd {
|
|
4012
|
+
/**
|
|
4013
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4014
|
+
*/
|
|
4015
|
+
requested?: boolean;
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
interface InboundTransfers {
|
|
4020
|
+
/**
|
|
4021
|
+
* Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
4022
|
+
*/
|
|
4023
|
+
bank_accounts?: InboundTransfers.BankAccounts;
|
|
4024
|
+
}
|
|
4025
|
+
|
|
4026
|
+
namespace InboundTransfers {
|
|
4027
|
+
interface BankAccounts {
|
|
4028
|
+
/**
|
|
4029
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4030
|
+
*/
|
|
4031
|
+
requested?: boolean;
|
|
4032
|
+
}
|
|
4033
|
+
}
|
|
4034
|
+
|
|
4035
|
+
interface OutboundPayments {
|
|
4036
|
+
/**
|
|
4037
|
+
* Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
4038
|
+
*/
|
|
4039
|
+
bank_accounts?: OutboundPayments.BankAccounts;
|
|
4040
|
+
|
|
4041
|
+
/**
|
|
4042
|
+
* Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
4043
|
+
*/
|
|
4044
|
+
cards?: OutboundPayments.Cards;
|
|
4045
|
+
|
|
4046
|
+
/**
|
|
4047
|
+
* Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
4048
|
+
*/
|
|
4049
|
+
financial_accounts?: OutboundPayments.FinancialAccounts;
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
namespace OutboundPayments {
|
|
4053
|
+
interface BankAccounts {
|
|
4054
|
+
/**
|
|
4055
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4056
|
+
*/
|
|
4057
|
+
requested?: boolean;
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4060
|
+
interface Cards {
|
|
4061
|
+
/**
|
|
4062
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4063
|
+
*/
|
|
4064
|
+
requested?: boolean;
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
interface FinancialAccounts {
|
|
4068
|
+
/**
|
|
4069
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4070
|
+
*/
|
|
4071
|
+
requested?: boolean;
|
|
4072
|
+
}
|
|
4073
|
+
}
|
|
4074
|
+
|
|
4075
|
+
interface OutboundTransfers {
|
|
4076
|
+
/**
|
|
4077
|
+
* Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
4078
|
+
*/
|
|
4079
|
+
bank_accounts?: OutboundTransfers.BankAccounts;
|
|
4080
|
+
|
|
4081
|
+
/**
|
|
4082
|
+
* Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
4083
|
+
*/
|
|
4084
|
+
financial_accounts?: OutboundTransfers.FinancialAccounts;
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
namespace OutboundTransfers {
|
|
4088
|
+
interface BankAccounts {
|
|
4089
|
+
/**
|
|
4090
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4091
|
+
*/
|
|
4092
|
+
requested?: boolean;
|
|
4093
|
+
}
|
|
4094
|
+
|
|
4095
|
+
interface FinancialAccounts {
|
|
4096
|
+
/**
|
|
4097
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4098
|
+
*/
|
|
4099
|
+
requested?: boolean;
|
|
4100
|
+
}
|
|
4101
|
+
}
|
|
4102
|
+
}
|
|
4103
|
+
}
|
|
3592
4104
|
}
|
|
3593
4105
|
|
|
3594
4106
|
type Dashboard = 'express' | 'full' | 'none';
|
|
@@ -4922,6 +5434,7 @@ declare module 'stripe' {
|
|
|
4922
5434
|
| 'configuration.customer'
|
|
4923
5435
|
| 'configuration.merchant'
|
|
4924
5436
|
| 'configuration.recipient'
|
|
5437
|
+
| 'configuration.storer'
|
|
4925
5438
|
| 'defaults'
|
|
4926
5439
|
| 'future_requirements'
|
|
4927
5440
|
| 'identity'
|
|
@@ -4950,7 +5463,11 @@ declare module 'stripe' {
|
|
|
4950
5463
|
}
|
|
4951
5464
|
|
|
4952
5465
|
namespace AccountListParams {
|
|
4953
|
-
type AppliedConfiguration =
|
|
5466
|
+
type AppliedConfiguration =
|
|
5467
|
+
| 'customer'
|
|
5468
|
+
| 'merchant'
|
|
5469
|
+
| 'recipient'
|
|
5470
|
+
| 'storer';
|
|
4954
5471
|
}
|
|
4955
5472
|
}
|
|
4956
5473
|
|
|
@@ -4965,7 +5482,11 @@ declare module 'stripe' {
|
|
|
4965
5482
|
}
|
|
4966
5483
|
|
|
4967
5484
|
namespace AccountCloseParams {
|
|
4968
|
-
type AppliedConfiguration =
|
|
5485
|
+
type AppliedConfiguration =
|
|
5486
|
+
| 'customer'
|
|
5487
|
+
| 'merchant'
|
|
5488
|
+
| 'recipient'
|
|
5489
|
+
| 'storer';
|
|
4969
5490
|
}
|
|
4970
5491
|
}
|
|
4971
5492
|
|