stripe 15.12.0-beta.1 → 16.0.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 +155 -746
- package/README.md +0 -33
- package/VERSION +1 -1
- package/cjs/RequestSender.js +5 -66
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +2 -3
- package/cjs/multipart.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -25
- package/cjs/resources/OAuth.js +1 -1
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +4 -0
- package/cjs/resources.js +10 -36
- package/cjs/stripe.core.js +3 -6
- package/cjs/utils.js +3 -30
- package/esm/RequestSender.js +6 -67
- package/esm/StripeResource.js +2 -2
- package/esm/apiVersion.js +1 -2
- package/esm/multipart.js +2 -2
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -25
- package/esm/resources/OAuth.js +2 -2
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +4 -0
- package/esm/resources.js +0 -22
- package/esm/stripe.core.js +3 -6
- package/esm/utils.js +1 -27
- package/package.json +5 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -15
- package/types/AccountSessionsResource.d.ts +0 -205
- package/types/Accounts.d.ts +1 -88
- package/types/AccountsResource.d.ts +1 -205
- package/types/BalanceTransactionSources.d.ts +0 -1
- package/types/Capabilities.d.ts +27 -7
- package/types/Charges.d.ts +0 -67
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +3 -24
- package/types/Checkout/SessionsResource.d.ts +3 -17
- package/types/ConfirmationTokens.d.ts +0 -83
- 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/CustomerSessions.d.ts +0 -55
- package/types/CustomerSessionsResource.d.ts +0 -55
- package/types/CustomersResource.d.ts +4 -4
- package/types/Disputes.d.ts +0 -167
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +0 -426
- package/types/Events.d.ts +0 -83
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -44
- package/types/FinancialConnections/SessionsResource.d.ts +1 -33
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +0 -22
- package/types/Invoices.d.ts +3 -111
- package/types/InvoicesResource.d.ts +2171 -6311
- package/types/Issuing/Authorizations.d.ts +173 -0
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Cards.d.ts +0 -34
- package/types/Issuing/CardsResource.d.ts +0 -125
- package/types/Issuing/Transactions.d.ts +112 -6
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -463
- package/types/PaymentIntentsResource.d.ts +3360 -6731
- package/types/PaymentLinks.d.ts +1 -0
- package/types/PaymentLinksResource.d.ts +15 -1
- package/types/PaymentMethods.d.ts +0 -62
- package/types/PaymentMethodsResource.d.ts +12 -124
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -578
- package/types/QuotesResource.d.ts +266 -3175
- package/types/SetupAttempts.d.ts +0 -8
- package/types/SetupIntents.d.ts +1 -104
- package/types/SetupIntentsResource.d.ts +9 -527
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -164
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -41
- package/types/SubscriptionsResource.d.ts +2 -337
- package/types/Tax/Calculations.d.ts +2 -1
- package/types/Tax/CalculationsResource.d.ts +4 -3
- package/types/Tax/Transactions.d.ts +2 -1
- package/types/TaxIds.d.ts +2 -1
- package/types/TaxIdsResource.d.ts +2 -1
- package/types/Terminal/ConnectionTokens.d.ts +1 -1
- package/types/Terminal/ConnectionTokensResource.d.ts +1 -1
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -208
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +480 -7
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +262 -14
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- 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 -51
- package/types/index.d.ts +0 -62
- package/types/lib.d.ts +1 -13
- 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/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/QuotePhases.js +0 -22
- package/cjs/resources/Tax/Forms.js +0 -20
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/QuotePhases.js +0 -19
- package/esm/resources/Tax/Forms.js +0 -17
- package/types/AccountNotices.d.ts +0 -110
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/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 -91
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1056
- package/types/OrdersResource.d.ts +0 -2709
- package/types/PlatformTaxFees.d.ts +0 -35
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePhases.d.ts +0 -198
- package/types/QuotePhasesResource.d.ts +0 -67
- package/types/QuotePreviewInvoices.d.ts +0 -1514
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
|
@@ -383,6 +383,11 @@ declare module 'stripe' {
|
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
interface PurchaseDetails {
|
|
386
|
+
/**
|
|
387
|
+
* Fleet-specific information for transactions using Fleet cards.
|
|
388
|
+
*/
|
|
389
|
+
fleet?: PurchaseDetails.Fleet;
|
|
390
|
+
|
|
386
391
|
/**
|
|
387
392
|
* Information about the flight that was purchased with this transaction.
|
|
388
393
|
*/
|
|
@@ -410,6 +415,112 @@ declare module 'stripe' {
|
|
|
410
415
|
}
|
|
411
416
|
|
|
412
417
|
namespace PurchaseDetails {
|
|
418
|
+
interface Fleet {
|
|
419
|
+
/**
|
|
420
|
+
* Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.
|
|
421
|
+
*/
|
|
422
|
+
cardholder_prompt_data?: Fleet.CardholderPromptData;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.
|
|
426
|
+
*/
|
|
427
|
+
purchase_type?: Fleet.PurchaseType;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.
|
|
431
|
+
*/
|
|
432
|
+
reported_breakdown?: Fleet.ReportedBreakdown;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.
|
|
436
|
+
*/
|
|
437
|
+
service_type?: Fleet.ServiceType;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
namespace Fleet {
|
|
441
|
+
interface CardholderPromptData {
|
|
442
|
+
/**
|
|
443
|
+
* Driver ID.
|
|
444
|
+
*/
|
|
445
|
+
driver_id?: string;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Odometer reading.
|
|
449
|
+
*/
|
|
450
|
+
odometer?: number;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.
|
|
454
|
+
*/
|
|
455
|
+
unspecified_id?: string;
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* User ID.
|
|
459
|
+
*/
|
|
460
|
+
user_id?: string;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* Vehicle number.
|
|
464
|
+
*/
|
|
465
|
+
vehicle_number?: string;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
type PurchaseType =
|
|
469
|
+
| 'fuel_and_non_fuel_purchase'
|
|
470
|
+
| 'fuel_purchase'
|
|
471
|
+
| 'non_fuel_purchase';
|
|
472
|
+
|
|
473
|
+
interface ReportedBreakdown {
|
|
474
|
+
/**
|
|
475
|
+
* Breakdown of fuel portion of the purchase.
|
|
476
|
+
*/
|
|
477
|
+
fuel?: ReportedBreakdown.Fuel;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Breakdown of non-fuel portion of the purchase.
|
|
481
|
+
*/
|
|
482
|
+
non_fuel?: ReportedBreakdown.NonFuel;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Information about tax included in this transaction.
|
|
486
|
+
*/
|
|
487
|
+
tax?: ReportedBreakdown.Tax;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
namespace ReportedBreakdown {
|
|
491
|
+
interface Fuel {
|
|
492
|
+
/**
|
|
493
|
+
* Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.
|
|
494
|
+
*/
|
|
495
|
+
gross_amount_decimal?: string;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
interface NonFuel {
|
|
499
|
+
/**
|
|
500
|
+
* Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.
|
|
501
|
+
*/
|
|
502
|
+
gross_amount_decimal?: string;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
interface Tax {
|
|
506
|
+
/**
|
|
507
|
+
* Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.
|
|
508
|
+
*/
|
|
509
|
+
local_amount_decimal?: string;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.
|
|
513
|
+
*/
|
|
514
|
+
national_amount_decimal?: string;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
type ServiceType =
|
|
519
|
+
| 'full_service'
|
|
520
|
+
| 'non_fuel_transaction'
|
|
521
|
+
| 'self_service';
|
|
522
|
+
}
|
|
523
|
+
|
|
413
524
|
interface Flight {
|
|
414
525
|
/**
|
|
415
526
|
* The time that the flight departed.
|
|
@@ -472,13 +583,23 @@ declare module 'stripe' {
|
|
|
472
583
|
}
|
|
473
584
|
|
|
474
585
|
interface Fuel {
|
|
586
|
+
/**
|
|
587
|
+
* [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.
|
|
588
|
+
*/
|
|
589
|
+
industry_product_code?: string;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.
|
|
593
|
+
*/
|
|
594
|
+
quantity_decimal?: string;
|
|
595
|
+
|
|
475
596
|
/**
|
|
476
597
|
* The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.
|
|
477
598
|
*/
|
|
478
599
|
type?: Fuel.Type;
|
|
479
600
|
|
|
480
601
|
/**
|
|
481
|
-
* The units for `
|
|
602
|
+
* The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.
|
|
482
603
|
*/
|
|
483
604
|
unit?: Fuel.Unit;
|
|
484
605
|
|
|
@@ -486,11 +607,6 @@ declare module 'stripe' {
|
|
|
486
607
|
* The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
|
|
487
608
|
*/
|
|
488
609
|
unit_cost_decimal?: string;
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places.
|
|
492
|
-
*/
|
|
493
|
-
volume_decimal?: string;
|
|
494
610
|
}
|
|
495
611
|
|
|
496
612
|
namespace Fuel {
|
|
@@ -501,7 +617,15 @@ declare module 'stripe' {
|
|
|
501
617
|
| 'unleaded_regular'
|
|
502
618
|
| 'unleaded_super';
|
|
503
619
|
|
|
504
|
-
type Unit =
|
|
620
|
+
type Unit =
|
|
621
|
+
| 'charging_minute'
|
|
622
|
+
| 'imperial_gallon'
|
|
623
|
+
| 'kilogram'
|
|
624
|
+
| 'kilowatt_hour'
|
|
625
|
+
| 'liter'
|
|
626
|
+
| 'other'
|
|
627
|
+
| 'pound'
|
|
628
|
+
| 'us_gallon';
|
|
505
629
|
}
|
|
506
630
|
|
|
507
631
|
interface Lodging {
|
|
@@ -909,6 +1033,11 @@ declare module 'stripe' {
|
|
|
909
1033
|
}
|
|
910
1034
|
|
|
911
1035
|
interface PurchaseDetails {
|
|
1036
|
+
/**
|
|
1037
|
+
* Fleet-specific information for transactions using Fleet cards.
|
|
1038
|
+
*/
|
|
1039
|
+
fleet?: PurchaseDetails.Fleet;
|
|
1040
|
+
|
|
912
1041
|
/**
|
|
913
1042
|
* Information about the flight that was purchased with this transaction.
|
|
914
1043
|
*/
|
|
@@ -936,6 +1065,112 @@ declare module 'stripe' {
|
|
|
936
1065
|
}
|
|
937
1066
|
|
|
938
1067
|
namespace PurchaseDetails {
|
|
1068
|
+
interface Fleet {
|
|
1069
|
+
/**
|
|
1070
|
+
* Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.
|
|
1071
|
+
*/
|
|
1072
|
+
cardholder_prompt_data?: Fleet.CardholderPromptData;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.
|
|
1076
|
+
*/
|
|
1077
|
+
purchase_type?: Fleet.PurchaseType;
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.
|
|
1081
|
+
*/
|
|
1082
|
+
reported_breakdown?: Fleet.ReportedBreakdown;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.
|
|
1086
|
+
*/
|
|
1087
|
+
service_type?: Fleet.ServiceType;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
namespace Fleet {
|
|
1091
|
+
interface CardholderPromptData {
|
|
1092
|
+
/**
|
|
1093
|
+
* Driver ID.
|
|
1094
|
+
*/
|
|
1095
|
+
driver_id?: string;
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Odometer reading.
|
|
1099
|
+
*/
|
|
1100
|
+
odometer?: number;
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.
|
|
1104
|
+
*/
|
|
1105
|
+
unspecified_id?: string;
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* User ID.
|
|
1109
|
+
*/
|
|
1110
|
+
user_id?: string;
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Vehicle number.
|
|
1114
|
+
*/
|
|
1115
|
+
vehicle_number?: string;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
type PurchaseType =
|
|
1119
|
+
| 'fuel_and_non_fuel_purchase'
|
|
1120
|
+
| 'fuel_purchase'
|
|
1121
|
+
| 'non_fuel_purchase';
|
|
1122
|
+
|
|
1123
|
+
interface ReportedBreakdown {
|
|
1124
|
+
/**
|
|
1125
|
+
* Breakdown of fuel portion of the purchase.
|
|
1126
|
+
*/
|
|
1127
|
+
fuel?: ReportedBreakdown.Fuel;
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* Breakdown of non-fuel portion of the purchase.
|
|
1131
|
+
*/
|
|
1132
|
+
non_fuel?: ReportedBreakdown.NonFuel;
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Information about tax included in this transaction.
|
|
1136
|
+
*/
|
|
1137
|
+
tax?: ReportedBreakdown.Tax;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
namespace ReportedBreakdown {
|
|
1141
|
+
interface Fuel {
|
|
1142
|
+
/**
|
|
1143
|
+
* Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.
|
|
1144
|
+
*/
|
|
1145
|
+
gross_amount_decimal?: string;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
interface NonFuel {
|
|
1149
|
+
/**
|
|
1150
|
+
* Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.
|
|
1151
|
+
*/
|
|
1152
|
+
gross_amount_decimal?: string;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
interface Tax {
|
|
1156
|
+
/**
|
|
1157
|
+
* Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.
|
|
1158
|
+
*/
|
|
1159
|
+
local_amount_decimal?: string;
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.
|
|
1163
|
+
*/
|
|
1164
|
+
national_amount_decimal?: string;
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
type ServiceType =
|
|
1169
|
+
| 'full_service'
|
|
1170
|
+
| 'non_fuel_transaction'
|
|
1171
|
+
| 'self_service';
|
|
1172
|
+
}
|
|
1173
|
+
|
|
939
1174
|
interface Flight {
|
|
940
1175
|
/**
|
|
941
1176
|
* The time that the flight departed.
|
|
@@ -998,13 +1233,23 @@ declare module 'stripe' {
|
|
|
998
1233
|
}
|
|
999
1234
|
|
|
1000
1235
|
interface Fuel {
|
|
1236
|
+
/**
|
|
1237
|
+
* [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.
|
|
1238
|
+
*/
|
|
1239
|
+
industry_product_code?: string;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.
|
|
1243
|
+
*/
|
|
1244
|
+
quantity_decimal?: string;
|
|
1245
|
+
|
|
1001
1246
|
/**
|
|
1002
1247
|
* The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.
|
|
1003
1248
|
*/
|
|
1004
1249
|
type?: Fuel.Type;
|
|
1005
1250
|
|
|
1006
1251
|
/**
|
|
1007
|
-
* The units for `
|
|
1252
|
+
* The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.
|
|
1008
1253
|
*/
|
|
1009
1254
|
unit?: Fuel.Unit;
|
|
1010
1255
|
|
|
@@ -1012,11 +1257,6 @@ declare module 'stripe' {
|
|
|
1012
1257
|
* The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
|
|
1013
1258
|
*/
|
|
1014
1259
|
unit_cost_decimal?: string;
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places.
|
|
1018
|
-
*/
|
|
1019
|
-
volume_decimal?: string;
|
|
1020
1260
|
}
|
|
1021
1261
|
|
|
1022
1262
|
namespace Fuel {
|
|
@@ -1027,7 +1267,15 @@ declare module 'stripe' {
|
|
|
1027
1267
|
| 'unleaded_regular'
|
|
1028
1268
|
| 'unleaded_super';
|
|
1029
1269
|
|
|
1030
|
-
type Unit =
|
|
1270
|
+
type Unit =
|
|
1271
|
+
| 'charging_minute'
|
|
1272
|
+
| 'imperial_gallon'
|
|
1273
|
+
| 'kilogram'
|
|
1274
|
+
| 'kilowatt_hour'
|
|
1275
|
+
| 'liter'
|
|
1276
|
+
| 'other'
|
|
1277
|
+
| 'pound'
|
|
1278
|
+
| 'us_gallon';
|
|
1031
1279
|
}
|
|
1032
1280
|
|
|
1033
1281
|
interface Lodging {
|
|
@@ -39,11 +39,6 @@ declare module 'stripe' {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedCreditCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Details about the network used for the ReceivedCredit.
|
|
45
|
-
*/
|
|
46
|
-
network_details?: ReceivedCreditCreateParams.NetworkDetails;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
namespace ReceivedCreditCreateParams {
|
|
@@ -79,27 +74,6 @@ declare module 'stripe' {
|
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
type Network = 'ach' | 'us_domestic_wire';
|
|
82
|
-
|
|
83
|
-
interface NetworkDetails {
|
|
84
|
-
/**
|
|
85
|
-
* Optional fields for `ach`.
|
|
86
|
-
*/
|
|
87
|
-
ach?: NetworkDetails.Ach;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* The type of flow that originated the ReceivedCredit.
|
|
91
|
-
*/
|
|
92
|
-
type: 'ach';
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
namespace NetworkDetails {
|
|
96
|
-
interface Ach {
|
|
97
|
-
/**
|
|
98
|
-
* ACH Addenda record
|
|
99
|
-
*/
|
|
100
|
-
addenda?: string;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
77
|
}
|
|
104
78
|
}
|
|
105
79
|
|
|
@@ -39,11 +39,6 @@ declare module 'stripe' {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedDebitCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Details about the network used for the ReceivedDebit.
|
|
45
|
-
*/
|
|
46
|
-
network_details?: ReceivedDebitCreateParams.NetworkDetails;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
namespace ReceivedDebitCreateParams {
|
|
@@ -77,27 +72,6 @@ declare module 'stripe' {
|
|
|
77
72
|
routing_number?: string;
|
|
78
73
|
}
|
|
79
74
|
}
|
|
80
|
-
|
|
81
|
-
interface NetworkDetails {
|
|
82
|
-
/**
|
|
83
|
-
* Optional fields for `ach`.
|
|
84
|
-
*/
|
|
85
|
-
ach?: NetworkDetails.Ach;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The type of flow that originated the ReceivedDebit.
|
|
89
|
-
*/
|
|
90
|
-
type: 'ach';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
namespace NetworkDetails {
|
|
94
|
-
interface Ach {
|
|
95
|
-
/**
|
|
96
|
-
* Addenda record data associated with this ReceivedDebit.
|
|
97
|
-
*/
|
|
98
|
-
addenda?: string;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
75
|
}
|
|
102
76
|
}
|
|
103
77
|
|
|
@@ -76,11 +76,6 @@ declare module 'stripe' {
|
|
|
76
76
|
*/
|
|
77
77
|
metadata: Stripe.Metadata;
|
|
78
78
|
|
|
79
|
-
/**
|
|
80
|
-
* Details about the network used for the OutboundTransfer.
|
|
81
|
-
*/
|
|
82
|
-
network_details?: OutboundTransfer.NetworkDetails | null;
|
|
83
|
-
|
|
84
79
|
/**
|
|
85
80
|
* Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
86
81
|
*/
|
|
@@ -187,27 +182,6 @@ declare module 'stripe' {
|
|
|
187
182
|
}
|
|
188
183
|
}
|
|
189
184
|
|
|
190
|
-
interface NetworkDetails {
|
|
191
|
-
/**
|
|
192
|
-
* Details about an ACH transaction.
|
|
193
|
-
*/
|
|
194
|
-
ach?: NetworkDetails.Ach | null;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* The type of flow that originated the OutboundTransfer.
|
|
198
|
-
*/
|
|
199
|
-
type: 'ach';
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
namespace NetworkDetails {
|
|
203
|
-
interface Ach {
|
|
204
|
-
/**
|
|
205
|
-
* ACH Addenda record
|
|
206
|
-
*/
|
|
207
|
-
addenda: string | null;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
185
|
interface ReturnedDetails {
|
|
212
186
|
/**
|
|
213
187
|
* Reason for the return.
|
|
@@ -44,11 +44,6 @@ declare module 'stripe' {
|
|
|
44
44
|
*/
|
|
45
45
|
metadata?: Stripe.MetadataParam;
|
|
46
46
|
|
|
47
|
-
/**
|
|
48
|
-
* Details about the network used for the OutboundTransfer.
|
|
49
|
-
*/
|
|
50
|
-
network_details?: OutboundTransferCreateParams.NetworkDetails;
|
|
51
|
-
|
|
52
47
|
/**
|
|
53
48
|
* Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer".
|
|
54
49
|
*/
|
|
@@ -77,27 +72,6 @@ declare module 'stripe' {
|
|
|
77
72
|
type Network = 'ach' | 'us_domestic_wire';
|
|
78
73
|
}
|
|
79
74
|
}
|
|
80
|
-
|
|
81
|
-
interface NetworkDetails {
|
|
82
|
-
/**
|
|
83
|
-
* Optional fields for `ach`.
|
|
84
|
-
*/
|
|
85
|
-
ach?: NetworkDetails.Ach;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The type of flow that originated the OutboundTransfer.
|
|
89
|
-
*/
|
|
90
|
-
type: 'ach';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
namespace NetworkDetails {
|
|
94
|
-
interface Ach {
|
|
95
|
-
/**
|
|
96
|
-
* Addenda record data associated with this OutboundTransfer.
|
|
97
|
-
*/
|
|
98
|
-
addenda?: string;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
75
|
}
|
|
102
76
|
|
|
103
77
|
interface OutboundTransferRetrieveParams {
|
|
@@ -66,11 +66,6 @@ declare module 'stripe' {
|
|
|
66
66
|
*/
|
|
67
67
|
network: ReceivedCredit.Network;
|
|
68
68
|
|
|
69
|
-
/**
|
|
70
|
-
* Details specific to the money movement rails.
|
|
71
|
-
*/
|
|
72
|
-
network_details?: ReceivedCredit.NetworkDetails | null;
|
|
73
|
-
|
|
74
69
|
/**
|
|
75
70
|
* Details describing when a ReceivedCredit may be reversed.
|
|
76
71
|
*/
|
|
@@ -240,27 +235,6 @@ declare module 'stripe' {
|
|
|
240
235
|
|
|
241
236
|
type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire';
|
|
242
237
|
|
|
243
|
-
interface NetworkDetails {
|
|
244
|
-
/**
|
|
245
|
-
* Details about an ACH transaction.
|
|
246
|
-
*/
|
|
247
|
-
ach?: NetworkDetails.Ach | null;
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* The type of flow that originated the ReceivedCredit.
|
|
251
|
-
*/
|
|
252
|
-
type: 'ach';
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
namespace NetworkDetails {
|
|
256
|
-
interface Ach {
|
|
257
|
-
/**
|
|
258
|
-
* ACH Addenda record
|
|
259
|
-
*/
|
|
260
|
-
addenda: string | null;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
238
|
interface ReversalDetails {
|
|
265
239
|
/**
|
|
266
240
|
* Time before which a ReceivedCredit can be reversed.
|
|
@@ -66,11 +66,6 @@ declare module 'stripe' {
|
|
|
66
66
|
*/
|
|
67
67
|
network: ReceivedDebit.Network;
|
|
68
68
|
|
|
69
|
-
/**
|
|
70
|
-
* Details specific to the money movement rails.
|
|
71
|
-
*/
|
|
72
|
-
network_details?: ReceivedDebit.NetworkDetails | null;
|
|
73
|
-
|
|
74
69
|
/**
|
|
75
70
|
* Details describing when a ReceivedDebit might be reversed.
|
|
76
71
|
*/
|
|
@@ -194,36 +189,10 @@ declare module 'stripe' {
|
|
|
194
189
|
* Set if the ReceivedDebit was created due to a [Payout](https://stripe.com/docs/api#payouts) object.
|
|
195
190
|
*/
|
|
196
191
|
payout: string | null;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* The ReceivedCredit that Capital withheld from
|
|
200
|
-
*/
|
|
201
|
-
received_credit_capital_withholding?: string | null;
|
|
202
192
|
}
|
|
203
193
|
|
|
204
194
|
type Network = 'ach' | 'card' | 'stripe';
|
|
205
195
|
|
|
206
|
-
interface NetworkDetails {
|
|
207
|
-
/**
|
|
208
|
-
* Details about an ACH transaction.
|
|
209
|
-
*/
|
|
210
|
-
ach?: NetworkDetails.Ach | null;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The type of flow that originated the ReceivedDebit.
|
|
214
|
-
*/
|
|
215
|
-
type: 'ach';
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
namespace NetworkDetails {
|
|
219
|
-
interface Ach {
|
|
220
|
-
/**
|
|
221
|
-
* ACH Addenda record
|
|
222
|
-
*/
|
|
223
|
-
addenda: string | null;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
196
|
interface ReversalDetails {
|
|
228
197
|
/**
|
|
229
198
|
* Time before which a ReceivedDebit can be reversed.
|