stripe 19.3.0-beta.1 → 19.4.0-alpha.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.
Files changed (184) hide show
  1. package/CHANGELOG.md +235 -1
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +1 -1
  5. package/cjs/apiVersion.js +1 -1
  6. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
  7. package/cjs/resources/Identity/BlocklistEntries.js +25 -0
  8. package/cjs/resources/PaymentMethods.js +4 -0
  9. package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +16 -0
  10. package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
  11. package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
  12. package/cjs/resources/V2/Billing/Intents.js +36 -0
  13. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
  14. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
  15. package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
  16. package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
  17. package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
  18. package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
  19. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +26 -0
  20. package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
  21. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
  22. package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
  23. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
  24. package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
  25. package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
  26. package/cjs/resources/V2/Billing/RateCards.js +29 -0
  27. package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
  28. package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
  29. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
  30. package/cjs/resources/V2/Reporting/ReportRuns.js +13 -0
  31. package/cjs/resources/V2/Reporting/Reports.js +12 -0
  32. package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
  33. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
  34. package/cjs/resources.js +47 -1
  35. package/cjs/stripe.core.js +1 -1
  36. package/esm/RequestSender.js +1 -1
  37. package/esm/apiVersion.js +1 -1
  38. package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
  39. package/esm/resources/Identity/BlocklistEntries.js +22 -0
  40. package/esm/resources/PaymentMethods.js +4 -0
  41. package/esm/resources/TestHelpers/Capital/FinancingOffers.js +13 -0
  42. package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
  43. package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
  44. package/esm/resources/V2/Billing/Intents.js +33 -0
  45. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
  46. package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
  47. package/esm/resources/V2/Billing/LicenseFees.js +24 -0
  48. package/esm/resources/V2/Billing/LicensedItems.js +22 -0
  49. package/esm/resources/V2/Billing/MeteredItems.js +19 -0
  50. package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
  51. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +23 -0
  52. package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
  53. package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
  54. package/esm/resources/V2/Billing/PricingPlans.js +26 -0
  55. package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
  56. package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
  57. package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
  58. package/esm/resources/V2/Billing/RateCards.js +26 -0
  59. package/esm/resources/V2/Billing/ServiceActions.js +17 -0
  60. package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
  61. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
  62. package/esm/resources/V2/Reporting/ReportRuns.js +10 -0
  63. package/esm/resources/V2/Reporting/Reports.js +9 -0
  64. package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
  65. package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
  66. package/esm/resources.js +46 -0
  67. package/esm/stripe.core.js +1 -1
  68. package/package.json +1 -1
  69. package/types/ApplicationFees.d.ts +6 -1
  70. package/types/Balance.d.ts +82 -0
  71. package/types/BalanceTransactions.d.ts +2 -1
  72. package/types/Billing/AlertTriggereds.d.ts +15 -0
  73. package/types/Billing/Alerts.d.ts +116 -1
  74. package/types/Billing/AlertsResource.d.ts +149 -2
  75. package/types/Billing/Analytics/MeterUsageResource.d.ts +5 -0
  76. package/types/Billing/Analytics/MeterUsageRows.d.ts +7 -0
  77. package/types/Billing/CreditBalanceSummary.d.ts +118 -2
  78. package/types/Billing/CreditBalanceSummaryResource.d.ts +12 -0
  79. package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
  80. package/types/Billing/CreditGrants.d.ts +71 -1
  81. package/types/Billing/CreditGrantsResource.d.ts +32 -1
  82. package/types/Billing/MeterEventSummaries.d.ts +7 -0
  83. package/types/Billing/Meters.d.ts +5 -0
  84. package/types/Billing/MetersResource.d.ts +17 -0
  85. package/types/Cards.d.ts +14 -0
  86. package/types/Charges.d.ts +14 -0
  87. package/types/ChargesResource.d.ts +4 -16
  88. package/types/Checkout/Sessions.d.ts +58 -0
  89. package/types/Checkout/SessionsResource.d.ts +50 -0
  90. package/types/ConfirmationTokens.d.ts +14 -0
  91. package/types/Coupons.d.ts +3 -1
  92. package/types/CouponsResource.d.ts +3 -1
  93. package/types/DelegatedCheckout/RequestedSessions.d.ts +360 -0
  94. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +593 -0
  95. package/types/Identity/BlocklistEntries.d.ts +78 -0
  96. package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
  97. package/types/Identity/VerificationReports.d.ts +10 -0
  98. package/types/Identity/VerificationReportsResource.d.ts +5 -0
  99. package/types/InvoiceItems.d.ts +104 -2
  100. package/types/InvoiceLineItems.d.ts +113 -2
  101. package/types/InvoicePayments.d.ts +1 -1
  102. package/types/InvoicesResource.d.ts +5 -0
  103. package/types/PaymentIntentAmountDetailsLineItems.d.ts +7 -13
  104. package/types/PaymentIntents.d.ts +37 -18
  105. package/types/PaymentIntentsResource.d.ts +164 -145
  106. package/types/PaymentMethodBalances.d.ts +63 -0
  107. package/types/PaymentMethods.d.ts +14 -0
  108. package/types/PaymentMethodsResource.d.ts +20 -0
  109. package/types/SetupIntents.d.ts +24 -1
  110. package/types/SetupIntentsResource.d.ts +90 -0
  111. package/types/TestHelpers/Capital/FinancingOffersResource.d.ts +100 -0
  112. package/types/Transfers.d.ts +4 -0
  113. package/types/TransfersResource.d.ts +2 -0
  114. package/types/TransitBalances.d.ts +40 -0
  115. package/types/V2/Billing/Cadences.d.ts +51 -2
  116. package/types/V2/Billing/CadencesResource.d.ts +32 -3
  117. package/types/V2/Billing/CollectionSettingVersions.d.ts +6 -2
  118. package/types/V2/Billing/CollectionSettings.d.ts +6 -2
  119. package/types/V2/Billing/CollectionSettingsResource.d.ts +12 -4
  120. package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
  121. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
  122. package/types/V2/Billing/IntentActions.d.ts +459 -0
  123. package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
  124. package/types/V2/Billing/Intents.d.ts +117 -0
  125. package/types/V2/Billing/IntentsResource.d.ts +575 -0
  126. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
  127. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
  128. package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
  129. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
  130. package/types/V2/Billing/LicenseFees.d.ts +164 -0
  131. package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
  132. package/types/V2/Billing/LicensedItems.d.ts +73 -0
  133. package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
  134. package/types/V2/Billing/MeteredItems.d.ts +101 -0
  135. package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
  136. package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
  137. package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
  138. package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
  139. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
  140. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +120 -0
  141. package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
  142. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
  143. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
  144. package/types/V2/Billing/PricingPlans.d.ts +84 -0
  145. package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
  146. package/types/V2/Billing/RateCardRates.d.ts +144 -0
  147. package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
  148. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
  149. package/types/V2/Billing/RateCardVersions.d.ts +39 -0
  150. package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
  151. package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
  152. package/types/V2/Billing/RateCards.d.ts +98 -0
  153. package/types/V2/Billing/RateCardsResource.d.ts +162 -0
  154. package/types/V2/Billing/ServiceActions.d.ts +274 -0
  155. package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
  156. package/types/V2/Core/Accounts.d.ts +1491 -23
  157. package/types/V2/Core/AccountsResource.d.ts +1619 -0
  158. package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
  159. package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
  160. package/types/V2/Core/EventTypes.d.ts +7399 -343
  161. package/types/V2/Core/Events.d.ts +14 -0
  162. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +14 -0
  163. package/types/V2/MoneyManagement/InboundTransfers.d.ts +9 -3
  164. package/types/V2/MoneyManagement/OutboundPayments.d.ts +5 -0
  165. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +5 -0
  166. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +34 -0
  167. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +5 -0
  168. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +5 -0
  169. package/types/V2/MoneyManagement/PayoutMethods.d.ts +41 -0
  170. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +5 -0
  171. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +10 -0
  172. package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
  173. package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
  174. package/types/V2/Reporting/ReportRuns.d.ts +154 -0
  175. package/types/V2/Reporting/ReportRunsResource.d.ts +75 -0
  176. package/types/V2/Reporting/Reports.d.ts +120 -0
  177. package/types/V2/Reporting/ReportsResource.d.ts +30 -0
  178. package/types/V2/Tax/AutomaticRules.d.ts +53 -0
  179. package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
  180. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +6 -1
  181. package/types/V2/TestHelpers/MoneyManagementResource.d.ts +49 -0
  182. package/types/Webhooks.d.ts +2 -0
  183. package/types/apiVersion.d.ts +1 -1
  184. package/types/index.d.ts +82 -0
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PricingPlanSubscriptions = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const Components_js_1 = require("./PricingPlanSubscriptions/Components.js");
7
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
8
+ exports.PricingPlanSubscriptions = StripeResource_js_1.StripeResource.extend({
9
+ constructor: function (...args) {
10
+ StripeResource_js_1.StripeResource.apply(this, args);
11
+ this.components = new Components_js_1.Components(...args);
12
+ },
13
+ retrieve: stripeMethod({
14
+ method: 'GET',
15
+ fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
16
+ }),
17
+ update: stripeMethod({
18
+ method: 'POST',
19
+ fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
20
+ }),
21
+ list: stripeMethod({
22
+ method: 'GET',
23
+ fullPath: '/v2/billing/pricing_plan_subscriptions',
24
+ methodType: 'list',
25
+ }),
26
+ });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Components = void 0;
5
+ const StripeResource_js_1 = require("../../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.Components = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
15
+ }),
16
+ update: stripeMethod({
17
+ method: 'POST',
18
+ fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
19
+ }),
20
+ list: stripeMethod({
21
+ method: 'GET',
22
+ fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components',
23
+ methodType: 'list',
24
+ }),
25
+ del: stripeMethod({
26
+ method: 'DELETE',
27
+ fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
28
+ }),
29
+ });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Versions = void 0;
5
+ const StripeResource_js_1 = require("../../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.Versions = StripeResource_js_1.StripeResource.extend({
8
+ retrieve: stripeMethod({
9
+ method: 'GET',
10
+ fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/versions/{id}',
11
+ }),
12
+ list: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/versions',
15
+ methodType: 'list',
16
+ }),
17
+ });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PricingPlans = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const Components_js_1 = require("./PricingPlans/Components.js");
7
+ const Versions_js_1 = require("./PricingPlans/Versions.js");
8
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
9
+ exports.PricingPlans = StripeResource_js_1.StripeResource.extend({
10
+ constructor: function (...args) {
11
+ StripeResource_js_1.StripeResource.apply(this, args);
12
+ this.components = new Components_js_1.Components(...args);
13
+ this.versions = new Versions_js_1.Versions(...args);
14
+ },
15
+ create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/pricing_plans' }),
16
+ retrieve: stripeMethod({
17
+ method: 'GET',
18
+ fullPath: '/v2/billing/pricing_plans/{id}',
19
+ }),
20
+ update: stripeMethod({
21
+ method: 'POST',
22
+ fullPath: '/v2/billing/pricing_plans/{id}',
23
+ }),
24
+ list: stripeMethod({
25
+ method: 'GET',
26
+ fullPath: '/v2/billing/pricing_plans',
27
+ methodType: 'list',
28
+ }),
29
+ });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.RateCardSubscriptions = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.RateCardSubscriptions = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v2/billing/rate_card_subscriptions',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/billing/rate_card_subscriptions/{id}',
15
+ }),
16
+ update: stripeMethod({
17
+ method: 'POST',
18
+ fullPath: '/v2/billing/rate_card_subscriptions/{id}',
19
+ }),
20
+ list: stripeMethod({
21
+ method: 'GET',
22
+ fullPath: '/v2/billing/rate_card_subscriptions',
23
+ methodType: 'list',
24
+ }),
25
+ cancel: stripeMethod({
26
+ method: 'POST',
27
+ fullPath: '/v2/billing/rate_card_subscriptions/{id}/cancel',
28
+ }),
29
+ });
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Rates = void 0;
5
+ const StripeResource_js_1 = require("../../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.Rates = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates/{id}',
15
+ }),
16
+ list: stripeMethod({
17
+ method: 'GET',
18
+ fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates',
19
+ methodType: 'list',
20
+ }),
21
+ del: stripeMethod({
22
+ method: 'DELETE',
23
+ fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates/{id}',
24
+ }),
25
+ });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Versions = void 0;
5
+ const StripeResource_js_1 = require("../../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.Versions = StripeResource_js_1.StripeResource.extend({
8
+ retrieve: stripeMethod({
9
+ method: 'GET',
10
+ fullPath: '/v2/billing/rate_cards/{rate_card_id}/versions/{id}',
11
+ }),
12
+ list: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/billing/rate_cards/{rate_card_id}/versions',
15
+ methodType: 'list',
16
+ }),
17
+ });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.RateCards = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const Rates_js_1 = require("./RateCards/Rates.js");
7
+ const Versions_js_1 = require("./RateCards/Versions.js");
8
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
9
+ exports.RateCards = StripeResource_js_1.StripeResource.extend({
10
+ constructor: function (...args) {
11
+ StripeResource_js_1.StripeResource.apply(this, args);
12
+ this.rates = new Rates_js_1.Rates(...args);
13
+ this.versions = new Versions_js_1.Versions(...args);
14
+ },
15
+ create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/rate_cards' }),
16
+ retrieve: stripeMethod({
17
+ method: 'GET',
18
+ fullPath: '/v2/billing/rate_cards/{id}',
19
+ }),
20
+ update: stripeMethod({
21
+ method: 'POST',
22
+ fullPath: '/v2/billing/rate_cards/{id}',
23
+ }),
24
+ list: stripeMethod({
25
+ method: 'GET',
26
+ fullPath: '/v2/billing/rate_cards',
27
+ methodType: 'list',
28
+ }),
29
+ });
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ServiceActions = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.ServiceActions = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v2/billing/service_actions',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/billing/service_actions/{id}',
15
+ }),
16
+ update: stripeMethod({
17
+ method: 'POST',
18
+ fullPath: '/v2/billing/service_actions/{id}',
19
+ }),
20
+ });
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ClaimableSandboxes = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.ClaimableSandboxes = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v2/core/claimable_sandboxes',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/core/claimable_sandboxes/{id}',
15
+ }),
16
+ });
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.RecipientVerifications = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.RecipientVerifications = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v2/money_management/recipient_verifications',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v2/money_management/recipient_verifications/{id}',
15
+ }),
16
+ acknowledge: stripeMethod({
17
+ method: 'POST',
18
+ fullPath: '/v2/money_management/recipient_verifications/{id}/acknowledge',
19
+ }),
20
+ });
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ReportRuns = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.ReportRuns = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({ method: 'POST', fullPath: '/v2/reporting/report_runs' }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v2/reporting/report_runs/{id}',
12
+ }),
13
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Reports = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.Reports = StripeResource_js_1.StripeResource.extend({
8
+ retrieve: stripeMethod({
9
+ method: 'GET',
10
+ fullPath: '/v2/reporting/reports/{id}',
11
+ }),
12
+ });
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AutomaticRules = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.AutomaticRules = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({ method: 'POST', fullPath: '/v2/tax/automatic_rules' }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v2/tax/automatic_rules/{id}',
12
+ }),
13
+ update: stripeMethod({
14
+ method: 'POST',
15
+ fullPath: '/v2/tax/automatic_rules/{id}',
16
+ }),
17
+ deactivate: stripeMethod({
18
+ method: 'POST',
19
+ fullPath: '/v2/tax/automatic_rules/{id}/deactivate',
20
+ }),
21
+ find: stripeMethod({ method: 'GET', fullPath: '/v2/tax/automatic_rules/find' }),
22
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MoneyManagement = void 0;
5
+ const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.MoneyManagement = StripeResource_js_1.StripeResource.extend({
8
+ recipientVerifications: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v2/test_helpers/money_management/recipient_verifications',
11
+ }),
12
+ });
package/cjs/resources.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // File generated from our OpenAPI spec
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.SetupIntents = exports.SetupAttempts = exports.Reviews = exports.Refunds = exports.Quotes = exports.PromotionCodes = exports.Products = exports.Prices = exports.Plans = exports.Payouts = exports.PaymentRecords = exports.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = exports.PaymentAttemptRecords = exports.Orders = exports.OAuth = exports.Margins = exports.Mandates = exports.Invoices = exports.InvoiceRenderingTemplates = exports.InvoicePayments = exports.InvoiceItems = exports.FxQuotes = exports.Files = exports.FileLinks = exports.ExternalAccounts = exports.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = exports.BalanceSettings = exports.Balance = exports.ApplicationFees = exports.ApplePayDomains = exports.Accounts = exports.AccountSessions = exports.AccountNotices = exports.AccountLinks = exports.Account = void 0;
5
- exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Privacy = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = void 0;
5
+ exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Privacy = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.DelegatedCheckout = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = void 0;
6
6
  const ResourceNamespace_js_1 = require("./ResourceNamespace.js");
