stripe 17.7.0-beta.1 → 17.7.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 +120 -1064
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -8
- 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 -48
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -8
- 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 -33
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -243
- package/types/Accounts.d.ts +1 -205
- package/types/AccountsResource.d.ts +2 -526
- package/types/Billing/CreditBalanceSummaryResource.d.ts +1 -1
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +7 -2
- package/types/Cards.d.ts +0 -5
- package/types/Charges.d.ts +1 -149
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +29 -302
- package/types/Checkout/SessionsResource.d.ts +30 -383
- package/types/ConfirmationTokens.d.ts +0 -99
- 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 -7
- package/types/EventTypes.d.ts +0 -596
- package/types/Events.d.ts +0 -93
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -137
- package/types/InvoicesResource.d.ts +1882 -5567
- package/types/Issuing/Authorizations.d.ts +0 -1
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -32
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +30 -648
- package/types/PaymentIntentsResource.d.ts +3848 -8060
- 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 -99
- package/types/PaymentMethodsResource.d.ts +0 -133
- 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 +5 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +0 -38
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -645
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -91
- package/types/SubscriptionsResource.d.ts +2 -369
- package/types/Terminal/Readers.d.ts +0 -290
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +1 -3
- 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/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 +2 -71
- package/types/index.d.ts +0 -62
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/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/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -29
- 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/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/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/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -26
- 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/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- 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/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 -113
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- 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 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1179
- package/types/OrdersResource.d.ts +0 -2961
- package/types/PaymentAttemptRecords.d.ts +0 -242
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentRecords.d.ts +0 -242
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1658
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
- 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/Invoices.d.ts
CHANGED
|
@@ -89,11 +89,6 @@ declare module 'stripe' {
|
|
|
89
89
|
*/
|
|
90
90
|
amount_due: number;
|
|
91
91
|
|
|
92
|
-
/**
|
|
93
|
-
* Amount that was overpaid on the invoice. Overpayments are debited to the customer's credit balance.
|
|
94
|
-
*/
|
|
95
|
-
amount_overpaid?: number;
|
|
96
|
-
|
|
97
92
|
/**
|
|
98
93
|
* The amount, in cents (or local equivalent), that was paid.
|
|
99
94
|
*/
|
|
@@ -109,11 +104,6 @@ declare module 'stripe' {
|
|
|
109
104
|
*/
|
|
110
105
|
amount_shipping: number;
|
|
111
106
|
|
|
112
|
-
/**
|
|
113
|
-
* List of expected payments and corresponding due dates. This value will be null for invoices where collection_method=charge_automatically.
|
|
114
|
-
*/
|
|
115
|
-
amounts_due?: Array<Invoice.AmountsDue> | null;
|
|
116
|
-
|
|
117
107
|
/**
|
|
118
108
|
* ID of the Connect Application that created the invoice.
|
|
119
109
|
*/
|
|
@@ -228,11 +218,6 @@ declare module 'stripe' {
|
|
|
228
218
|
*/
|
|
229
219
|
customer_tax_ids?: Array<Invoice.CustomerTaxId> | null;
|
|
230
220
|
|
|
231
|
-
/**
|
|
232
|
-
* The margins applied to the invoice. Can be overridden by line item `margins`. Use `expand[]=default_margins` to expand each margin.
|
|
233
|
-
*/
|
|
234
|
-
default_margins?: Array<string | Stripe.Margin> | null;
|
|
235
|
-
|
|
236
221
|
/**
|
|
237
222
|
* ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.
|
|
238
223
|
*/
|
|
@@ -362,11 +347,6 @@ declare module 'stripe' {
|
|
|
362
347
|
|
|
363
348
|
payment_settings: Invoice.PaymentSettings;
|
|
364
349
|
|
|
365
|
-
/**
|
|
366
|
-
* Payments for this invoice
|
|
367
|
-
*/
|
|
368
|
-
payments?: ApiList<Stripe.InvoicePayment>;
|
|
369
|
-
|
|
370
350
|
/**
|
|
371
351
|
* End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](https://stripe.com/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.
|
|
372
352
|
*/
|
|
@@ -481,11 +461,6 @@ declare module 'stripe' {
|
|
|
481
461
|
*/
|
|
482
462
|
total_excluding_tax: number | null;
|
|
483
463
|
|
|
484
|
-
/**
|
|
485
|
-
* The aggregate amounts calculated per margin across all line items.
|
|
486
|
-
*/
|
|
487
|
-
total_margin_amounts?: Array<Invoice.TotalMarginAmount> | null;
|
|
488
|
-
|
|
489
464
|
/**
|
|
490
465
|
* Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of total_pretax_credit_amounts across all invoice line items.
|
|
491
466
|
*/
|
|
@@ -510,52 +485,6 @@ declare module 'stripe' {
|
|
|
510
485
|
}
|
|
511
486
|
|
|
512
487
|
namespace Invoice {
|
|
513
|
-
interface AmountsDue {
|
|
514
|
-
/**
|
|
515
|
-
* Incremental amount due for this payment in cents (or local equivalent).
|
|
516
|
-
*/
|
|
517
|
-
amount: number;
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* The amount in cents (or local equivalent) that was paid for this payment.
|
|
521
|
-
*/
|
|
522
|
-
amount_paid: number;
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* The difference between the payment's amount and amount_paid, in cents (or local equivalent).
|
|
526
|
-
*/
|
|
527
|
-
amount_remaining: number;
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* Number of days from when invoice is finalized until the payment is due.
|
|
531
|
-
*/
|
|
532
|
-
days_until_due: number | null;
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
536
|
-
*/
|
|
537
|
-
description: string | null;
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* Date on which a payment plan's payment is due.
|
|
541
|
-
*/
|
|
542
|
-
due_date: number | null;
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* Timestamp when the payment was paid.
|
|
546
|
-
*/
|
|
547
|
-
paid_at: number | null;
|
|
548
|
-
|
|
549
|
-
/**
|
|
550
|
-
* The status of the payment, one of `open`, `paid`, or `past_due`
|
|
551
|
-
*/
|
|
552
|
-
status: AmountsDue.Status;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
namespace AmountsDue {
|
|
556
|
-
type Status = 'open' | 'paid' | 'past_due';
|
|
557
|
-
}
|
|
558
|
-
|
|
559
488
|
interface AutomaticTax {
|
|
560
489
|
/**
|
|
561
490
|
* If Stripe disabled automatic tax, this enum describes why.
|
|
@@ -961,15 +890,11 @@ declare module 'stripe' {
|
|
|
961
890
|
| 'email_invalid'
|
|
962
891
|
| 'expired_card'
|
|
963
892
|
| 'financial_connections_account_inactive'
|
|
964
|
-
| 'financial_connections_institution_unavailable'
|
|
965
893
|
| 'financial_connections_no_successful_transaction_refresh'
|
|
966
894
|
| 'forwarding_api_inactive'
|
|
967
895
|
| 'forwarding_api_invalid_parameter'
|
|
968
896
|
| 'forwarding_api_upstream_connection_error'
|
|
969
897
|
| 'forwarding_api_upstream_connection_timeout'
|
|
970
|
-
| 'gift_card_balance_insufficient'
|
|
971
|
-
| 'gift_card_code_exists'
|
|
972
|
-
| 'gift_card_inactive'
|
|
973
898
|
| 'idempotency_key_in_use'
|
|
974
899
|
| 'incorrect_address'
|
|
975
900
|
| 'incorrect_cvc'
|
|
@@ -1059,7 +984,6 @@ declare module 'stripe' {
|
|
|
1059
984
|
| 'return_intent_already_processed'
|
|
1060
985
|
| 'routing_number_invalid'
|
|
1061
986
|
| 'secret_key_required'
|
|
1062
|
-
| 'sensitive_data_access_expired'
|
|
1063
987
|
| 'sepa_unsupported_account'
|
|
1064
988
|
| 'setup_attempt_failed'
|
|
1065
989
|
| 'setup_intent_authentication_failure'
|
|
@@ -1077,7 +1001,6 @@ declare module 'stripe' {
|
|
|
1077
1001
|
| 'taxes_calculation_failed'
|
|
1078
1002
|
| 'terminal_location_country_unsupported'
|
|
1079
1003
|
| 'terminal_reader_busy'
|
|
1080
|
-
| 'terminal_reader_collected_data_invalid'
|
|
1081
1004
|
| 'terminal_reader_hardware_fault'
|
|
1082
1005
|
| 'terminal_reader_invalid_location_for_activation'
|
|
1083
1006
|
| 'terminal_reader_invalid_location_for_payment'
|
|
@@ -1138,11 +1061,6 @@ declare module 'stripe' {
|
|
|
1138
1061
|
*/
|
|
1139
1062
|
customer_balance: PaymentMethodOptions.CustomerBalance | null;
|
|
1140
1063
|
|
|
1141
|
-
/**
|
|
1142
|
-
* If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice's PaymentIntent.
|
|
1143
|
-
*/
|
|
1144
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer | null;
|
|
1145
|
-
|
|
1146
1064
|
/**
|
|
1147
1065
|
* If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice's PaymentIntent.
|
|
1148
1066
|
*/
|
|
@@ -1248,8 +1166,6 @@ declare module 'stripe' {
|
|
|
1248
1166
|
}
|
|
1249
1167
|
}
|
|
1250
1168
|
|
|
1251
|
-
interface IdBankTransfer {}
|
|
1252
|
-
|
|
1253
1169
|
interface Konbini {}
|
|
1254
1170
|
|
|
1255
1171
|
interface SepaDebit {}
|
|
@@ -1284,11 +1200,6 @@ declare module 'stripe' {
|
|
|
1284
1200
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1285
1201
|
*/
|
|
1286
1202
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1287
|
-
|
|
1288
|
-
/**
|
|
1289
|
-
* The institution to use to filter for possible accounts to link.
|
|
1290
|
-
*/
|
|
1291
|
-
institution?: string;
|
|
1292
1203
|
}
|
|
1293
1204
|
|
|
1294
1205
|
namespace Filters {
|
|
@@ -1301,11 +1212,7 @@ declare module 'stripe' {
|
|
|
1301
1212
|
| 'payment_method'
|
|
1302
1213
|
| 'transactions';
|
|
1303
1214
|
|
|
1304
|
-
type Prefetch =
|
|
1305
|
-
| 'balances'
|
|
1306
|
-
| 'inferred_balances'
|
|
1307
|
-
| 'ownership'
|
|
1308
|
-
| 'transactions';
|
|
1215
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1309
1216
|
}
|
|
1310
1217
|
|
|
1311
1218
|
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
@@ -1323,13 +1230,11 @@ declare module 'stripe' {
|
|
|
1323
1230
|
| 'boleto'
|
|
1324
1231
|
| 'card'
|
|
1325
1232
|
| 'cashapp'
|
|
1326
|
-
| 'custom'
|
|
1327
1233
|
| 'customer_balance'
|
|
1328
1234
|
| 'eps'
|
|
1329
1235
|
| 'fpx'
|
|
1330
1236
|
| 'giropay'
|
|
1331
1237
|
| 'grabpay'
|
|
1332
|
-
| 'id_bank_transfer'
|
|
1333
1238
|
| 'ideal'
|
|
1334
1239
|
| 'jp_credit_transfer'
|
|
1335
1240
|
| 'kakao_pay'
|
|
@@ -1513,29 +1418,6 @@ declare module 'stripe' {
|
|
|
1513
1418
|
* *Note: This attribute is populated only for invoices created on or after June 29, 2023.*
|
|
1514
1419
|
*/
|
|
1515
1420
|
metadata: Stripe.Metadata | null;
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment).
|
|
1519
|
-
*/
|
|
1520
|
-
pause_collection?: SubscriptionDetails.PauseCollection | null;
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
namespace SubscriptionDetails {
|
|
1524
|
-
interface PauseCollection {
|
|
1525
|
-
/**
|
|
1526
|
-
* The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
|
1527
|
-
*/
|
|
1528
|
-
behavior: PauseCollection.Behavior;
|
|
1529
|
-
|
|
1530
|
-
/**
|
|
1531
|
-
* The time after which the subscription will resume collecting payments.
|
|
1532
|
-
*/
|
|
1533
|
-
resumes_at: number | null;
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
|
-
namespace PauseCollection {
|
|
1537
|
-
type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
|
|
1538
|
-
}
|
|
1539
1421
|
}
|
|
1540
1422
|
|
|
1541
1423
|
interface ThresholdReason {
|
|
@@ -1576,18 +1458,6 @@ declare module 'stripe' {
|
|
|
1576
1458
|
discount: string | Stripe.Discount | Stripe.DeletedDiscount;
|
|
1577
1459
|
}
|
|
1578
1460
|
|
|
1579
|
-
interface TotalMarginAmount {
|
|
1580
|
-
/**
|
|
1581
|
-
* The amount, in cents (or local equivalent), of the reduction in line item amount.
|
|
1582
|
-
*/
|
|
1583
|
-
amount: number;
|
|
1584
|
-
|
|
1585
|
-
/**
|
|
1586
|
-
* The margin that was applied to get this margin amount.
|
|
1587
|
-
*/
|
|
1588
|
-
margin: string | Stripe.Margin;
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
1461
|
interface TotalPretaxCreditAmount {
|
|
1592
1462
|
/**
|
|
1593
1463
|
* The amount, in cents (or local equivalent), of the pretax credit amount.
|
|
@@ -1607,11 +1477,6 @@ declare module 'stripe' {
|
|
|
1607
1477
|
*/
|
|
1608
1478
|
discount?: string | Stripe.Discount | Stripe.DeletedDiscount;
|
|
1609
1479
|
|
|
1610
|
-
/**
|
|
1611
|
-
* The margin that was applied to get this pretax credit amount.
|
|
1612
|
-
*/
|
|
1613
|
-
margin?: string | Stripe.Margin;
|
|
1614
|
-
|
|
1615
1480
|
/**
|
|
1616
1481
|
* Type of the pretax credit amount referenced.
|
|
1617
1482
|
*/
|
|
@@ -1619,7 +1484,7 @@ declare module 'stripe' {
|
|
|
1619
1484
|
}
|
|
1620
1485
|
|
|
1621
1486
|
namespace TotalPretaxCreditAmount {
|
|
1622
|
-
type Type = 'credit_balance_transaction' | 'discount'
|
|
1487
|
+
type Type = 'credit_balance_transaction' | 'discount';
|
|
1623
1488
|
}
|
|
1624
1489
|
|
|
1625
1490
|
interface TotalTaxAmount {
|