stripe 18.1.0-beta.3 → 18.1.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 +154 -1208
- package/OPENAPI_VERSION +1 -1
- package/README.md +11 -12
- package/VERSION +1 -1
- package/cjs/Error.js +3 -93
- package/cjs/RequestSender.js +5 -9
- package/cjs/StripeResource.js +1 -1
- package/cjs/Webhooks.js +6 -2
- package/cjs/apiVersion.js +1 -1
- package/cjs/net/FetchHttpClient.js +3 -4
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/Invoices.js +0 -4
- package/cjs/resources/PaymentIntents.js +0 -13
- 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/TestHelpers/Terminal/Readers.js +0 -8
- package/cjs/resources.js +18 -108
- package/cjs/stripe.core.js +2 -4
- package/cjs/utils.js +33 -4
- package/esm/Error.js +2 -81
- package/esm/RequestSender.js +6 -10
- package/esm/StripeResource.js +1 -1
- package/esm/Webhooks.js +6 -2
- package/esm/apiVersion.js +1 -1
- package/esm/net/FetchHttpClient.js +3 -4
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/Invoices.js +0 -4
- package/esm/resources/PaymentIntents.js +0 -13
- 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/TestHelpers/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -84
- package/esm/stripe.core.js +2 -4
- package/esm/utils.js +29 -3
- package/package.json +12 -3
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -300
- package/types/Accounts.d.ts +1 -212
- package/types/AccountsResource.d.ts +2 -546
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +1 -11
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +0 -166
- package/types/ChargesResource.d.ts +0 -1314
- package/types/Checkout/Sessions.d.ts +13 -306
- package/types/Checkout/SessionsResource.d.ts +1 -333
- package/types/ConfirmationTokens.d.ts +0 -120
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -9
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -5
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +23 -11
- package/types/Discounts.d.ts +0 -10
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +0 -698
- package/types/Events.d.ts +1 -100
- package/types/FinancialConnections/Accounts.d.ts +1 -31
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +2 -46
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +15 -138
- package/types/InvoicesResource.d.ts +15 -1471
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +2 -728
- package/types/PaymentIntentsResource.d.ts +3955 -8479
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -120
- package/types/PaymentMethodsResource.d.ts +2 -167
- package/types/Payouts.d.ts +0 -5
- package/types/PayoutsResource.d.ts +0 -5
- 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/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +2 -597
- package/types/QuotesResource.d.ts +224 -2571
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +1 -50
- package/types/SetupIntents.d.ts +2 -121
- package/types/SetupIntentsResource.d.ts +3 -730
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -23
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +8 -1236
- package/types/Subscriptions.d.ts +1 -97
- package/types/SubscriptionsResource.d.ts +9 -391
- package/types/Tax/Calculations.d.ts +11 -1
- package/types/Tax/CalculationsResource.d.ts +11 -1
- package/types/Tax/Registrations.d.ts +27 -0
- package/types/Tax/RegistrationsResource.d.ts +36 -0
- package/types/Tax/Transactions.d.ts +11 -1
- package/types/TaxIds.d.ts +11 -11
- package/types/TaxIdsResource.d.ts +11 -11
- package/types/Terminal/Readers.d.ts +0 -300
- package/types/Terminal/ReadersResource.d.ts +0 -220
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +7 -127
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -53
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundPaymentsResource.d.ts +0 -5
- 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/V2/EventTypes.d.ts +7 -677
- package/types/WebhookEndpointsResource.d.ts +4 -85
- package/types/index.d.ts +5 -146
- package/types/lib.d.ts +1 -11
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceSettings.js +0 -10
- 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/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- 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/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Privacy/RedactionJobs.js +0 -46
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -12
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/BalanceSettings.js +0 -7
- 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/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- 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/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Privacy/RedactionJobs.js +0 -43
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -9
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/BalanceSettings.d.ts +0 -89
- package/types/BalanceSettingsResource.d.ts +0 -108
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- 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/ExternalAccountsResource.d.ts +0 -304
- 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/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- 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/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1189
- package/types/OrdersResource.d.ts +0 -2981
- package/types/PaymentAttemptRecords.d.ts +0 -2112
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -110
- package/types/PaymentRecords.d.ts +0 -2105
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobRootObjects.d.ts +0 -35
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
- package/types/Privacy/RedactionJobs.d.ts +0 -43
- package/types/Privacy/RedactionJobsResource.d.ts +0 -240
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1687
- 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 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Core/AccountLinks.d.ts +0 -101
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3760
- package/types/V2/Core/Accounts.d.ts +0 -8057
- package/types/V2/Core/AccountsResource.d.ts +0 -10184
- package/types/V2/Core/Persons.d.ts +0 -1857
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -155
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -65
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -22
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -27
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -105
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -540
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -308
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -287
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -201
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -141
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -93
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -273
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -92
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -246
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -146
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -82
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -280
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -219
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -151
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -166
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
|
@@ -113,21 +113,11 @@ declare module 'stripe' {
|
|
|
113
113
|
*/
|
|
114
114
|
giropay?: PaymentMethodCreateParams.Giropay;
|
|
115
115
|
|
|
116
|
-
/**
|
|
117
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
118
|
-
*/
|
|
119
|
-
gopay?: PaymentMethodCreateParams.Gopay;
|
|
120
|
-
|
|
121
116
|
/**
|
|
122
117
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
123
118
|
*/
|
|
124
119
|
grabpay?: PaymentMethodCreateParams.Grabpay;
|
|
125
120
|
|
|
126
|
-
/**
|
|
127
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
128
|
-
*/
|
|
129
|
-
id_bank_transfer?: PaymentMethodCreateParams.IdBankTransfer;
|
|
130
|
-
|
|
131
121
|
/**
|
|
132
122
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
133
123
|
*/
|
|
@@ -163,11 +153,6 @@ declare module 'stripe' {
|
|
|
163
153
|
*/
|
|
164
154
|
link?: PaymentMethodCreateParams.Link;
|
|
165
155
|
|
|
166
|
-
/**
|
|
167
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
168
|
-
*/
|
|
169
|
-
mb_way?: PaymentMethodCreateParams.MbWay;
|
|
170
|
-
|
|
171
156
|
/**
|
|
172
157
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
173
158
|
*/
|
|
@@ -228,11 +213,6 @@ declare module 'stripe' {
|
|
|
228
213
|
*/
|
|
229
214
|
paypal?: PaymentMethodCreateParams.Paypal;
|
|
230
215
|
|
|
231
|
-
/**
|
|
232
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
233
|
-
*/
|
|
234
|
-
payto?: PaymentMethodCreateParams.Payto;
|
|
235
|
-
|
|
236
216
|
/**
|
|
237
217
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
238
218
|
*/
|
|
@@ -243,21 +223,11 @@ declare module 'stripe' {
|
|
|
243
223
|
*/
|
|
244
224
|
promptpay?: PaymentMethodCreateParams.Promptpay;
|
|
245
225
|
|
|
246
|
-
/**
|
|
247
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
248
|
-
*/
|
|
249
|
-
qris?: PaymentMethodCreateParams.Qris;
|
|
250
|
-
|
|
251
226
|
/**
|
|
252
227
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
253
228
|
*/
|
|
254
229
|
radar_options?: PaymentMethodCreateParams.RadarOptions;
|
|
255
230
|
|
|
256
|
-
/**
|
|
257
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
258
|
-
*/
|
|
259
|
-
rechnung?: PaymentMethodCreateParams.Rechnung;
|
|
260
|
-
|
|
261
231
|
/**
|
|
262
232
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
263
233
|
*/
|
|
@@ -278,21 +248,11 @@ declare module 'stripe' {
|
|
|
278
248
|
*/
|
|
279
249
|
sepa_debit?: PaymentMethodCreateParams.SepaDebit;
|
|
280
250
|
|
|
281
|
-
/**
|
|
282
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
283
|
-
*/
|
|
284
|
-
shopeepay?: PaymentMethodCreateParams.Shopeepay;
|
|
285
|
-
|
|
286
251
|
/**
|
|
287
252
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
288
253
|
*/
|
|
289
254
|
sofort?: PaymentMethodCreateParams.Sofort;
|
|
290
255
|
|
|
291
|
-
/**
|
|
292
|
-
* This hash contains details about the Stripe balance payment method.
|
|
293
|
-
*/
|
|
294
|
-
stripe_balance?: PaymentMethodCreateParams.StripeBalance;
|
|
295
|
-
|
|
296
256
|
/**
|
|
297
257
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
298
258
|
*/
|
|
@@ -548,21 +508,8 @@ declare module 'stripe' {
|
|
|
548
508
|
|
|
549
509
|
interface Giropay {}
|
|
550
510
|
|
|
551
|
-
interface Gopay {}
|
|
552
|
-
|
|
553
511
|
interface Grabpay {}
|
|
554
512
|
|
|
555
|
-
interface IdBankTransfer {
|
|
556
|
-
/**
|
|
557
|
-
* Bank where the account is held.
|
|
558
|
-
*/
|
|
559
|
-
bank?: IdBankTransfer.Bank;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
namespace IdBankTransfer {
|
|
563
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
564
|
-
}
|
|
565
|
-
|
|
566
513
|
interface Ideal {
|
|
567
514
|
/**
|
|
568
515
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -626,8 +573,6 @@ declare module 'stripe' {
|
|
|
626
573
|
|
|
627
574
|
interface Link {}
|
|
628
575
|
|
|
629
|
-
interface MbWay {}
|
|
630
|
-
|
|
631
576
|
interface Mobilepay {}
|
|
632
577
|
|
|
633
578
|
interface Multibanco {}
|
|
@@ -719,29 +664,10 @@ declare module 'stripe' {
|
|
|
719
664
|
|
|
720
665
|
interface Paypal {}
|
|
721
666
|
|
|
722
|
-
interface Payto {
|
|
723
|
-
/**
|
|
724
|
-
* The account number for the bank account.
|
|
725
|
-
*/
|
|
726
|
-
account_number?: string;
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* Bank-State-Branch number of the bank account.
|
|
730
|
-
*/
|
|
731
|
-
bsb_number?: string;
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* The PayID alias for the bank account.
|
|
735
|
-
*/
|
|
736
|
-
pay_id?: string;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
667
|
interface Pix {}
|
|
740
668
|
|
|
741
669
|
interface Promptpay {}
|
|
742
670
|
|
|
743
|
-
interface Qris {}
|
|
744
|
-
|
|
745
671
|
interface RadarOptions {
|
|
746
672
|
/**
|
|
747
673
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -749,32 +675,6 @@ declare module 'stripe' {
|
|
|
749
675
|
session?: string;
|
|
750
676
|
}
|
|
751
677
|
|
|
752
|
-
interface Rechnung {
|
|
753
|
-
/**
|
|
754
|
-
* Customer's date of birth
|
|
755
|
-
*/
|
|
756
|
-
dob: Rechnung.Dob;
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
namespace Rechnung {
|
|
760
|
-
interface Dob {
|
|
761
|
-
/**
|
|
762
|
-
* The day of birth, between 1 and 31.
|
|
763
|
-
*/
|
|
764
|
-
day: number;
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* The month of birth, between 1 and 12.
|
|
768
|
-
*/
|
|
769
|
-
month: number;
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* The four-digit year of birth.
|
|
773
|
-
*/
|
|
774
|
-
year: number;
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
|
|
778
678
|
interface RevolutPay {}
|
|
779
679
|
|
|
780
680
|
interface SamsungPay {}
|
|
@@ -788,8 +688,6 @@ declare module 'stripe' {
|
|
|
788
688
|
iban: string;
|
|
789
689
|
}
|
|
790
690
|
|
|
791
|
-
interface Shopeepay {}
|
|
792
|
-
|
|
793
691
|
interface Sofort {
|
|
794
692
|
/**
|
|
795
693
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -801,22 +699,6 @@ declare module 'stripe' {
|
|
|
801
699
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
802
700
|
}
|
|
803
701
|
|
|
804
|
-
interface StripeBalance {
|
|
805
|
-
/**
|
|
806
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
807
|
-
*/
|
|
808
|
-
account?: string;
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
812
|
-
*/
|
|
813
|
-
source_type?: StripeBalance.SourceType;
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
namespace StripeBalance {
|
|
817
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
818
|
-
}
|
|
819
|
-
|
|
820
702
|
interface Swish {}
|
|
821
703
|
|
|
822
704
|
interface Twint {}
|
|
@@ -840,16 +722,13 @@ declare module 'stripe' {
|
|
|
840
722
|
| 'eps'
|
|
841
723
|
| 'fpx'
|
|
842
724
|
| 'giropay'
|
|
843
|
-
| 'gopay'
|
|
844
725
|
| 'grabpay'
|
|
845
|
-
| 'id_bank_transfer'
|
|
846
726
|
| 'ideal'
|
|
847
727
|
| 'kakao_pay'
|
|
848
728
|
| 'klarna'
|
|
849
729
|
| 'konbini'
|
|
850
730
|
| 'kr_card'
|
|
851
731
|
| 'link'
|
|
852
|
-
| 'mb_way'
|
|
853
732
|
| 'mobilepay'
|
|
854
733
|
| 'multibanco'
|
|
855
734
|
| 'naver_pay'
|
|
@@ -860,18 +739,13 @@ declare module 'stripe' {
|
|
|
860
739
|
| 'payco'
|
|
861
740
|
| 'paynow'
|
|
862
741
|
| 'paypal'
|
|
863
|
-
| 'payto'
|
|
864
742
|
| 'pix'
|
|
865
743
|
| 'promptpay'
|
|
866
|
-
| 'qris'
|
|
867
|
-
| 'rechnung'
|
|
868
744
|
| 'revolut_pay'
|
|
869
745
|
| 'samsung_pay'
|
|
870
746
|
| 'satispay'
|
|
871
747
|
| 'sepa_debit'
|
|
872
|
-
| 'shopeepay'
|
|
873
748
|
| 'sofort'
|
|
874
|
-
| 'stripe_balance'
|
|
875
749
|
| 'swish'
|
|
876
750
|
| 'twint'
|
|
877
751
|
| 'us_bank_account'
|
|
@@ -959,11 +833,6 @@ declare module 'stripe' {
|
|
|
959
833
|
*/
|
|
960
834
|
pay_by_bank?: PaymentMethodUpdateParams.PayByBank;
|
|
961
835
|
|
|
962
|
-
/**
|
|
963
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
964
|
-
*/
|
|
965
|
-
payto?: PaymentMethodUpdateParams.Payto;
|
|
966
|
-
|
|
967
836
|
/**
|
|
968
837
|
* If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
|
969
838
|
*/
|
|
@@ -1034,23 +903,6 @@ declare module 'stripe' {
|
|
|
1034
903
|
|
|
1035
904
|
interface PayByBank {}
|
|
1036
905
|
|
|
1037
|
-
interface Payto {
|
|
1038
|
-
/**
|
|
1039
|
-
* The account number for the bank account.
|
|
1040
|
-
*/
|
|
1041
|
-
account_number?: string;
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* Bank-State-Branch number of the bank account.
|
|
1045
|
-
*/
|
|
1046
|
-
bsb_number?: string;
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* The PayID alias for the bank account.
|
|
1050
|
-
*/
|
|
1051
|
-
pay_id?: string;
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
906
|
interface UsBankAccount {
|
|
1055
907
|
/**
|
|
1056
908
|
* Bank account holder type.
|
|
@@ -1107,16 +959,13 @@ declare module 'stripe' {
|
|
|
1107
959
|
| 'eps'
|
|
1108
960
|
| 'fpx'
|
|
1109
961
|
| 'giropay'
|
|
1110
|
-
| 'gopay'
|
|
1111
962
|
| 'grabpay'
|
|
1112
|
-
| 'id_bank_transfer'
|
|
1113
963
|
| 'ideal'
|
|
1114
964
|
| 'kakao_pay'
|
|
1115
965
|
| 'klarna'
|
|
1116
966
|
| 'konbini'
|
|
1117
967
|
| 'kr_card'
|
|
1118
968
|
| 'link'
|
|
1119
|
-
| 'mb_way'
|
|
1120
969
|
| 'mobilepay'
|
|
1121
970
|
| 'multibanco'
|
|
1122
971
|
| 'naver_pay'
|
|
@@ -1127,18 +976,13 @@ declare module 'stripe' {
|
|
|
1127
976
|
| 'payco'
|
|
1128
977
|
| 'paynow'
|
|
1129
978
|
| 'paypal'
|
|
1130
|
-
| 'payto'
|
|
1131
979
|
| 'pix'
|
|
1132
980
|
| 'promptpay'
|
|
1133
|
-
| 'qris'
|
|
1134
|
-
| 'rechnung'
|
|
1135
981
|
| 'revolut_pay'
|
|
1136
982
|
| 'samsung_pay'
|
|
1137
983
|
| 'satispay'
|
|
1138
984
|
| 'sepa_debit'
|
|
1139
|
-
| 'shopeepay'
|
|
1140
985
|
| 'sofort'
|
|
1141
|
-
| 'stripe_balance'
|
|
1142
986
|
| 'swish'
|
|
1143
987
|
| 'twint'
|
|
1144
988
|
| 'us_bank_account'
|
|
@@ -1150,12 +994,7 @@ declare module 'stripe' {
|
|
|
1150
994
|
/**
|
|
1151
995
|
* The ID of the customer to which to attach the PaymentMethod.
|
|
1152
996
|
*/
|
|
1153
|
-
customer
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* The ID of the account to which to attach the PaymentMethod.
|
|
1157
|
-
*/
|
|
1158
|
-
customer_account?: string;
|
|
997
|
+
customer: string;
|
|
1159
998
|
|
|
1160
999
|
/**
|
|
1161
1000
|
* Specifies which fields in the response should be expanded.
|
|
@@ -1232,11 +1071,7 @@ declare module 'stripe' {
|
|
|
1232
1071
|
*/
|
|
1233
1072
|
attach(
|
|
1234
1073
|
id: string,
|
|
1235
|
-
params
|
|
1236
|
-
options?: RequestOptions
|
|
1237
|
-
): Promise<Stripe.Response<Stripe.PaymentMethod>>;
|
|
1238
|
-
attach(
|
|
1239
|
-
id: string,
|
|
1074
|
+
params: PaymentMethodAttachParams,
|
|
1240
1075
|
options?: RequestOptions
|
|
1241
1076
|
): Promise<Stripe.Response<Stripe.PaymentMethod>>;
|
|
1242
1077
|
|
package/types/Payouts.d.ts
CHANGED
|
@@ -112,11 +112,6 @@ declare module 'stripe' {
|
|
|
112
112
|
*/
|
|
113
113
|
original_payout: string | Stripe.Payout | null;
|
|
114
114
|
|
|
115
|
-
/**
|
|
116
|
-
* ID of the v2 FinancialAccount the funds are sent to.
|
|
117
|
-
*/
|
|
118
|
-
payout_method?: string | null;
|
|
119
|
-
|
|
120
115
|
/**
|
|
121
116
|
* If `completed`, you can use the [Balance Transactions API](https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout) to list all balance transactions that are paid out in this payout.
|
|
122
117
|
*/
|
|
@@ -38,11 +38,6 @@ declare module 'stripe' {
|
|
|
38
38
|
*/
|
|
39
39
|
method?: PayoutCreateParams.Method;
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* The ID of a v2 FinancialAccount to send funds to.
|
|
43
|
-
*/
|
|
44
|
-
payout_method?: string;
|
|
45
|
-
|
|
46
41
|
/**
|
|
47
42
|
* The balance type of your Stripe balance to draw this payout from. Balances for different payment sources are kept separately. You can find the amounts with the Balances API. One of `bank_account`, `card`, or `fpx`.
|
|
48
43
|
*/
|
package/types/Prices.d.ts
CHANGED
|
@@ -93,11 +93,6 @@ declare module 'stripe' {
|
|
|
93
93
|
*/
|
|
94
94
|
metadata: Stripe.Metadata;
|
|
95
95
|
|
|
96
|
-
/**
|
|
97
|
-
* Subscriptions using this price will be migrated to use the new referenced price.
|
|
98
|
-
*/
|
|
99
|
-
migrate_to?: Price.MigrateTo | null;
|
|
100
|
-
|
|
101
96
|
/**
|
|
102
97
|
* A brief description of the price, hidden from customers.
|
|
103
98
|
*/
|
|
@@ -244,23 +239,6 @@ declare module 'stripe' {
|
|
|
244
239
|
preset: number | null;
|
|
245
240
|
}
|
|
246
241
|
|
|
247
|
-
interface MigrateTo {
|
|
248
|
-
/**
|
|
249
|
-
* The behavior controlling at what point in the subscription lifecycle to migrate the price
|
|
250
|
-
*/
|
|
251
|
-
behavior: 'at_cycle_end';
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* The unix timestamp after at which subscriptions will start to migrate to the new price.
|
|
255
|
-
*/
|
|
256
|
-
effective_after: number;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* The id of the price being migrated to
|
|
260
|
-
*/
|
|
261
|
-
price: string;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
242
|
interface Recurring {
|
|
265
243
|
/**
|
|
266
244
|
* The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.
|
|
@@ -361,11 +361,6 @@ declare module 'stripe' {
|
|
|
361
361
|
*/
|
|
362
362
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
363
363
|
|
|
364
|
-
/**
|
|
365
|
-
* If specified, subscriptions using this price will be updated to use the new referenced price.
|
|
366
|
-
*/
|
|
367
|
-
migrate_to?: Stripe.Emptyable<PriceUpdateParams.MigrateTo>;
|
|
368
|
-
|
|
369
364
|
/**
|
|
370
365
|
* A brief description of the price, hidden from customers.
|
|
371
366
|
*/
|
|
@@ -463,23 +458,6 @@ declare module 'stripe' {
|
|
|
463
458
|
}
|
|
464
459
|
}
|
|
465
460
|
|
|
466
|
-
interface MigrateTo {
|
|
467
|
-
/**
|
|
468
|
-
* The behavior controlling the point in the subscription lifecycle after which to migrate the price. Currently must be `at_cycle_end`.
|
|
469
|
-
*/
|
|
470
|
-
behavior: 'at_cycle_end';
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* The time after which subscriptions should start using the new price.
|
|
474
|
-
*/
|
|
475
|
-
effective_after?: number;
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* The ID of the price object.
|
|
479
|
-
*/
|
|
480
|
-
price: string;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
461
|
type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
|
|
484
462
|
}
|
|
485
463
|
|
package/types/Products.d.ts
CHANGED
|
@@ -98,11 +98,6 @@ declare module 'stripe' {
|
|
|
98
98
|
*/
|
|
99
99
|
package_dimensions: Product.PackageDimensions | null;
|
|
100
100
|
|
|
101
|
-
/**
|
|
102
|
-
* Provisioning configuration for this product.
|
|
103
|
-
*/
|
|
104
|
-
provisioning?: Product.Provisioning | null;
|
|
105
|
-
|
|
106
101
|
/**
|
|
107
102
|
* Whether this product is shipped (i.e., physical goods).
|
|
108
103
|
*/
|
|
@@ -169,40 +164,6 @@ declare module 'stripe' {
|
|
|
169
164
|
width: number;
|
|
170
165
|
}
|
|
171
166
|
|
|
172
|
-
interface Provisioning {
|
|
173
|
-
gift_card: Provisioning.GiftCard | null;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* The type of provisioning, only `gift_card` currently supported.
|
|
177
|
-
*/
|
|
178
|
-
type: 'gift_card';
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
namespace Provisioning {
|
|
182
|
-
interface GiftCard {
|
|
183
|
-
fixed_amount: GiftCard.FixedAmount | null;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* The specific type of gift_card provisioning, only `fixed_amount` currently supported.
|
|
187
|
-
*/
|
|
188
|
-
type: 'fixed_amount';
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
namespace GiftCard {
|
|
192
|
-
interface FixedAmount {
|
|
193
|
-
/**
|
|
194
|
-
* The initial amount with which the provisioned gift card will be created.
|
|
195
|
-
*/
|
|
196
|
-
amount: number;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
200
|
-
*/
|
|
201
|
-
currency: string;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
167
|
type Type = 'good' | 'service';
|
|
207
168
|
}
|
|
208
169
|
}
|
|
@@ -53,11 +53,6 @@ declare module 'stripe' {
|
|
|
53
53
|
*/
|
|
54
54
|
package_dimensions?: ProductCreateParams.PackageDimensions;
|
|
55
55
|
|
|
56
|
-
/**
|
|
57
|
-
* Provisioning configuration for this product.
|
|
58
|
-
*/
|
|
59
|
-
provisioning?: ProductCreateParams.Provisioning;
|
|
60
|
-
|
|
61
56
|
/**
|
|
62
57
|
* Whether this product is shipped (i.e., physical goods).
|
|
63
58
|
*/
|
|
@@ -288,37 +283,6 @@ declare module 'stripe' {
|
|
|
288
283
|
width: number;
|
|
289
284
|
}
|
|
290
285
|
|
|
291
|
-
interface Provisioning {
|
|
292
|
-
gift_card?: Provisioning.GiftCard;
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* The type of provisioning, only `gift_card` currently supported.
|
|
296
|
-
*/
|
|
297
|
-
type: 'gift_card';
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
namespace Provisioning {
|
|
301
|
-
interface GiftCard {
|
|
302
|
-
fixed_amount?: GiftCard.FixedAmount;
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* The specific type of gift_card provisioning, only `fixed_amount` currently supported.
|
|
306
|
-
*/
|
|
307
|
-
type: 'fixed_amount';
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
namespace GiftCard {
|
|
311
|
-
interface FixedAmount {
|
|
312
|
-
/**
|
|
313
|
-
* The initial amount with which the provisioned gift card will be created.
|
|
314
|
-
*/
|
|
315
|
-
amount: number;
|
|
316
|
-
|
|
317
|
-
currency: string;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
286
|
type Type = 'good' | 'service';
|
|
323
287
|
}
|
|
324
288
|
|
|
@@ -44,11 +44,6 @@ declare module 'stripe' {
|
|
|
44
44
|
*/
|
|
45
45
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
46
46
|
|
|
47
|
-
/**
|
|
48
|
-
* The account that this promotion code can be used by.
|
|
49
|
-
*/
|
|
50
|
-
customer_account?: string | null;
|
|
51
|
-
|
|
52
47
|
/**
|
|
53
48
|
* Date at which the promotion code can no longer be redeemed.
|
|
54
49
|
*/
|
|
@@ -25,11 +25,6 @@ declare module 'stripe' {
|
|
|
25
25
|
*/
|
|
26
26
|
customer?: string;
|
|
27
27
|
|
|
28
|
-
/**
|
|
29
|
-
* The account that this promotion code can be used by. If not set, the promotion code can be used by all accounts.
|
|
30
|
-
*/
|
|
31
|
-
customer_account?: string;
|
|
32
|
-
|
|
33
28
|
/**
|
|
34
29
|
* Specifies which fields in the response should be expanded.
|
|
35
30
|
*/
|
|
@@ -166,11 +161,6 @@ declare module 'stripe' {
|
|
|
166
161
|
*/
|
|
167
162
|
customer?: string;
|
|
168
163
|
|
|
169
|
-
/**
|
|
170
|
-
* Only return promotion codes that are restricted to this account.
|
|
171
|
-
*/
|
|
172
|
-
customer_account?: string;
|
|
173
|
-
|
|
174
164
|
/**
|
|
175
165
|
* Specifies which fields in the response should be expanded.
|
|
176
166
|
*/
|