7
7
  const AccountLinks_js_1 = require("./resources/V2/Core/AccountLinks.js");
8
8
  const Accounts_js_1 = require("./resources/FinancialConnections/Accounts.js");
@@ -13,12 +13,15 @@ const Alerts_js_1 = require("./resources/Billing/Alerts.js");
13
13
  const Associations_js_1 = require("./resources/Tax/Associations.js");
14
14
  const Authorizations_js_1 = require("./resources/Issuing/Authorizations.js");
15
15
  const Authorizations_js_2 = require("./resources/TestHelpers/Issuing/Authorizations.js");
16
+ const AutomaticRules_js_1 = require("./resources/V2/Tax/AutomaticRules.js");
16
17
  const BillSettings_js_1 = require("./resources/V2/Billing/BillSettings.js");
18
+ const BlocklistEntries_js_1 = require("./resources/Identity/BlocklistEntries.js");
17
19
  const Cadences_js_1 = require("./resources/V2/Billing/Cadences.js");
18
20
  const Calculations_js_1 = require("./resources/Tax/Calculations.js");
19
21
  const Cardholders_js_1 = require("./resources/Issuing/Cardholders.js");
20
22
  const Cards_js_1 = require("./resources/Issuing/Cards.js");
21
23
  const Cards_js_2 = require("./resources/TestHelpers/Issuing/Cards.js");
24
+ const ClaimableSandboxes_js_1 = require("./resources/V2/Core/ClaimableSandboxes.js");
22
25
  const CollectionSettings_js_1 = require("./resources/V2/Billing/CollectionSettings.js");
23
26
  const Configurations_js_1 = require("./resources/BillingPortal/Configurations.js");
24
27
  const Configurations_js_2 = require("./resources/Terminal/Configurations.js");
@@ -29,6 +32,7 @@ const CreditBalanceTransactions_js_1 = require("./resources/Billing/CreditBalanc
29
32
  const CreditGrants_js_1 = require("./resources/Billing/CreditGrants.js");
30
33
  const CreditReversals_js_1 = require("./resources/Treasury/CreditReversals.js");
31
34
  const CreditUnderwritingRecords_js_1 = require("./resources/Issuing/CreditUnderwritingRecords.js");
35
+ const CustomPricingUnits_js_1 = require("./resources/V2/Billing/CustomPricingUnits.js");
32
36
  const Customers_js_1 = require("./resources/TestHelpers/Customers.js");
33
37
  const DebitReversals_js_1 = require("./resources/Treasury/DebitReversals.js");
34
38
  const DisputeSettlementDetails_js_1 = require("./resources/Issuing/DisputeSettlementDetails.js");
@@ -42,6 +46,7 @@ const FinancialAccounts_js_2 = require("./resources/V2/MoneyManagement/Financial
42
46
  const FinancialAddresses_js_1 = require("./resources/V2/MoneyManagement/FinancialAddresses.js");
43
47
  const FinancialAddresses_js_2 = require("./resources/V2/TestHelpers/FinancialAddresses.js");
44
48
  const FinancingOffers_js_1 = require("./resources/Capital/FinancingOffers.js");
49
+ const FinancingOffers_js_2 = require("./resources/TestHelpers/Capital/FinancingOffers.js");
45
50
  const FinancingSummary_js_1 = require("./resources/Capital/FinancingSummary.js");
46
51
  const FinancingTransactions_js_1 = require("./resources/Capital/FinancingTransactions.js");
47
52
  const Forms_js_1 = require("./resources/Tax/Forms.js");
@@ -51,6 +56,10 @@ const InboundTransfers_js_1 = require("./resources/TestHelpers/Treasury/InboundT
51
56
  const InboundTransfers_js_2 = require("./resources/Treasury/InboundTransfers.js");
52
57
  const InboundTransfers_js_3 = require("./resources/V2/MoneyManagement/InboundTransfers.js");
53
58
  const Institutions_js_1 = require("./resources/FinancialConnections/Institutions.js");
59
+ const Intents_js_1 = require("./resources/V2/Billing/Intents.js");
60
+ const LicenseFeeSubscriptions_js_1 = require("./resources/V2/Billing/LicenseFeeSubscriptions.js");
61
+ const LicenseFees_js_1 = require("./resources/V2/Billing/LicenseFees.js");
62
+ const LicensedItems_js_1 = require("./resources/V2/Billing/LicensedItems.js");
54
63
  const Locations_js_1 = require("./resources/Terminal/Locations.js");
55
64
  const MeterEventAdjustments_js_1 = require("./resources/Billing/MeterEventAdjustments.js");
56
65
  const MeterEventAdjustments_js_2 = require("./resources/V2/Billing/MeterEventAdjustments.js");
@@ -59,7 +68,9 @@ const MeterEventStream_js_1 = require("./resources/V2/Billing/MeterEventStream.j
59
68
  const MeterEvents_js_1 = require("./resources/Billing/MeterEvents.js");
60
69
  const MeterEvents_js_2 = require("./resources/V2/Billing/MeterEvents.js");
61
70
  const MeterUsage_js_1 = require("./resources/Billing/Analytics/MeterUsage.js");
71
+ const MeteredItems_js_1 = require("./resources/V2/Billing/MeteredItems.js");
62
72
  const Meters_js_1 = require("./resources/Billing/Meters.js");
73
+ const MoneyManagement_js_1 = require("./resources/V2/TestHelpers/MoneyManagement.js");
63
74
  const OffSessionPayments_js_1 = require("./resources/V2/Payments/OffSessionPayments.js");
64
75
  const OnboardingLinks_js_1 = require("./resources/Terminal/OnboardingLinks.js");
65
76
  const Orders_js_1 = require("./resources/Climate/Orders.js");
@@ -76,8 +87,12 @@ const PayoutMethodsBankAccountSpec_js_1 = require("./resources/V2/MoneyManagemen
76
87
  const PersonalizationDesigns_js_1 = require("./resources/Issuing/PersonalizationDesigns.js");
77
88
  const PersonalizationDesigns_js_2 = require("./resources/TestHelpers/Issuing/PersonalizationDesigns.js");
78
89
  const PhysicalBundles_js_1 = require("./resources/Issuing/PhysicalBundles.js");
90
+ const PricingPlanSubscriptions_js_1 = require("./resources/V2/Billing/PricingPlanSubscriptions.js");
91
+ const PricingPlans_js_1 = require("./resources/V2/Billing/PricingPlans.js");
79
92
  const Products_js_1 = require("./resources/Climate/Products.js");
80
93
  const Profiles_js_1 = require("./resources/V2/Billing/Profiles.js");
94
+ const RateCardSubscriptions_js_1 = require("./resources/V2/Billing/RateCardSubscriptions.js");
95
+ const RateCards_js_1 = require("./resources/V2/Billing/RateCards.js");
81
96
  const ReaderCollectedData_js_1 = require("./resources/Terminal/ReaderCollectedData.js");
82
97
  const Readers_js_1 = require("./resources/Terminal/Readers.js");
83
98
  const Readers_js_2 = require("./resources/TestHelpers/Terminal/Readers.js");
@@ -87,14 +102,19 @@ const ReceivedCredits_js_3 = require("./resources/V2/MoneyManagement/ReceivedCre
87
102
  const ReceivedDebits_js_1 = require("./resources/TestHelpers/Treasury/ReceivedDebits.js");
88
103
  const ReceivedDebits_js_2 = require("./resources/Treasury/ReceivedDebits.js");
89
104
  const ReceivedDebits_js_3 = require("./resources/V2/MoneyManagement/ReceivedDebits.js");
105
+ const RecipientVerifications_js_1 = require("./resources/V2/MoneyManagement/RecipientVerifications.js");
90
106
  const RedactionJobs_js_1 = require("./resources/Privacy/RedactionJobs.js");
91
107
  const Refunds_js_1 = require("./resources/TestHelpers/Refunds.js");
92
108
  const Registrations_js_1 = require("./resources/Tax/Registrations.js");
93
109
  const ReportRuns_js_1 = require("./resources/Reporting/ReportRuns.js");
110
+ const ReportRuns_js_2 = require("./resources/V2/Reporting/ReportRuns.js");
94
111
  const ReportTypes_js_1 = require("./resources/Reporting/ReportTypes.js");
112
+ const Reports_js_1 = require("./resources/V2/Reporting/Reports.js");
113
+ const RequestedSessions_js_1 = require("./resources/DelegatedCheckout/RequestedSessions.js");
95
114
  const Requests_js_1 = require("./resources/Forwarding/Requests.js");
96
115
  const ScheduledQueryRuns_js_1 = require("./resources/Sigma/ScheduledQueryRuns.js");
97
116
  const Secrets_js_1 = require("./resources/Apps/Secrets.js");
117
+ const ServiceActions_js_1 = require("./resources/V2/Billing/ServiceActions.js");
98
118
  const Sessions_js_1 = require("./resources/BillingPortal/Sessions.js");
99
119
  const Sessions_js_2 = require("./resources/Checkout/Sessions.js");
100
120
  const Sessions_js_3 = require("./resources/FinancialConnections/Sessions.js");
@@ -269,6 +289,9 @@ exports.Climate = (0, ResourceNamespace_js_1.resourceNamespace)('climate', {
269
289
  Products: Products_js_1.Products,
270
290
  Suppliers: Suppliers_js_1.Suppliers,
271
291
  });
292
+ exports.DelegatedCheckout = (0, ResourceNamespace_js_1.resourceNamespace)('delegatedCheckout', {
293
+ RequestedSessions: RequestedSessions_js_1.RequestedSessions,
294
+ });
272
295
  exports.Entitlements = (0, ResourceNamespace_js_1.resourceNamespace)('entitlements', {
273
296
  ActiveEntitlements: ActiveEntitlements_js_1.ActiveEntitlements,
274
297
  Features: Features_js_1.Features,
@@ -283,6 +306,7 @@ exports.Forwarding = (0, ResourceNamespace_js_1.resourceNamespace)('forwarding',
283
306
  Requests: Requests_js_1.Requests,
284
307
  });
285
308
  exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
309
+ BlocklistEntries: BlocklistEntries_js_1.BlocklistEntries,
286
310
  VerificationReports: VerificationReports_js_1.VerificationReports,
287
311
  VerificationSessions: VerificationSessions_js_1.VerificationSessions,
288
312
  });
@@ -335,6 +359,9 @@ exports.TestHelpers = (0, ResourceNamespace_js_1.resourceNamespace)('testHelpers
335
359
  Customers: Customers_js_1.Customers,
336
360
  Refunds: Refunds_js_1.Refunds,
337
361
  TestClocks: TestClocks_js_1.TestClocks,
362
+ Capital: (0, ResourceNamespace_js_1.resourceNamespace)('capital', {
363
+ FinancingOffers: FinancingOffers_js_2.FinancingOffers,
364
+ }),
338
365
  Issuing: (0, ResourceNamespace_js_1.resourceNamespace)('issuing', {
339
366
  Authorizations: Authorizations_js_2.Authorizations,
340
367
  Cards: Cards_js_2.Cards,
@@ -369,15 +396,27 @@ exports.V2 = (0, ResourceNamespace_js_1.resourceNamespace)('v2', {
369
396
  BillSettings: BillSettings_js_1.BillSettings,
370
397
  Cadences: Cadences_js_1.Cadences,
371
398
  CollectionSettings: CollectionSettings_js_1.CollectionSettings,
399
+ CustomPricingUnits: CustomPricingUnits_js_1.CustomPricingUnits,
400
+ Intents: Intents_js_1.Intents,
401
+ LicenseFeeSubscriptions: LicenseFeeSubscriptions_js_1.LicenseFeeSubscriptions,
402
+ LicenseFees: LicenseFees_js_1.LicenseFees,
403
+ LicensedItems: LicensedItems_js_1.LicensedItems,
372
404
  MeterEventAdjustments: MeterEventAdjustments_js_2.MeterEventAdjustments,
373
405
  MeterEventSession: MeterEventSession_js_1.MeterEventSession,
374
406
  MeterEventStream: MeterEventStream_js_1.MeterEventStream,
375
407
  MeterEvents: MeterEvents_js_2.MeterEvents,
408
+ MeteredItems: MeteredItems_js_1.MeteredItems,
409
+ PricingPlanSubscriptions: PricingPlanSubscriptions_js_1.PricingPlanSubscriptions,
410
+ PricingPlans: PricingPlans_js_1.PricingPlans,
376
411
  Profiles: Profiles_js_1.Profiles,
412
+ RateCardSubscriptions: RateCardSubscriptions_js_1.RateCardSubscriptions,
413
+ RateCards: RateCards_js_1.RateCards,
414
+ ServiceActions: ServiceActions_js_1.ServiceActions,
377
415
  }),
378
416
  Core: (0, ResourceNamespace_js_1.resourceNamespace)('core', {
379
417
  AccountLinks: AccountLinks_js_1.AccountLinks,
380
418
  Accounts: Accounts_js_2.Accounts,
419
+ ClaimableSandboxes: ClaimableSandboxes_js_1.ClaimableSandboxes,
381
420
  EventDestinations: EventDestinations_js_1.EventDestinations,
382
421
  Events: Events_js_1.Events,
383
422
  Vault: (0, ResourceNamespace_js_1.resourceNamespace)('vault', {
@@ -398,13 +437,20 @@ exports.V2 = (0, ResourceNamespace_js_1.resourceNamespace)('v2', {
398
437
  PayoutMethodsBankAccountSpec: PayoutMethodsBankAccountSpec_js_1.PayoutMethodsBankAccountSpec,
399
438
  ReceivedCredits: ReceivedCredits_js_3.ReceivedCredits,
400
439
  ReceivedDebits: ReceivedDebits_js_3.ReceivedDebits,
440
+ RecipientVerifications: RecipientVerifications_js_1.RecipientVerifications,
401
441
  TransactionEntries: TransactionEntries_js_2.TransactionEntries,
402
442
  Transactions: Transactions_js_6.Transactions,
403
443
  }),
404
444
  Payment: (0, ResourceNamespace_js_1.resourceNamespace)('payment', {
405
445
  OffSessionPayments: OffSessionPayments_js_1.OffSessionPayments,
406
446
  }),
447
+ Reporting: (0, ResourceNamespace_js_1.resourceNamespace)('reporting', {
448
+ ReportRuns: ReportRuns_js_2.ReportRuns,
449
+ Reports: Reports_js_1.Reports,
450
+ }),
451
+ Tax: (0, ResourceNamespace_js_1.resourceNamespace)('tax', { AutomaticRules: AutomaticRules_js_1.AutomaticRules }),
407
452
  TestHelper: (0, ResourceNamespace_js_1.resourceNamespace)('testHelper', {
408
453
  FinancialAddresses: FinancialAddresses_js_2.FinancialAddresses,
454
+ MoneyManagement: MoneyManagement_js_1.MoneyManagement,
409
455
  }),
410
456
  });
@@ -37,7 +37,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
37
37
  ];
38
38
  const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
39
39
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
40
- Stripe.PACKAGE_VERSION = '19.3.0-beta.1';
40
+ Stripe.PACKAGE_VERSION = '19.4.0-alpha.1';
41
41
  Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
42
42
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
43
43
  Stripe.StripeResource = StripeResource_js_1.StripeResource;
@@ -427,7 +427,7 @@ export class RequestSender {
427
427
  contentType: apiMode == 'v2'
428
428
  ? 'application/json'
429
429
  : 'application/x-www-form-urlencoded',
430
- contentLength: requestData.length,
430
+ contentLength: Buffer.byteLength(requestData, 'utf8'),
431
431
  apiVersion: apiVersion,
432
432
  clientUserAgent,
433
433
  method,
package/esm/apiVersion.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // File generated from our OpenAPI spec
2
- export const ApiVersion = '2025-10-29.preview';
2
+ export const ApiVersion = '2025-09-30.preview';
@@ -0,0 +1,25 @@
1
+ // File generated from our OpenAPI spec
2
+ import { StripeResource } from '../../StripeResource.js';
3
+ const stripeMethod = StripeResource.method;
4
+ export const RequestedSessions = StripeResource.extend({
5
+ create: stripeMethod({
6
+ method: 'POST',
7
+ fullPath: '/v1/delegated_checkout/requested_sessions',
8
+ }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
12
+ }),
13
+ update: stripeMethod({
14
+ method: 'POST',
15
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
16
+ }),
17
+ confirm: stripeMethod({
18
+ method: 'POST',
19
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/confirm',
20
+ }),
21
+ expire: stripeMethod({
22
+ method: 'POST',
23
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/expire',
24
+ }),
25
+ });
@@ -0,0 +1,22 @@
1
+ // File generated from our OpenAPI spec
2
+ import { StripeResource } from '../../StripeResource.js';
3
+ const stripeMethod = StripeResource.method;
4
+ export const BlocklistEntries = StripeResource.extend({
5
+ create: stripeMethod({
6
+ method: 'POST',
7
+ fullPath: '/v1/identity/blocklist_entries',
8
+ }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v1/identity/blocklist_entries/{id}',
12
+ }),
13
+ list: stripeMethod({
14
+ method: 'GET',
15
+ fullPath: '/v1/identity/blocklist_entries',
16
+ methodType: 'list',
17
+ }),
18
+ disable: stripeMethod({
19
+ method: 'POST',
20
+ fullPath: '/v1/identity/blocklist_entries/{id}/disable',
21
+ }),
22
+ });
@@ -20,6 +20,10 @@ export const PaymentMethods = StripeResource.extend({
20
20
  method: 'POST',
21
21
  fullPath: '/v1/payment_methods/{payment_method}/attach',
22
22
  }),
23
+ checkBalance: stripeMethod({
24
+ method: 'POST',
25
+ fullPath: '/v1/payment_methods/{payment_method}/check_balance',
26
+ }),
23
27
  detach: stripeMethod({
24
28
  method: 'POST',
25
29
  fullPath: '/v1/payment_methods/{payment_method}/detach',
@@ -0,0 +1,13 @@
1
+ // File generated from our OpenAPI spec
2
+ import { StripeResource } from '../../../StripeResource.js';
3
+ const stripeMethod = StripeResource.method;
4
+ export const FinancingOffers = StripeResource.extend({
5
+ create: stripeMethod({
6
+ method: 'POST',
7
+ fullPath: '/v1/test_helpers/capital/financing_offers',
8
+ }),
9
+ refill: stripeMethod({
10
+ method: 'POST',
11
+ fullPath: '/v1/test_helpers/capital/financing_offers/{financing_offer}/refill',
12
+ }),
13
+ });
@@ -0,0 +1,22 @@
1
+ // File generated from our OpenAPI spec
2
+ import { StripeResource } from '../../../StripeResource.js';
3
+ const stripeMethod = StripeResource.method;
4
+ export const CustomPricingUnits = StripeResource.extend({
5
+ create: stripeMethod({
6
+ method: 'POST',
7
+ fullPath: '/v2/billing/custom_pricing_units',
8
+ }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v2/billing/custom_pricing_units/{id}',
12
+ }),
13
+ update: stripeMethod({
14
+ method: 'POST',
15
+ fullPath: '/v2/billing/custom_pricing_units/{id}',
16
+ }),
17
+ list: stripeMethod({
18
+ method: 'GET',
19
+ fullPath: '/v2/billing/custom_pricing_units',
20
+ methodType: 'list',
21
+ }),
22
+ });