stripe 19.1.0 → 19.2.0-alpha.2

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 (415) hide show
  1. package/CHANGELOG.md +1568 -11
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +1 -0
  4. package/VERSION +1 -1
  5. package/cjs/Error.js +115 -1
  6. package/cjs/apiVersion.js +2 -3
  7. package/cjs/resources/AccountNotices.js +21 -0
  8. package/cjs/resources/Billing/Analytics/MeterUsage.js +12 -0
  9. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  10. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  11. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  12. package/cjs/resources/ExternalAccounts.js +23 -0
  13. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  14. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  15. package/cjs/resources/FxQuotes.js +15 -0
  16. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  17. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  18. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  19. package/cjs/resources/Mandates.js +5 -0
  20. package/cjs/resources/Margins.js +22 -0
  21. package/cjs/resources/Orders.js +24 -0
  22. package/cjs/resources/PaymentAttemptRecords.js +17 -0
  23. package/cjs/resources/PaymentIntents.js +13 -0
  24. package/cjs/resources/PaymentMethods.js +4 -0
  25. package/cjs/resources/PaymentRecords.js +33 -0
  26. package/cjs/resources/Privacy/RedactionJobs.js +42 -0
  27. package/cjs/resources/Quotes.js +32 -0
  28. package/cjs/resources/SubscriptionSchedules.js +4 -0
  29. package/cjs/resources/Subscriptions.js +4 -0
  30. package/cjs/resources/Tax/Associations.js +9 -0
  31. package/cjs/resources/Tax/Forms.js +20 -0
  32. package/cjs/resources/Terminal/OnboardingLinks.js +12 -0
  33. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  34. package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
  35. package/cjs/resources/V2/Billing/BillSettings.js +27 -0
  36. package/cjs/resources/V2/Billing/Cadences.js +23 -0
  37. package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
  38. package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
  39. package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
  40. package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
  41. package/cjs/resources/V2/Billing/Intents.js +36 -0
  42. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
  43. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
  44. package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
  45. package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
  46. package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
  47. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +21 -0
  48. package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
  49. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
  50. package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
  51. package/cjs/resources/V2/Billing/Profiles.js +19 -0
  52. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
  53. package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
  54. package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
  55. package/cjs/resources/V2/Billing/RateCards.js +29 -0
  56. package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
  57. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  58. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  59. package/cjs/resources/V2/Core/Accounts.js +25 -0
  60. package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
  61. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
  62. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
  63. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  64. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +25 -0
  65. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  66. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  67. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
  68. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  69. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  70. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  71. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  72. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  73. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  74. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  75. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
  76. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  77. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  78. package/cjs/resources/V2/Payments/OffSessionPayments.js +29 -0
  79. package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
  80. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  81. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
  82. package/cjs/resources.js +140 -8
  83. package/cjs/stripe.core.js +1 -1
  84. package/esm/Error.js +100 -0
  85. package/esm/apiVersion.js +1 -2
  86. package/esm/resources/AccountNotices.js +18 -0
  87. package/esm/resources/Billing/Analytics/MeterUsage.js +9 -0
  88. package/esm/resources/Capital/FinancingOffers.js +18 -0
  89. package/esm/resources/Capital/FinancingSummary.js +9 -0
  90. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  91. package/esm/resources/ExternalAccounts.js +20 -0
  92. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  93. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  94. package/esm/resources/FxQuotes.js +12 -0
  95. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  96. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  97. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  98. package/esm/resources/Mandates.js +5 -0
  99. package/esm/resources/Margins.js +19 -0
  100. package/esm/resources/Orders.js +21 -0
  101. package/esm/resources/PaymentAttemptRecords.js +14 -0
  102. package/esm/resources/PaymentIntents.js +13 -0
  103. package/esm/resources/PaymentMethods.js +4 -0
  104. package/esm/resources/PaymentRecords.js +30 -0
  105. package/esm/resources/Privacy/RedactionJobs.js +39 -0
  106. package/esm/resources/Quotes.js +32 -0
  107. package/esm/resources/SubscriptionSchedules.js +4 -0
  108. package/esm/resources/Subscriptions.js +4 -0
  109. package/esm/resources/Tax/Associations.js +6 -0
  110. package/esm/resources/Tax/Forms.js +17 -0
  111. package/esm/resources/Terminal/OnboardingLinks.js +9 -0
  112. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  113. package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
  114. package/esm/resources/V2/Billing/BillSettings.js +24 -0
  115. package/esm/resources/V2/Billing/Cadences.js +20 -0
  116. package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
  117. package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
  118. package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
  119. package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
  120. package/esm/resources/V2/Billing/Intents.js +33 -0
  121. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
  122. package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
  123. package/esm/resources/V2/Billing/LicenseFees.js +24 -0
  124. package/esm/resources/V2/Billing/LicensedItems.js +22 -0
  125. package/esm/resources/V2/Billing/MeteredItems.js +19 -0
  126. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +18 -0
  127. package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
  128. package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
  129. package/esm/resources/V2/Billing/PricingPlans.js +26 -0
  130. package/esm/resources/V2/Billing/Profiles.js +16 -0
  131. package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
  132. package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
  133. package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
  134. package/esm/resources/V2/Billing/RateCards.js +26 -0
  135. package/esm/resources/V2/Billing/ServiceActions.js +17 -0
  136. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  137. package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
  138. package/esm/resources/V2/Core/Accounts.js +22 -0
  139. package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
  140. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
  141. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
  142. package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
  143. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +22 -0
  144. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
  145. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
  146. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
  147. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
  148. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
  149. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
  150. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
  151. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
  152. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
  153. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
  154. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
  155. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
  156. package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
  157. package/esm/resources/V2/Payments/OffSessionPayments.js +26 -0
  158. package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
  159. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
  160. package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
  161. package/esm/resources.js +125 -0
  162. package/esm/stripe.core.js +1 -1
  163. package/package.json +1 -1
  164. package/types/AccountLinksResource.d.ts +5 -1
  165. package/types/AccountNotices.d.ts +113 -0
  166. package/types/AccountNoticesResource.d.ts +98 -0
  167. package/types/AccountSessions.d.ts +45 -0
  168. package/types/AccountSessionsResource.d.ts +264 -0
  169. package/types/Accounts.d.ts +212 -1
  170. package/types/AccountsResource.d.ts +544 -0
  171. package/types/Billing/AlertTriggereds.d.ts +16 -1
  172. package/types/Billing/Alerts.d.ts +116 -1
  173. package/types/Billing/AlertsResource.d.ts +149 -2
  174. package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
  175. package/types/Billing/Analytics/MeterUsageResource.d.ts +689 -0
  176. package/types/Billing/Analytics/MeterUsageRows.d.ts +51 -0
  177. package/types/Billing/CreditBalanceSummary.d.ts +123 -2
  178. package/types/Billing/CreditBalanceSummaryResource.d.ts +20 -3
  179. package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
  180. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  181. package/types/Billing/CreditGrants.d.ts +76 -1
  182. package/types/Billing/CreditGrantsResource.d.ts +43 -2
  183. package/types/BillingPortal/Sessions.d.ts +5 -0
  184. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  185. package/types/Capital/FinancingOffers.d.ts +188 -0
  186. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  187. package/types/Capital/FinancingSummary.d.ts +106 -0
  188. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  189. package/types/Capital/FinancingTransactions.d.ts +135 -0
  190. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  191. package/types/Cards.d.ts +19 -0
  192. package/types/CashBalances.d.ts +5 -0
  193. package/types/Charges.d.ts +180 -0
  194. package/types/ChargesResource.d.ts +1406 -0
  195. package/types/Checkout/Sessions.d.ts +427 -2
  196. package/types/Checkout/SessionsResource.d.ts +684 -2
  197. package/types/ConfirmationTokens.d.ts +139 -0
  198. package/types/Coupons.d.ts +33 -0
  199. package/types/CouponsResource.d.ts +21 -0
  200. package/types/CreditNoteLineItems.d.ts +17 -0
  201. package/types/CreditNotes.d.ts +31 -0
  202. package/types/CreditNotesResource.d.ts +83 -0
  203. package/types/CustomerBalanceTransactions.d.ts +2 -0
  204. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  205. package/types/CustomerSessions.d.ts +5 -0
  206. package/types/CustomerSessionsResource.d.ts +6 -1
  207. package/types/Customers.d.ts +2 -0
  208. package/types/CustomersResource.d.ts +8 -0
  209. package/types/Discounts.d.ts +10 -0
  210. package/types/Disputes.d.ts +40 -0
  211. package/types/DisputesResource.d.ts +11 -0
  212. package/types/Errors.d.ts +85 -0
  213. package/types/EventTypes.d.ts +664 -0
  214. package/types/Events.d.ts +97 -0
  215. package/types/ExternalAccountsResource.d.ts +304 -0
  216. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  217. package/types/FinancialConnections/Accounts.d.ts +36 -1
  218. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  219. package/types/FinancialConnections/Institutions.d.ts +98 -0
  220. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  221. package/types/FinancialConnections/Sessions.d.ts +51 -1
  222. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  223. package/types/FxQuotes.d.ts +155 -0
  224. package/types/FxQuotesResource.d.ts +130 -0
  225. package/types/Identity/VerificationSessions.d.ts +5 -0
  226. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  227. package/types/InvoiceItems.d.ts +114 -2
  228. package/types/InvoiceItemsResource.d.ts +117 -6
  229. package/types/InvoiceLineItems.d.ts +158 -3
  230. package/types/InvoicePayments.d.ts +5 -0
  231. package/types/InvoicePaymentsResource.d.ts +10 -1
  232. package/types/Invoices.d.ts +204 -4
  233. package/types/InvoicesResource.d.ts +1652 -22
  234. package/types/Issuing/CardholdersResource.d.ts +2 -1
  235. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  236. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  237. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  238. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  239. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  240. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  241. package/types/Issuing/Settlements.d.ts +113 -0
  242. package/types/Issuing/Transactions.d.ts +5 -0
  243. package/types/Issuing/TransactionsResource.d.ts +5 -0
  244. package/types/LineItems.d.ts +49 -0
  245. package/types/Mandates.d.ts +135 -1
  246. package/types/MandatesResource.d.ts +31 -0
  247. package/types/Margins.d.ts +56 -0
  248. package/types/MarginsResource.d.ts +114 -0
  249. package/types/Orders.d.ts +1163 -0
  250. package/types/OrdersResource.d.ts +3139 -0
  251. package/types/PaymentAttemptRecords.d.ts +2360 -0
  252. package/types/PaymentAttemptRecordsResource.d.ts +52 -0
  253. package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
  254. package/types/PaymentIntents.d.ts +840 -3
  255. package/types/PaymentIntentsResource.d.ts +11825 -5923
  256. package/types/PaymentLinks.d.ts +7 -0
  257. package/types/PaymentLinksResource.d.ts +14 -0
  258. package/types/PaymentMethodBalances.d.ts +63 -0
  259. package/types/PaymentMethodConfigurations.d.ts +216 -0
  260. package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
  261. package/types/PaymentMethods.d.ts +144 -0
  262. package/types/PaymentMethodsResource.d.ts +187 -2
  263. package/types/PaymentRecords.d.ts +2353 -0
  264. package/types/PaymentRecordsResource.d.ts +559 -0
  265. package/types/Prices.d.ts +22 -0
  266. package/types/PricesResource.d.ts +22 -0
  267. package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
  268. package/types/Privacy/RedactionJobs.d.ts +111 -0
  269. package/types/Privacy/RedactionJobsResource.d.ts +230 -0
  270. package/types/PromotionCodes.d.ts +5 -0
  271. package/types/PromotionCodesResource.d.ts +10 -0
  272. package/types/QuoteLines.d.ts +634 -0
  273. package/types/QuotePreviewInvoices.d.ts +1770 -0
  274. package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
  275. package/types/Quotes.d.ts +594 -1
  276. package/types/QuotesResource.d.ts +2588 -243
  277. package/types/Refunds.d.ts +14 -0
  278. package/types/SetupAttempts.d.ts +51 -1
  279. package/types/SetupIntents.d.ts +231 -2
  280. package/types/SetupIntentsResource.d.ts +1028 -4
  281. package/types/Sources.d.ts +29 -0
  282. package/types/SubscriptionItems.d.ts +26 -0
  283. package/types/SubscriptionItemsResource.d.ts +109 -0
  284. package/types/SubscriptionSchedules.d.ts +205 -0
  285. package/types/SubscriptionSchedulesResource.d.ts +1233 -5
  286. package/types/Subscriptions.d.ts +263 -1
  287. package/types/SubscriptionsResource.d.ts +747 -8
  288. package/types/Tax/Associations.d.ts +82 -0
  289. package/types/Tax/AssociationsResource.d.ts +29 -0
  290. package/types/Tax/Forms.d.ts +220 -0
  291. package/types/Tax/FormsResource.d.ts +107 -0
  292. package/types/TaxIds.d.ts +10 -0
  293. package/types/TaxIdsResource.d.ts +10 -0
  294. package/types/Terminal/Configurations.d.ts +9 -0
  295. package/types/Terminal/ConfigurationsResource.d.ts +28 -0
  296. package/types/Terminal/OnboardingLinks.d.ts +57 -0
  297. package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
  298. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  299. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  300. package/types/Terminal/Readers.d.ts +20 -0
  301. package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
  302. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  303. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  304. package/types/Transfers.d.ts +5 -0
  305. package/types/TransfersResource.d.ts +5 -0
  306. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  307. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  308. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  309. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  310. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  311. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  312. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  313. package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
  314. package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
  315. package/types/V2/Billing/BillSettings.d.ts +120 -0
  316. package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
  317. package/types/V2/Billing/Cadences.d.ts +731 -0
  318. package/types/V2/Billing/CadencesResource.d.ts +516 -0
  319. package/types/V2/Billing/CollectionSettingVersions.d.ts +314 -0
  320. package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
  321. package/types/V2/Billing/CollectionSettings.d.ts +337 -0
  322. package/types/V2/Billing/CollectionSettingsResource.d.ts +675 -0
  323. package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
  324. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
  325. package/types/V2/Billing/IntentActions.d.ts +459 -0
  326. package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
  327. package/types/V2/Billing/Intents.d.ts +117 -0
  328. package/types/V2/Billing/IntentsResource.d.ts +575 -0
  329. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
  330. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
  331. package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
  332. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
  333. package/types/V2/Billing/LicenseFees.d.ts +164 -0
  334. package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
  335. package/types/V2/Billing/LicensedItems.d.ts +73 -0
  336. package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
  337. package/types/V2/Billing/MeteredItems.d.ts +101 -0
  338. package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
  339. package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
  340. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
  341. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +118 -0
  342. package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
  343. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
  344. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
  345. package/types/V2/Billing/PricingPlans.d.ts +84 -0
  346. package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
  347. package/types/V2/Billing/Profiles.d.ts +70 -0
  348. package/types/V2/Billing/ProfilesResource.d.ts +150 -0
  349. package/types/V2/Billing/RateCardRates.d.ts +144 -0
  350. package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
  351. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
  352. package/types/V2/Billing/RateCardVersions.d.ts +39 -0
  353. package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
  354. package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
  355. package/types/V2/Billing/RateCards.d.ts +98 -0
  356. package/types/V2/Billing/RateCardsResource.d.ts +162 -0
  357. package/types/V2/Billing/ServiceActions.d.ts +274 -0
  358. package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
  359. package/types/V2/Core/AccountLinks.d.ts +168 -0
  360. package/types/V2/Core/AccountLinksResource.d.ts +152 -0
  361. package/types/V2/Core/AccountPersons.d.ts +615 -0
  362. package/types/V2/Core/Accounts/PersonsResource.d.ts +1153 -0
  363. package/types/V2/Core/Accounts.d.ts +6816 -0
  364. package/types/V2/Core/AccountsResource.d.ts +6000 -0
  365. package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
  366. package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
  367. package/types/V2/Core/EventTypes.d.ts +8489 -10
  368. package/types/V2/Core/Events.d.ts +12 -0
  369. package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
  370. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
  371. package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
  372. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
  373. package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
  374. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
  375. package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
  376. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  377. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +148 -0
  378. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +147 -0
  379. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +178 -0
  380. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +126 -0
  381. package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
  382. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  383. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +170 -0
  384. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
  385. package/types/V2/MoneyManagement/OutboundPayments.d.ts +283 -0
  386. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +247 -0
  387. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
  388. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +330 -0
  389. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +256 -0
  390. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +213 -0
  391. package/types/V2/MoneyManagement/PayoutMethods.d.ts +201 -0
  392. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
  393. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  394. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  395. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +302 -0
  396. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  397. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +181 -0
  398. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  399. package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
  400. package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
  401. package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
  402. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  403. package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
  404. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  405. package/types/V2/Payments/OffSessionPayments.d.ts +326 -0
  406. package/types/V2/Payments/OffSessionPaymentsResource.d.ts +401 -0
  407. package/types/V2/Tax/AutomaticRules.d.ts +53 -0
  408. package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
  409. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +73 -0
  410. package/types/V2/TestHelpers/MoneyManagementResource.d.ts +48 -0
  411. package/types/WebhookEndpointsResource.d.ts +78 -0
  412. package/types/Webhooks.d.ts +2 -0
  413. package/types/apiVersion.d.ts +1 -2
  414. package/types/index.d.ts +219 -0
  415. package/types/lib.d.ts +10 -0
@@ -0,0 +1,2360 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ /**
6
+ * A Payment Attempt Record represents an individual attempt at making a payment, on or off Stripe.
7
+ * Each payment attempt tries to collect a fixed amount of money from a fixed customer and payment
8
+ * method. Payment Attempt Records are attached to Payment Records. Only one attempt per Payment Record
9
+ * can have guaranteed funds.
10
+ */
11
+ interface PaymentAttemptRecord {
12
+ /**
13
+ * Unique identifier for the object.
14
+ */
15
+ id: string;
16
+
17
+ /**
18
+ * String representing the object's type. Objects of the same type share the same value.
19
+ */
20
+ object: 'payment_attempt_record';
21
+
22
+ /**
23
+ * A representation of an amount of money, consisting of an amount and a currency.
24
+ */
25
+ amount: PaymentAttemptRecord.Amount;
26
+
27
+ /**
28
+ * A representation of an amount of money, consisting of an amount and a currency.
29
+ */
30
+ amount_authorized: PaymentAttemptRecord.AmountAuthorized;
31
+
32
+ /**
33
+ * A representation of an amount of money, consisting of an amount and a currency.
34
+ */
35
+ amount_canceled: PaymentAttemptRecord.AmountCanceled;
36
+
37
+ /**
38
+ * A representation of an amount of money, consisting of an amount and a currency.
39
+ */
40
+ amount_failed: PaymentAttemptRecord.AmountFailed;
41
+
42
+ /**
43
+ * A representation of an amount of money, consisting of an amount and a currency.
44
+ */
45
+ amount_guaranteed: PaymentAttemptRecord.AmountGuaranteed;
46
+
47
+ /**
48
+ * A representation of an amount of money, consisting of an amount and a currency.
49
+ */
50
+ amount_refunded: PaymentAttemptRecord.AmountRefunded;
51
+
52
+ /**
53
+ * A representation of an amount of money, consisting of an amount and a currency.
54
+ */
55
+ amount_requested: PaymentAttemptRecord.AmountRequested;
56
+
57
+ /**
58
+ * ID of the Connect application that created the PaymentAttemptRecord.
59
+ */
60
+ application: string | null;
61
+
62
+ /**
63
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
64
+ */
65
+ created: number;
66
+
67
+ /**
68
+ * Customer information for this payment.
69
+ */
70
+ customer_details: PaymentAttemptRecord.CustomerDetails | null;
71
+
72
+ /**
73
+ * Indicates whether the customer was present in your checkout flow during this payment.
74
+ */
75
+ customer_presence: PaymentAttemptRecord.CustomerPresence | null;
76
+
77
+ /**
78
+ * An arbitrary string attached to the object. Often useful for displaying to users.
79
+ */
80
+ description: string | null;
81
+
82
+ /**
83
+ * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
84
+ */
85
+ livemode: boolean;
86
+
87
+ /**
88
+ * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
89
+ */
90
+ metadata: Stripe.Metadata;
91
+
92
+ /**
93
+ * Information about the Payment Method debited for this payment.
94
+ */
95
+ payment_method_details: PaymentAttemptRecord.PaymentMethodDetails | null;
96
+
97
+ /**
98
+ * ID of the Payment Record this Payment Attempt Record belongs to.
99
+ */
100
+ payment_record: string | null;
101
+
102
+ /**
103
+ * Processor information associated with this payment.
104
+ */
105
+ processor_details: PaymentAttemptRecord.ProcessorDetails;
106
+
107
+ /**
108
+ * Indicates who reported the payment.
109
+ */
110
+ reported_by: PaymentAttemptRecord.ReportedBy;
111
+
112
+ /**
113
+ * Shipping information for this payment.
114
+ */
115
+ shipping_details: PaymentAttemptRecord.ShippingDetails | null;
116
+ }
117
+
118
+ namespace PaymentAttemptRecord {
119
+ interface Amount {
120
+ /**
121
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
122
+ */
123
+ currency: string;
124
+
125
+ /**
126
+ * A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
127
+ */
128
+ value: number;
129
+ }
130
+
131
+ interface AmountAuthorized {
132
+ /**
133
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
134
+ */
135
+ currency: string;
136
+
137
+ /**
138
+ * A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
139
+ */
140
+ value: number;
141
+ }
142
+
143
+ interface AmountCanceled {
144
+ /**
145
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
146
+ */
147
+ currency: string;
148
+
149
+ /**
150
+ * A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
151
+ */
152
+ value: number;
153
+ }
154
+
155
+ interface AmountFailed {
156
+ /**
157
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
158
+ */
159
+ currency: string;
160
+
161
+ /**
162
+ * A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
163
+ */
164
+ value: number;
165
+ }
166
+
167
+ interface AmountGuaranteed {
168
+ /**
169
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
170
+ */
171
+ currency: string;
172
+
173
+ /**
174
+ * A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
175
+ */
176
+ value: number;
177
+ }
178
+
179
+ interface AmountRefunded {
180
+ /**
181
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
182
+ */
183
+ currency: string;
184
+
185
+ /**
186
+ * A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
187
+ */
188
+ value: number;
189
+ }
190
+
191
+ interface AmountRequested {
192
+ /**
193
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
194
+ */
195
+ currency: string;
196
+
197
+ /**
198
+ * A positive integer representing the amount in the currency's [minor unit](https://stripe.com/docs/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
199
+ */
200
+ value: number;
201
+ }
202
+
203
+ interface CustomerDetails {
204
+ /**
205
+ * ID of the Stripe Customer associated with this payment.
206
+ */
207
+ customer: string | null;
208
+
209
+ /**
210
+ * The customer's email address.
211
+ */
212
+ email: string | null;
213
+
214
+ /**
215
+ * The customer's name.
216
+ */
217
+ name: string | null;
218
+
219
+ /**
220
+ * The customer's phone number.
221
+ */
222
+ phone: string | null;
223
+ }
224
+
225
+ type CustomerPresence = 'off_session' | 'on_session';
226
+
227
+ interface PaymentMethodDetails {
228
+ ach_credit_transfer?: PaymentMethodDetails.AchCreditTransfer;
229
+
230
+ ach_debit?: PaymentMethodDetails.AchDebit;
231
+
232
+ acss_debit?: PaymentMethodDetails.AcssDebit;
233
+
234
+ affirm?: PaymentMethodDetails.Affirm;
235
+
236
+ afterpay_clearpay?: PaymentMethodDetails.AfterpayClearpay;
237
+
238
+ alipay?: PaymentMethodDetails.Alipay;
239
+
240
+ alma?: PaymentMethodDetails.Alma;
241
+
242
+ amazon_pay?: PaymentMethodDetails.AmazonPay;
243
+
244
+ au_becs_debit?: PaymentMethodDetails.AuBecsDebit;
245
+
246
+ bacs_debit?: PaymentMethodDetails.BacsDebit;
247
+
248
+ bancontact?: PaymentMethodDetails.Bancontact;
249
+
250
+ billie?: PaymentMethodDetails.Billie;
251
+
252
+ /**
253
+ * The billing details associated with the method of payment.
254
+ */
255
+ billing_details: PaymentMethodDetails.BillingDetails | null;
256
+
257
+ blik?: PaymentMethodDetails.Blik;
258
+
259
+ boleto?: PaymentMethodDetails.Boleto;
260
+
261
+ /**
262
+ * Details of the card used for this payment attempt.
263
+ */
264
+ card?: PaymentMethodDetails.Card;
265
+
266
+ card_present?: PaymentMethodDetails.CardPresent;
267
+
268
+ cashapp?: PaymentMethodDetails.Cashapp;
269
+
270
+ crypto?: PaymentMethodDetails.Crypto;
271
+
272
+ /**
273
+ * Custom Payment Methods represent Payment Method types not modeled directly in
274
+ * the Stripe API. This resource consists of details about the custom payment method
275
+ * used for this payment attempt.
276
+ */
277
+ custom?: PaymentMethodDetails.Custom;
278
+
279
+ customer_balance?: PaymentMethodDetails.CustomerBalance;
280
+
281
+ eps?: PaymentMethodDetails.Eps;
282
+
283
+ fpx?: PaymentMethodDetails.Fpx;
284
+
285
+ giropay?: PaymentMethodDetails.Giropay;
286
+
287
+ gopay?: PaymentMethodDetails.Gopay;
288
+
289
+ grabpay?: PaymentMethodDetails.Grabpay;
290
+
291
+ id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
292
+
293
+ ideal?: PaymentMethodDetails.Ideal;
294
+
295
+ interac_present?: PaymentMethodDetails.InteracPresent;
296
+
297
+ kakao_pay?: PaymentMethodDetails.KakaoPay;
298
+
299
+ klarna?: PaymentMethodDetails.Klarna;
300
+
301
+ konbini?: PaymentMethodDetails.Konbini;
302
+
303
+ kr_card?: PaymentMethodDetails.KrCard;
304
+
305
+ link?: PaymentMethodDetails.Link;
306
+
307
+ mb_way?: PaymentMethodDetails.MbWay;
308
+
309
+ mobilepay?: PaymentMethodDetails.Mobilepay;
310
+
311
+ multibanco?: PaymentMethodDetails.Multibanco;
312
+
313
+ naver_pay?: PaymentMethodDetails.NaverPay;
314
+
315
+ nz_bank_account?: PaymentMethodDetails.NzBankAccount;
316
+
317
+ oxxo?: PaymentMethodDetails.Oxxo;
318
+
319
+ p24?: PaymentMethodDetails.P24;
320
+
321
+ pay_by_bank?: PaymentMethodDetails.PayByBank;
322
+
323
+ payco?: PaymentMethodDetails.Payco;
324
+
325
+ /**
326
+ * ID of the Stripe PaymentMethod used to make this payment.
327
+ */
328
+ payment_method: string | null;
329
+
330
+ paynow?: PaymentMethodDetails.Paynow;
331
+
332
+ paypal?: PaymentMethodDetails.Paypal;
333
+
334
+ paypay?: PaymentMethodDetails.Paypay;
335
+
336
+ payto?: PaymentMethodDetails.Payto;
337
+
338
+ pix?: PaymentMethodDetails.Pix;
339
+
340
+ promptpay?: PaymentMethodDetails.Promptpay;
341
+
342
+ qris?: PaymentMethodDetails.Qris;
343
+
344
+ rechnung?: PaymentMethodDetails.Rechnung;
345
+
346
+ revolut_pay?: PaymentMethodDetails.RevolutPay;
347
+
348
+ samsung_pay?: PaymentMethodDetails.SamsungPay;
349
+
350
+ satispay?: PaymentMethodDetails.Satispay;
351
+
352
+ sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
353
+
354
+ sepa_debit?: PaymentMethodDetails.SepaDebit;
355
+
356
+ shopeepay?: PaymentMethodDetails.Shopeepay;
357
+
358
+ sofort?: PaymentMethodDetails.Sofort;
359
+
360
+ stripe_account?: PaymentMethodDetails.StripeAccount;
361
+
362
+ stripe_balance?: PaymentMethodDetails.StripeBalance;
363
+
364
+ swish?: PaymentMethodDetails.Swish;
365
+
366
+ twint?: PaymentMethodDetails.Twint;
367
+
368
+ /**
369
+ * The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
370
+ * An additional hash is included on `payment_method_details` with a name matching this value.
371
+ * It contains information specific to the payment method.
372
+ */
373
+ type: string;
374
+
375
+ /**
376
+ * Details of the US Bank Account used for this payment attempt.
377
+ */
378
+ us_bank_account?: PaymentMethodDetails.UsBankAccount;
379
+
380
+ wechat?: PaymentMethodDetails.Wechat;
381
+
382
+ wechat_pay?: PaymentMethodDetails.WechatPay;
383
+
384
+ zip?: PaymentMethodDetails.Zip;
385
+ }
386
+
387
+ namespace PaymentMethodDetails {
388
+ interface AchCreditTransfer {
389
+ /**
390
+ * Account number to transfer funds to.
391
+ */
392
+ account_number: string | null;
393
+
394
+ /**
395
+ * Name of the bank associated with the routing number.
396
+ */
397
+ bank_name: string | null;
398
+
399
+ /**
400
+ * Routing transit number for the bank account to transfer funds to.
401
+ */
402
+ routing_number: string | null;
403
+
404
+ /**
405
+ * SWIFT code of the bank associated with the routing number.
406
+ */
407
+ swift_code: string | null;
408
+ }
409
+
410
+ interface AchDebit {
411
+ /**
412
+ * Type of entity that holds the account. This can be either `individual` or `company`.
413
+ */
414
+ account_holder_type: AchDebit.AccountHolderType | null;
415
+
416
+ /**
417
+ * Name of the bank associated with the bank account.
418
+ */
419
+ bank_name: string | null;
420
+
421
+ /**
422
+ * Two-letter ISO code representing the country the bank account is located in.
423
+ */
424
+ country: string | null;
425
+
426
+ /**
427
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
428
+ */
429
+ fingerprint: string | null;
430
+
431
+ /**
432
+ * Last four digits of the bank account number.
433
+ */
434
+ last4: string | null;
435
+
436
+ /**
437
+ * Routing transit number of the bank account.
438
+ */
439
+ routing_number: string | null;
440
+ }
441
+
442
+ namespace AchDebit {
443
+ type AccountHolderType = 'company' | 'individual';
444
+ }
445
+
446
+ interface AcssDebit {
447
+ /**
448
+ * Name of the bank associated with the bank account.
449
+ */
450
+ bank_name: string | null;
451
+
452
+ /**
453
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
454
+ */
455
+ fingerprint: string | null;
456
+
457
+ /**
458
+ * Institution number of the bank account
459
+ */
460
+ institution_number: string | null;
461
+
462
+ /**
463
+ * Last four digits of the bank account number.
464
+ */
465
+ last4: string | null;
466
+
467
+ /**
468
+ * ID of the mandate used to make this payment.
469
+ */
470
+ mandate?: string;
471
+
472
+ /**
473
+ * Transit number of the bank account.
474
+ */
475
+ transit_number: string | null;
476
+ }
477
+
478
+ interface Affirm {
479
+ /**
480
+ * ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
481
+ */
482
+ location?: string;
483
+
484
+ /**
485
+ * ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
486
+ */
487
+ reader?: string;
488
+
489
+ /**
490
+ * The Affirm transaction ID associated with this payment.
491
+ */
492
+ transaction_id: string | null;
493
+ }
494
+
495
+ interface AfterpayClearpay {
496
+ /**
497
+ * The Afterpay order ID associated with this payment intent.
498
+ */
499
+ order_id: string | null;
500
+
501
+ /**
502
+ * Order identifier shown to the merchant in Afterpay's online portal.
503
+ */
504
+ reference: string | null;
505
+ }
506
+
507
+ interface Alipay {
508
+ /**
509
+ * Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
510
+ */
511
+ buyer_id?: string;
512
+
513
+ /**
514
+ * Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
515
+ */
516
+ fingerprint: string | null;
517
+
518
+ /**
519
+ * Transaction ID of this particular Alipay transaction.
520
+ */
521
+ transaction_id: string | null;
522
+ }
523
+
524
+ interface Alma {
525
+ installments?: Alma.Installments;
526
+
527
+ /**
528
+ * The Alma transaction ID associated with this payment.
529
+ */
530
+ transaction_id: string | null;
531
+ }
532
+
533
+ namespace Alma {
534
+ interface Installments {
535
+ /**
536
+ * The number of installments.
537
+ */
538
+ count: number;
539
+ }
540
+ }
541
+
542
+ interface AmazonPay {
543
+ funding?: AmazonPay.Funding;
544
+
545
+ /**
546
+ * The Amazon Pay transaction ID associated with this payment.
547
+ */
548
+ transaction_id: string | null;
549
+ }
550
+
551
+ namespace AmazonPay {
552
+ interface Funding {
553
+ card?: Funding.Card;
554
+
555
+ /**
556
+ * funding type of the underlying payment method.
557
+ */
558
+ type: 'card' | null;
559
+ }
560
+
561
+ namespace Funding {
562
+ interface Card {
563
+ /**
564
+ * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
565
+ */
566
+ brand: string | null;
567
+
568
+ /**
569
+ * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
570
+ */
571
+ brand_product?: string | null;
572
+
573
+ /**
574
+ * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
575
+ */
576
+ country: string | null;
577
+
578
+ /**
579
+ * Two-digit number representing the card's expiration month.
580
+ */
581
+ exp_month: number | null;
582
+
583
+ /**
584
+ * Four-digit number representing the card's expiration year.
585
+ */
586
+ exp_year: number | null;
587
+
588
+ /**
589
+ * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
590
+ */
591
+ funding: string | null;
592
+
593
+ /**
594
+ * The last four digits of the card.
595
+ */
596
+ last4: string | null;
597
+ }
598
+ }
599
+ }
600
+
601
+ interface AuBecsDebit {
602
+ /**
603
+ * Bank-State-Branch number of the bank account.
604
+ */
605
+ bsb_number: string | null;
606
+
607
+ /**
608
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
609
+ */
610
+ fingerprint: string | null;
611
+
612
+ /**
613
+ * Last four digits of the bank account number.
614
+ */
615
+ last4: string | null;
616
+
617
+ /**
618
+ * ID of the mandate used to make this payment.
619
+ */
620
+ mandate?: string;
621
+ }
622
+
623
+ interface BacsDebit {
624
+ /**
625
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
626
+ */
627
+ fingerprint: string | null;
628
+
629
+ /**
630
+ * Last four digits of the bank account number.
631
+ */
632
+ last4: string | null;
633
+
634
+ /**
635
+ * ID of the mandate used to make this payment.
636
+ */
637
+ mandate: string | null;
638
+
639
+ /**
640
+ * Sort code of the bank account. (e.g., `10-20-30`)
641
+ */
642
+ sort_code: string | null;
643
+ }
644
+
645
+ interface Bancontact {
646
+ /**
647
+ * Bank code of bank associated with the bank account.
648
+ */
649
+ bank_code: string | null;
650
+
651
+ /**
652
+ * Name of the bank associated with the bank account.
653
+ */
654
+ bank_name: string | null;
655
+
656
+ /**
657
+ * Bank Identifier Code of the bank associated with the bank account.
658
+ */
659
+ bic: string | null;
660
+
661
+ /**
662
+ * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
663
+ */
664
+ generated_sepa_debit: string | Stripe.PaymentMethod | null;
665
+
666
+ /**
667
+ * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
668
+ */
669
+ generated_sepa_debit_mandate: string | Stripe.Mandate | null;
670
+
671
+ /**
672
+ * Last four characters of the IBAN.
673
+ */
674
+ iban_last4: string | null;
675
+
676
+ /**
677
+ * Preferred language of the Bancontact authorization page that the customer is redirected to.
678
+ * Can be one of `en`, `de`, `fr`, or `nl`
679
+ */
680
+ preferred_language: Bancontact.PreferredLanguage | null;
681
+
682
+ /**
683
+ * Owner's verified full name. Values are verified or provided by Bancontact directly
684
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
685
+ */
686
+ verified_name: string | null;
687
+ }
688
+
689
+ namespace Bancontact {
690
+ type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
691
+ }
692
+
693
+ interface Billie {
694
+ /**
695
+ * The Billie transaction ID associated with this payment.
696
+ */
697
+ transaction_id: string | null;
698
+ }
699
+
700
+ interface BillingDetails {
701
+ /**
702
+ * A representation of a physical address.
703
+ */
704
+ address: Stripe.Address;
705
+
706
+ /**
707
+ * The billing email associated with the method of payment.
708
+ */
709
+ email: string | null;
710
+
711
+ /**
712
+ * The billing name associated with the method of payment.
713
+ */
714
+ name: string | null;
715
+
716
+ /**
717
+ * The billing phone number associated with the method of payment.
718
+ */
719
+ phone: string | null;
720
+ }
721
+
722
+ interface Blik {
723
+ /**
724
+ * A unique and immutable identifier assigned by BLIK to every buyer.
725
+ */
726
+ buyer_id: string | null;
727
+ }
728
+
729
+ interface Boleto {
730
+ /**
731
+ * The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
732
+ */
733
+ tax_id: string;
734
+ }
735
+
736
+ interface Card {
737
+ /**
738
+ * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
739
+ */
740
+ brand: Card.Brand;
741
+
742
+ /**
743
+ * When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
744
+ */
745
+ capture_before?: number;
746
+
747
+ /**
748
+ * Check results by Card networks on Card address and CVC at time of payment.
749
+ */
750
+ checks: Card.Checks | null;
751
+
752
+ /**
753
+ * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
754
+ */
755
+ country: string | null;
756
+
757
+ /**
758
+ * Two-digit number representing the card's expiration month.
759
+ */
760
+ exp_month: number;
761
+
762
+ /**
763
+ * Four-digit number representing the card's expiration year.
764
+ */
765
+ exp_year: number;
766
+
767
+ /**
768
+ * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
769
+ *
770
+ * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
771
+ */
772
+ fingerprint?: string | null;
773
+
774
+ /**
775
+ * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
776
+ */
777
+ funding: Card.Funding;
778
+
779
+ /**
780
+ * The last four digits of the card.
781
+ */
782
+ last4: string;
783
+
784
+ /**
785
+ * True if this payment was marked as MOTO and out of scope for SCA.
786
+ */
787
+ moto?: boolean;
788
+
789
+ /**
790
+ * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
791
+ */
792
+ network: Card.Network | null;
793
+
794
+ /**
795
+ * If this card has network token credentials, this contains the details of the network token credentials.
796
+ */
797
+ network_token?: Card.NetworkToken | null;
798
+
799
+ /**
800
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
801
+ */
802
+ network_transaction_id: string | null;
803
+
804
+ /**
805
+ * Populated if this transaction used 3D Secure authentication.
806
+ */
807
+ three_d_secure: Card.ThreeDSecure | null;
808
+
809
+ /**
810
+ * If this Card is part of a card wallet, this contains the details of the card wallet.
811
+ */
812
+ wallet: Card.Wallet | null;
813
+ }
814
+
815
+ namespace Card {
816
+ type Brand =
817
+ | 'amex'
818
+ | 'cartes_bancaires'
819
+ | 'diners'
820
+ | 'discover'
821
+ | 'eftpos_au'
822
+ | 'interac'
823
+ | 'jcb'
824
+ | 'link'
825
+ | 'mastercard'
826
+ | 'unionpay'
827
+ | 'unknown'
828
+ | 'visa';
829
+
830
+ interface Checks {
831
+ address_line1_check: Checks.AddressLine1Check | null;
832
+
833
+ address_postal_code_check: Checks.AddressPostalCodeCheck | null;
834
+
835
+ cvc_check: Checks.CvcCheck | null;
836
+ }
837
+
838
+ namespace Checks {
839
+ type AddressLine1Check =
840
+ | 'fail'
841
+ | 'pass'
842
+ | 'unavailable'
843
+ | 'unchecked';
844
+
845
+ type AddressPostalCodeCheck =
846
+ | 'fail'
847
+ | 'pass'
848
+ | 'unavailable'
849
+ | 'unchecked';
850
+
851
+ type CvcCheck = 'fail' | 'pass' | 'unavailable' | 'unchecked';
852
+ }
853
+
854
+ type Funding = 'credit' | 'debit' | 'prepaid' | 'unknown';
855
+
856
+ type Network =
857
+ | 'amex'
858
+ | 'cartes_bancaires'
859
+ | 'diners'
860
+ | 'discover'
861
+ | 'eftpos_au'
862
+ | 'interac'
863
+ | 'jcb'
864
+ | 'link'
865
+ | 'mastercard'
866
+ | 'unionpay'
867
+ | 'unknown'
868
+ | 'visa';
869
+
870
+ interface NetworkToken {
871
+ /**
872
+ * Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
873
+ */
874
+ used: boolean;
875
+ }
876
+
877
+ interface ThreeDSecure {
878
+ authentication_flow: ThreeDSecure.AuthenticationFlow | null;
879
+
880
+ result: ThreeDSecure.Result | null;
881
+
882
+ result_reason: ThreeDSecure.ResultReason | null;
883
+
884
+ version: ThreeDSecure.Version | null;
885
+ }
886
+
887
+ namespace ThreeDSecure {
888
+ type AuthenticationFlow = 'challenge' | 'frictionless';
889
+
890
+ type Result =
891
+ | 'attempt_acknowledged'
892
+ | 'authenticated'
893
+ | 'exempted'
894
+ | 'failed'
895
+ | 'not_supported'
896
+ | 'processing_error';
897
+
898
+ type ResultReason =
899
+ | 'abandoned'
900
+ | 'bypassed'
901
+ | 'canceled'
902
+ | 'card_not_enrolled'
903
+ | 'network_not_supported'
904
+ | 'protocol_error'
905
+ | 'rejected';
906
+
907
+ type Version = '1.0.2' | '2.1.0' | '2.2.0';
908
+ }
909
+
910
+ interface Wallet {
911
+ apple_pay?: Wallet.ApplePay;
912
+
913
+ /**
914
+ * (For tokenized numbers only.) The last four digits of the device account number.
915
+ */
916
+ dynamic_last4?: string;
917
+
918
+ google_pay?: Wallet.GooglePay;
919
+
920
+ /**
921
+ * The type of the card wallet, one of `apple_pay` or `google_pay`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
922
+ */
923
+ type: string;
924
+ }
925
+
926
+ namespace Wallet {
927
+ interface ApplePay {
928
+ /**
929
+ * Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`.
930
+ */
931
+ type: string;
932
+ }
933
+
934
+ interface GooglePay {}
935
+ }
936
+ }
937
+
938
+ interface CardPresent {
939
+ /**
940
+ * The authorized amount
941
+ */
942
+ amount_authorized: number | null;
943
+
944
+ /**
945
+ * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
946
+ */
947
+ brand: string | null;
948
+
949
+ /**
950
+ * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
951
+ */
952
+ brand_product: string | null;
953
+
954
+ /**
955
+ * When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
956
+ */
957
+ capture_before?: number;
958
+
959
+ /**
960
+ * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
961
+ */
962
+ cardholder_name: string | null;
963
+
964
+ /**
965
+ * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
966
+ */
967
+ country: string | null;
968
+
969
+ /**
970
+ * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
971
+ */
972
+ description?: string | null;
973
+
974
+ /**
975
+ * Authorization response cryptogram.
976
+ */
977
+ emv_auth_data: string | null;
978
+
979
+ /**
980
+ * Two-digit number representing the card's expiration month.
981
+ */
982
+ exp_month: number;
983
+
984
+ /**
985
+ * Four-digit number representing the card's expiration year.
986
+ */
987
+ exp_year: number;
988
+
989
+ /**
990
+ * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
991
+ *
992
+ * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
993
+ */
994
+ fingerprint: string | null;
995
+
996
+ /**
997
+ * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
998
+ */
999
+ funding: string | null;
1000
+
1001
+ /**
1002
+ * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
1003
+ */
1004
+ generated_card: string | null;
1005
+
1006
+ /**
1007
+ * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
1008
+ */
1009
+ iin?: string | null;
1010
+
1011
+ /**
1012
+ * Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
1013
+ */
1014
+ incremental_authorization_supported: boolean;
1015
+
1016
+ /**
1017
+ * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
1018
+ */
1019
+ issuer?: string | null;
1020
+
1021
+ /**
1022
+ * The last four digits of the card.
1023
+ */
1024
+ last4: string | null;
1025
+
1026
+ /**
1027
+ * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1028
+ */
1029
+ network: string | null;
1030
+
1031
+ /**
1032
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
1033
+ */
1034
+ network_transaction_id: string | null;
1035
+
1036
+ /**
1037
+ * Details about payments collected offline.
1038
+ */
1039
+ offline: CardPresent.Offline | null;
1040
+
1041
+ /**
1042
+ * Defines whether the authorized amount can be over-captured or not
1043
+ */
1044
+ overcapture_supported: boolean;
1045
+
1046
+ /**
1047
+ * The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
1048
+ */
1049
+ preferred_locales: Array<string> | null;
1050
+
1051
+ /**
1052
+ * How card details were read in this transaction.
1053
+ */
1054
+ read_method: CardPresent.ReadMethod | null;
1055
+
1056
+ /**
1057
+ * A collection of fields required to be displayed on receipts. Only required for EMV transactions.
1058
+ */
1059
+ receipt: CardPresent.Receipt | null;
1060
+
1061
+ wallet?: CardPresent.Wallet;
1062
+ }
1063
+
1064
+ namespace CardPresent {
1065
+ interface Offline {
1066
+ /**
1067
+ * Time at which the payment was collected while offline
1068
+ */
1069
+ stored_at: number | null;
1070
+
1071
+ /**
1072
+ * The method used to process this payment method offline. Only deferred is allowed.
1073
+ */
1074
+ type: 'deferred' | null;
1075
+ }
1076
+
1077
+ type ReadMethod =
1078
+ | 'contact_emv'
1079
+ | 'contactless_emv'
1080
+ | 'contactless_magstripe_mode'
1081
+ | 'magnetic_stripe_fallback'
1082
+ | 'magnetic_stripe_track2';
1083
+
1084
+ interface Receipt {
1085
+ /**
1086
+ * The type of account being debited or credited
1087
+ */
1088
+ account_type?: Receipt.AccountType;
1089
+
1090
+ /**
1091
+ * The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
1092
+ */
1093
+ application_cryptogram: string | null;
1094
+
1095
+ /**
1096
+ * The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
1097
+ */
1098
+ application_preferred_name: string | null;
1099
+
1100
+ /**
1101
+ * Identifier for this transaction.
1102
+ */
1103
+ authorization_code: string | null;
1104
+
1105
+ /**
1106
+ * EMV tag 8A. A code returned by the card issuer.
1107
+ */
1108
+ authorization_response_code: string | null;
1109
+
1110
+ /**
1111
+ * Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
1112
+ */
1113
+ cardholder_verification_method: string | null;
1114
+
1115
+ /**
1116
+ * Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
1117
+ */
1118
+ dedicated_file_name: string | null;
1119
+
1120
+ /**
1121
+ * A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
1122
+ */
1123
+ terminal_verification_results: string | null;
1124
+
1125
+ /**
1126
+ * An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
1127
+ */
1128
+ transaction_status_information: string | null;
1129
+ }
1130
+
1131
+ namespace Receipt {
1132
+ type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown';
1133
+ }
1134
+
1135
+ interface Wallet {
1136
+ /**
1137
+ * The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
1138
+ */
1139
+ type: Wallet.Type;
1140
+ }
1141
+
1142
+ namespace Wallet {
1143
+ type Type = 'apple_pay' | 'google_pay' | 'samsung_pay' | 'unknown';
1144
+ }
1145
+ }
1146
+
1147
+ interface Cashapp {
1148
+ /**
1149
+ * A unique and immutable identifier assigned by Cash App to every buyer.
1150
+ */
1151
+ buyer_id: string | null;
1152
+
1153
+ /**
1154
+ * A public identifier for buyers using Cash App.
1155
+ */
1156
+ cashtag: string | null;
1157
+
1158
+ /**
1159
+ * A unique and immutable identifier of payments assigned by Cash App
1160
+ */
1161
+ transaction_id: string | null;
1162
+ }
1163
+
1164
+ interface Crypto {
1165
+ /**
1166
+ * The wallet address of the customer.
1167
+ */
1168
+ buyer_address?: string;
1169
+
1170
+ /**
1171
+ * The blockchain network that the transaction was sent on.
1172
+ */
1173
+ network?: Crypto.Network;
1174
+
1175
+ /**
1176
+ * The token currency that the transaction was sent with.
1177
+ */
1178
+ token_currency?: Crypto.TokenCurrency;
1179
+
1180
+ /**
1181
+ * The blockchain transaction hash of the crypto payment.
1182
+ */
1183
+ transaction_hash?: string;
1184
+ }
1185
+
1186
+ namespace Crypto {
1187
+ type Network = 'base' | 'ethereum' | 'polygon';
1188
+
1189
+ type TokenCurrency = 'usdc' | 'usdg' | 'usdp';
1190
+ }
1191
+
1192
+ interface Custom {
1193
+ /**
1194
+ * Display name for the custom (user-defined) payment method type used to make this payment.
1195
+ */
1196
+ display_name: string;
1197
+
1198
+ /**
1199
+ * The custom payment method type associated with this payment.
1200
+ */
1201
+ type: string | null;
1202
+ }
1203
+
1204
+ interface CustomerBalance {}
1205
+
1206
+ interface Eps {
1207
+ /**
1208
+ * The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
1209
+ */
1210
+ bank: Eps.Bank | null;
1211
+
1212
+ /**
1213
+ * Owner's verified full name. Values are verified or provided by EPS directly
1214
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1215
+ * EPS rarely provides this information so the attribute is usually empty.
1216
+ */
1217
+ verified_name: string | null;
1218
+ }
1219
+
1220
+ namespace Eps {
1221
+ type Bank =
1222
+ | 'arzte_und_apotheker_bank'
1223
+ | 'austrian_anadi_bank_ag'
1224
+ | 'bank_austria'
1225
+ | 'bankhaus_carl_spangler'
1226
+ | 'bankhaus_schelhammer_und_schattera_ag'
1227
+ | 'bawag_psk_ag'
1228
+ | 'bks_bank_ag'
1229
+ | 'brull_kallmus_bank_ag'
1230
+ | 'btv_vier_lander_bank'
1231
+ | 'capital_bank_grawe_gruppe_ag'
1232
+ | 'deutsche_bank_ag'
1233
+ | 'dolomitenbank'
1234
+ | 'easybank_ag'
1235
+ | 'erste_bank_und_sparkassen'
1236
+ | 'hypo_alpeadriabank_international_ag'
1237
+ | 'hypo_bank_burgenland_aktiengesellschaft'
1238
+ | 'hypo_noe_lb_fur_niederosterreich_u_wien'
1239
+ | 'hypo_oberosterreich_salzburg_steiermark'
1240
+ | 'hypo_tirol_bank_ag'
1241
+ | 'hypo_vorarlberg_bank_ag'
1242
+ | 'marchfelder_bank'
1243
+ | 'oberbank_ag'
1244
+ | 'raiffeisen_bankengruppe_osterreich'
1245
+ | 'schoellerbank_ag'
1246
+ | 'sparda_bank_wien'
1247
+ | 'volksbank_gruppe'
1248
+ | 'volkskreditbank_ag'
1249
+ | 'vr_bank_braunau';
1250
+ }
1251
+
1252
+ interface Fpx {
1253
+ /**
1254
+ * Account holder type, if provided. Can be one of `individual` or `company`.
1255
+ */
1256
+ account_holder_type: Fpx.AccountHolderType | null;
1257
+
1258
+ /**
1259
+ * The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
1260
+ */
1261
+ bank: Fpx.Bank;
1262
+
1263
+ /**
1264
+ * Unique transaction id generated by FPX for every request from the merchant
1265
+ */
1266
+ transaction_id: string | null;
1267
+ }
1268
+
1269
+ namespace Fpx {
1270
+ type AccountHolderType = 'company' | 'individual';
1271
+
1272
+ type Bank =
1273
+ | 'affin_bank'
1274
+ | 'agrobank'
1275
+ | 'alliance_bank'
1276
+ | 'ambank'
1277
+ | 'bank_islam'
1278
+ | 'bank_muamalat'
1279
+ | 'bank_of_china'
1280
+ | 'bank_rakyat'
1281
+ | 'bsn'
1282
+ | 'cimb'
1283
+ | 'deutsche_bank'
1284
+ | 'hong_leong_bank'
1285
+ | 'hsbc'
1286
+ | 'kfh'
1287
+ | 'maybank2e'
1288
+ | 'maybank2u'
1289
+ | 'ocbc'
1290
+ | 'pb_enterprise'
1291
+ | 'public_bank'
1292
+ | 'rhb'
1293
+ | 'standard_chartered'
1294
+ | 'uob';
1295
+ }
1296
+
1297
+ interface Giropay {
1298
+ /**
1299
+ * Bank code of bank associated with the bank account.
1300
+ */
1301
+ bank_code: string | null;
1302
+
1303
+ /**
1304
+ * Name of the bank associated with the bank account.
1305
+ */
1306
+ bank_name: string | null;
1307
+
1308
+ /**
1309
+ * Bank Identifier Code of the bank associated with the bank account.
1310
+ */
1311
+ bic: string | null;
1312
+
1313
+ /**
1314
+ * Owner's verified full name. Values are verified or provided by Giropay directly
1315
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1316
+ * Giropay rarely provides this information so the attribute is usually empty.
1317
+ */
1318
+ verified_name: string | null;
1319
+ }
1320
+
1321
+ interface Gopay {}
1322
+
1323
+ interface Grabpay {
1324
+ /**
1325
+ * Unique transaction id generated by GrabPay
1326
+ */
1327
+ transaction_id: string | null;
1328
+ }
1329
+
1330
+ interface IdBankTransfer {
1331
+ /**
1332
+ * Account number of the bank account to transfer funds to.
1333
+ */
1334
+ account_number: string;
1335
+
1336
+ /**
1337
+ * Bank where the account is located.
1338
+ */
1339
+ bank: IdBankTransfer.Bank;
1340
+
1341
+ /**
1342
+ * Local bank code of the bank.
1343
+ */
1344
+ bank_code?: string;
1345
+
1346
+ /**
1347
+ * Name of the bank associated with the bank account.
1348
+ */
1349
+ bank_name?: string;
1350
+
1351
+ /**
1352
+ * Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
1353
+ */
1354
+ display_name?: string;
1355
+ }
1356
+
1357
+ namespace IdBankTransfer {
1358
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
1359
+ }
1360
+
1361
+ interface Ideal {
1362
+ /**
1363
+ * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
1364
+ */
1365
+ bank: Ideal.Bank | null;
1366
+
1367
+ /**
1368
+ * The Bank Identifier Code of the customer's bank.
1369
+ */
1370
+ bic: Ideal.Bic | null;
1371
+
1372
+ /**
1373
+ * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1374
+ */
1375
+ generated_sepa_debit: string | Stripe.PaymentMethod | null;
1376
+
1377
+ /**
1378
+ * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1379
+ */
1380
+ generated_sepa_debit_mandate: string | Stripe.Mandate | null;
1381
+
1382
+ /**
1383
+ * Last four characters of the IBAN.
1384
+ */
1385
+ iban_last4: string | null;
1386
+
1387
+ /**
1388
+ * Owner's verified full name. Values are verified or provided by iDEAL directly
1389
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1390
+ */
1391
+ verified_name: string | null;
1392
+ }
1393
+
1394
+ namespace Ideal {
1395
+ type Bank =
1396
+ | 'abn_amro'
1397
+ | 'asn_bank'
1398
+ | 'bunq'
1399
+ | 'buut'
1400
+ | 'handelsbanken'
1401
+ | 'ing'
1402
+ | 'knab'
1403
+ | 'moneyou'
1404
+ | 'n26'
1405
+ | 'nn'
1406
+ | 'rabobank'
1407
+ | 'regiobank'
1408
+ | 'revolut'
1409
+ | 'sns_bank'
1410
+ | 'triodos_bank'
1411
+ | 'van_lanschot'
1412
+ | 'yoursafe';
1413
+
1414
+ type Bic =
1415
+ | 'ABNANL2A'
1416
+ | 'ASNBNL21'
1417
+ | 'BITSNL2A'
1418
+ | 'BUNQNL2A'
1419
+ | 'BUUTNL2A'
1420
+ | 'FVLBNL22'
1421
+ | 'HANDNL2A'
1422
+ | 'INGBNL2A'
1423
+ | 'KNABNL2H'
1424
+ | 'MOYONL21'
1425
+ | 'NNBANL2G'
1426
+ | 'NTSBDEB1'
1427
+ | 'RABONL2U'
1428
+ | 'RBRBNL21'
1429
+ | 'REVOIE23'
1430
+ | 'REVOLT21'
1431
+ | 'SNSBNL2A'
1432
+ | 'TRIONL2U';
1433
+ }
1434
+
1435
+ interface InteracPresent {
1436
+ /**
1437
+ * Card brand. Can be `interac`, `mastercard` or `visa`.
1438
+ */
1439
+ brand: string | null;
1440
+
1441
+ /**
1442
+ * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
1443
+ */
1444
+ cardholder_name: string | null;
1445
+
1446
+ /**
1447
+ * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1448
+ */
1449
+ country: string | null;
1450
+
1451
+ /**
1452
+ * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
1453
+ */
1454
+ description?: string | null;
1455
+
1456
+ /**
1457
+ * Authorization response cryptogram.
1458
+ */
1459
+ emv_auth_data: string | null;
1460
+
1461
+ /**
1462
+ * Two-digit number representing the card's expiration month.
1463
+ */
1464
+ exp_month: number;
1465
+
1466
+ /**
1467
+ * Four-digit number representing the card's expiration year.
1468
+ */
1469
+ exp_year: number;
1470
+
1471
+ /**
1472
+ * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
1473
+ *
1474
+ * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
1475
+ */
1476
+ fingerprint: string | null;
1477
+
1478
+ /**
1479
+ * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1480
+ */
1481
+ funding: string | null;
1482
+
1483
+ /**
1484
+ * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
1485
+ */
1486
+ generated_card: string | null;
1487
+
1488
+ /**
1489
+ * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
1490
+ */
1491
+ iin?: string | null;
1492
+
1493
+ /**
1494
+ * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
1495
+ */
1496
+ issuer?: string | null;
1497
+
1498
+ /**
1499
+ * The last four digits of the card.
1500
+ */
1501
+ last4: string | null;
1502
+
1503
+ /**
1504
+ * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1505
+ */
1506
+ network: string | null;
1507
+
1508
+ /**
1509
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
1510
+ */
1511
+ network_transaction_id: string | null;
1512
+
1513
+ /**
1514
+ * The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
1515
+ */
1516
+ preferred_locales: Array<string> | null;
1517
+
1518
+ /**
1519
+ * How card details were read in this transaction.
1520
+ */
1521
+ read_method: InteracPresent.ReadMethod | null;
1522
+
1523
+ /**
1524
+ * A collection of fields required to be displayed on receipts. Only required for EMV transactions.
1525
+ */
1526
+ receipt: InteracPresent.Receipt | null;
1527
+ }
1528
+
1529
+ namespace InteracPresent {
1530
+ type ReadMethod =
1531
+ | 'contact_emv'
1532
+ | 'contactless_emv'
1533
+ | 'contactless_magstripe_mode'
1534
+ | 'magnetic_stripe_fallback'
1535
+ | 'magnetic_stripe_track2';
1536
+
1537
+ interface Receipt {
1538
+ /**
1539
+ * The type of account being debited or credited
1540
+ */
1541
+ account_type?: Receipt.AccountType;
1542
+
1543
+ /**
1544
+ * The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
1545
+ */
1546
+ application_cryptogram: string | null;
1547
+
1548
+ /**
1549
+ * The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
1550
+ */
1551
+ application_preferred_name: string | null;
1552
+
1553
+ /**
1554
+ * Identifier for this transaction.
1555
+ */
1556
+ authorization_code: string | null;
1557
+
1558
+ /**
1559
+ * EMV tag 8A. A code returned by the card issuer.
1560
+ */
1561
+ authorization_response_code: string | null;
1562
+
1563
+ /**
1564
+ * Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
1565
+ */
1566
+ cardholder_verification_method: string | null;
1567
+
1568
+ /**
1569
+ * Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
1570
+ */
1571
+ dedicated_file_name: string | null;
1572
+
1573
+ /**
1574
+ * A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
1575
+ */
1576
+ terminal_verification_results: string | null;
1577
+
1578
+ /**
1579
+ * An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
1580
+ */
1581
+ transaction_status_information: string | null;
1582
+ }
1583
+
1584
+ namespace Receipt {
1585
+ type AccountType = 'checking' | 'savings' | 'unknown';
1586
+ }
1587
+ }
1588
+
1589
+ interface KakaoPay {
1590
+ /**
1591
+ * A unique identifier for the buyer as determined by the local payment processor.
1592
+ */
1593
+ buyer_id: string | null;
1594
+
1595
+ /**
1596
+ * The Kakao Pay transaction ID associated with this payment.
1597
+ */
1598
+ transaction_id: string | null;
1599
+ }
1600
+
1601
+ interface Klarna {
1602
+ /**
1603
+ * The payer details for this transaction.
1604
+ */
1605
+ payer_details: Klarna.PayerDetails | null;
1606
+
1607
+ /**
1608
+ * The Klarna payment method used for this transaction.
1609
+ * Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
1610
+ */
1611
+ payment_method_category: string | null;
1612
+
1613
+ /**
1614
+ * Preferred language of the Klarna authorization page that the customer is redirected to.
1615
+ * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
1616
+ */
1617
+ preferred_locale: string | null;
1618
+ }
1619
+
1620
+ namespace Klarna {
1621
+ interface PayerDetails {
1622
+ /**
1623
+ * The payer's address
1624
+ */
1625
+ address: PayerDetails.Address | null;
1626
+ }
1627
+
1628
+ namespace PayerDetails {
1629
+ interface Address {
1630
+ /**
1631
+ * The payer address country
1632
+ */
1633
+ country: string | null;
1634
+ }
1635
+ }
1636
+ }
1637
+
1638
+ interface Konbini {
1639
+ /**
1640
+ * If the payment succeeded, this contains the details of the convenience store where the payment was completed.
1641
+ */
1642
+ store: Konbini.Store | null;
1643
+ }
1644
+
1645
+ namespace Konbini {
1646
+ interface Store {
1647
+ /**
1648
+ * The name of the convenience store chain where the payment was completed.
1649
+ */
1650
+ chain: Store.Chain | null;
1651
+ }
1652
+
1653
+ namespace Store {
1654
+ type Chain = 'familymart' | 'lawson' | 'ministop' | 'seicomart';
1655
+ }
1656
+ }
1657
+
1658
+ interface KrCard {
1659
+ /**
1660
+ * The local credit or debit card brand.
1661
+ */
1662
+ brand: KrCard.Brand | null;
1663
+
1664
+ /**
1665
+ * A unique identifier for the buyer as determined by the local payment processor.
1666
+ */
1667
+ buyer_id: string | null;
1668
+
1669
+ /**
1670
+ * The last four digits of the card. This may not be present for American Express cards.
1671
+ */
1672
+ last4: string | null;
1673
+
1674
+ /**
1675
+ * The Korean Card transaction ID associated with this payment.
1676
+ */
1677
+ transaction_id: string | null;
1678
+ }
1679
+
1680
+ namespace KrCard {
1681
+ type Brand =
1682
+ | 'bc'
1683
+ | 'citi'
1684
+ | 'hana'
1685
+ | 'hyundai'
1686
+ | 'jeju'
1687
+ | 'jeonbuk'
1688
+ | 'kakaobank'
1689
+ | 'kbank'
1690
+ | 'kdbbank'
1691
+ | 'kookmin'
1692
+ | 'kwangju'
1693
+ | 'lotte'
1694
+ | 'mg'
1695
+ | 'nh'
1696
+ | 'post'
1697
+ | 'samsung'
1698
+ | 'savingsbank'
1699
+ | 'shinhan'
1700
+ | 'shinhyup'
1701
+ | 'suhyup'
1702
+ | 'tossbank'
1703
+ | 'woori';
1704
+ }
1705
+
1706
+ interface Link {
1707
+ /**
1708
+ * Two-letter ISO code representing the funding source country beneath the Link payment.
1709
+ * You could use this attribute to get a sense of international fees.
1710
+ */
1711
+ country: string | null;
1712
+ }
1713
+
1714
+ interface MbWay {}
1715
+
1716
+ interface Mobilepay {
1717
+ /**
1718
+ * Internal card details
1719
+ */
1720
+ card: Mobilepay.Card | null;
1721
+ }
1722
+
1723
+ namespace Mobilepay {
1724
+ interface Card {
1725
+ /**
1726
+ * Brand of the card used in the transaction
1727
+ */
1728
+ brand: string | null;
1729
+
1730
+ /**
1731
+ * Two-letter ISO code representing the country of the card
1732
+ */
1733
+ country: string | null;
1734
+
1735
+ /**
1736
+ * Two digit number representing the card's expiration month
1737
+ */
1738
+ exp_month: number | null;
1739
+
1740
+ /**
1741
+ * Two digit number representing the card's expiration year
1742
+ */
1743
+ exp_year: number | null;
1744
+
1745
+ /**
1746
+ * The last 4 digits of the card
1747
+ */
1748
+ last4: string | null;
1749
+ }
1750
+ }
1751
+
1752
+ interface Multibanco {
1753
+ /**
1754
+ * Entity number associated with this Multibanco payment.
1755
+ */
1756
+ entity: string | null;
1757
+
1758
+ /**
1759
+ * Reference number associated with this Multibanco payment.
1760
+ */
1761
+ reference: string | null;
1762
+ }
1763
+
1764
+ interface NaverPay {
1765
+ /**
1766
+ * A unique identifier for the buyer as determined by the local payment processor.
1767
+ */
1768
+ buyer_id: string | null;
1769
+
1770
+ /**
1771
+ * The Naver Pay transaction ID associated with this payment.
1772
+ */
1773
+ transaction_id: string | null;
1774
+ }
1775
+
1776
+ interface NzBankAccount {
1777
+ /**
1778
+ * The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details.
1779
+ */
1780
+ account_holder_name: string | null;
1781
+
1782
+ /**
1783
+ * The numeric code for the bank account's bank.
1784
+ */
1785
+ bank_code: string;
1786
+
1787
+ /**
1788
+ * The name of the bank.
1789
+ */
1790
+ bank_name: string;
1791
+
1792
+ /**
1793
+ * The numeric code for the bank account's bank branch.
1794
+ */
1795
+ branch_code: string;
1796
+
1797
+ /**
1798
+ * Last four digits of the bank account number.
1799
+ */
1800
+ last4: string;
1801
+
1802
+ /**
1803
+ * The suffix of the bank account number.
1804
+ */
1805
+ suffix: string | null;
1806
+ }
1807
+
1808
+ interface Oxxo {
1809
+ /**
1810
+ * OXXO reference number
1811
+ */
1812
+ number: string | null;
1813
+ }
1814
+
1815
+ interface P24 {
1816
+ /**
1817
+ * The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
1818
+ */
1819
+ bank: P24.Bank | null;
1820
+
1821
+ /**
1822
+ * Unique reference for this Przelewy24 payment.
1823
+ */
1824
+ reference: string | null;
1825
+
1826
+ /**
1827
+ * Owner's verified full name. Values are verified or provided by Przelewy24 directly
1828
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1829
+ * Przelewy24 rarely provides this information so the attribute is usually empty.
1830
+ */
1831
+ verified_name: string | null;
1832
+ }
1833
+
1834
+ namespace P24 {
1835
+ type Bank =
1836
+ | 'alior_bank'
1837
+ | 'bank_millennium'
1838
+ | 'bank_nowy_bfg_sa'
1839
+ | 'bank_pekao_sa'
1840
+ | 'banki_spbdzielcze'
1841
+ | 'blik'
1842
+ | 'bnp_paribas'
1843
+ | 'boz'
1844
+ | 'citi_handlowy'
1845
+ | 'credit_agricole'
1846
+ | 'envelobank'
1847
+ | 'etransfer_pocztowy24'
1848
+ | 'getin_bank'
1849
+ | 'ideabank'
1850
+ | 'ing'
1851
+ | 'inteligo'
1852
+ | 'mbank_mtransfer'
1853
+ | 'nest_przelew'
1854
+ | 'noble_pay'
1855
+ | 'pbac_z_ipko'
1856
+ | 'plus_bank'
1857
+ | 'santander_przelew24'
1858
+ | 'tmobile_usbugi_bankowe'
1859
+ | 'toyota_bank'
1860
+ | 'velobank'
1861
+ | 'volkswagen_bank';
1862
+ }
1863
+
1864
+ interface PayByBank {}
1865
+
1866
+ interface Payco {
1867
+ /**
1868
+ * A unique identifier for the buyer as determined by the local payment processor.
1869
+ */
1870
+ buyer_id: string | null;
1871
+
1872
+ /**
1873
+ * The Payco transaction ID associated with this payment.
1874
+ */
1875
+ transaction_id: string | null;
1876
+ }
1877
+
1878
+ interface Paynow {
1879
+ /**
1880
+ * ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
1881
+ */
1882
+ location?: string;
1883
+
1884
+ /**
1885
+ * ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
1886
+ */
1887
+ reader?: string;
1888
+
1889
+ /**
1890
+ * Reference number associated with this PayNow payment
1891
+ */
1892
+ reference: string | null;
1893
+ }
1894
+
1895
+ interface Paypal {
1896
+ /**
1897
+ * Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1898
+ */
1899
+ country: string | null;
1900
+
1901
+ /**
1902
+ * Owner's email. Values are provided by PayPal directly
1903
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1904
+ */
1905
+ payer_email: string | null;
1906
+
1907
+ /**
1908
+ * PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1909
+ */
1910
+ payer_id: string | null;
1911
+
1912
+ /**
1913
+ * Owner's full name. Values provided by PayPal directly
1914
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1915
+ */
1916
+ payer_name: string | null;
1917
+
1918
+ /**
1919
+ * The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
1920
+ */
1921
+ seller_protection: Paypal.SellerProtection | null;
1922
+
1923
+ /**
1924
+ * The shipping address for the customer, as supplied by the merchant at the point of payment
1925
+ * execution. This shipping address will not be updated if the merchant updates the shipping
1926
+ * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1927
+ */
1928
+ shipping?: Stripe.Address | null;
1929
+
1930
+ /**
1931
+ * A unique ID generated by PayPal for this transaction.
1932
+ */
1933
+ transaction_id: string | null;
1934
+
1935
+ /**
1936
+ * The shipping address for the customer, as supplied by the merchant at the point of payment
1937
+ * execution. This shipping address will not be updated if the merchant updates the shipping
1938
+ * address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1939
+ */
1940
+ verified_address?: Stripe.Address | null;
1941
+
1942
+ /**
1943
+ * Owner's verified email. Values are verified or provided by PayPal directly
1944
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1945
+ */
1946
+ verified_email?: string | null;
1947
+
1948
+ /**
1949
+ * Owner's verified full name. Values are verified or provided by PayPal directly
1950
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1951
+ */
1952
+ verified_name?: string | null;
1953
+ }
1954
+
1955
+ namespace Paypal {
1956
+ interface SellerProtection {
1957
+ /**
1958
+ * An array of conditions that are covered for the transaction, if applicable.
1959
+ */
1960
+ dispute_categories: Array<SellerProtection.DisputeCategory> | null;
1961
+
1962
+ /**
1963
+ * Indicates whether the transaction is eligible for PayPal's seller protection.
1964
+ */
1965
+ status: SellerProtection.Status;
1966
+ }
1967
+
1968
+ namespace SellerProtection {
1969
+ type DisputeCategory = 'fraudulent' | 'product_not_received';
1970
+
1971
+ type Status = 'eligible' | 'not_eligible' | 'partially_eligible';
1972
+ }
1973
+ }
1974
+
1975
+ interface Paypay {}
1976
+
1977
+ interface Payto {
1978
+ /**
1979
+ * Bank-State-Branch number of the bank account.
1980
+ */
1981
+ bsb_number: string | null;
1982
+
1983
+ /**
1984
+ * Last four digits of the bank account number.
1985
+ */
1986
+ last4: string | null;
1987
+
1988
+ /**
1989
+ * ID of the mandate used to make this payment.
1990
+ */
1991
+ mandate?: string;
1992
+
1993
+ /**
1994
+ * The PayID alias for the bank account.
1995
+ */
1996
+ pay_id: string | null;
1997
+ }
1998
+
1999
+ interface Pix {
2000
+ /**
2001
+ * Unique transaction id generated by BCB
2002
+ */
2003
+ bank_transaction_id?: string | null;
2004
+
2005
+ /**
2006
+ * ID of the multi use Mandate generated by the PaymentIntent
2007
+ */
2008
+ mandate?: string;
2009
+ }
2010
+
2011
+ interface Promptpay {
2012
+ /**
2013
+ * Bill reference generated by PromptPay
2014
+ */
2015
+ reference: string | null;
2016
+ }
2017
+
2018
+ interface Qris {}
2019
+
2020
+ interface Rechnung {}
2021
+
2022
+ interface RevolutPay {
2023
+ funding?: RevolutPay.Funding;
2024
+
2025
+ /**
2026
+ * The Revolut Pay transaction ID associated with this payment.
2027
+ */
2028
+ transaction_id: string | null;
2029
+ }
2030
+
2031
+ namespace RevolutPay {
2032
+ interface Funding {
2033
+ card?: Funding.Card;
2034
+
2035
+ /**
2036
+ * funding type of the underlying payment method.
2037
+ */
2038
+ type: 'card' | null;
2039
+ }
2040
+
2041
+ namespace Funding {
2042
+ interface Card {
2043
+ /**
2044
+ * Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
2045
+ */
2046
+ brand: string | null;
2047
+
2048
+ /**
2049
+ * The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
2050
+ */
2051
+ brand_product?: string | null;
2052
+
2053
+ /**
2054
+ * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
2055
+ */
2056
+ country: string | null;
2057
+
2058
+ /**
2059
+ * Two-digit number representing the card's expiration month.
2060
+ */
2061
+ exp_month: number | null;
2062
+
2063
+ /**
2064
+ * Four-digit number representing the card's expiration year.
2065
+ */
2066
+ exp_year: number | null;
2067
+
2068
+ /**
2069
+ * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
2070
+ */
2071
+ funding: string | null;
2072
+
2073
+ /**
2074
+ * The last four digits of the card.
2075
+ */
2076
+ last4: string | null;
2077
+ }
2078
+ }
2079
+ }
2080
+
2081
+ interface SamsungPay {
2082
+ /**
2083
+ * A unique identifier for the buyer as determined by the local payment processor.
2084
+ */
2085
+ buyer_id: string | null;
2086
+
2087
+ /**
2088
+ * The Samsung Pay transaction ID associated with this payment.
2089
+ */
2090
+ transaction_id: string | null;
2091
+ }
2092
+
2093
+ interface Satispay {
2094
+ /**
2095
+ * The Satispay transaction ID associated with this payment.
2096
+ */
2097
+ transaction_id: string | null;
2098
+ }
2099
+
2100
+ interface SepaCreditTransfer {
2101
+ /**
2102
+ * Name of the bank associated with the bank account.
2103
+ */
2104
+ bank_name: string | null;
2105
+
2106
+ /**
2107
+ * Bank Identifier Code of the bank associated with the bank account.
2108
+ */
2109
+ bic: string | null;
2110
+
2111
+ /**
2112
+ * IBAN of the bank account to transfer funds to.
2113
+ */
2114
+ iban: string | null;
2115
+ }
2116
+
2117
+ interface SepaDebit {
2118
+ /**
2119
+ * Bank code of bank associated with the bank account.
2120
+ */
2121
+ bank_code: string | null;
2122
+
2123
+ /**
2124
+ * Branch code of bank associated with the bank account.
2125
+ */
2126
+ branch_code: string | null;
2127
+
2128
+ /**
2129
+ * Two-letter ISO code representing the country the bank account is located in.
2130
+ */
2131
+ country: string | null;
2132
+
2133
+ /**
2134
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
2135
+ */
2136
+ fingerprint: string | null;
2137
+
2138
+ /**
2139
+ * Last four characters of the IBAN.
2140
+ */
2141
+ last4: string | null;
2142
+
2143
+ /**
2144
+ * Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
2145
+ */
2146
+ mandate: string | null;
2147
+ }
2148
+
2149
+ interface Shopeepay {}
2150
+
2151
+ interface Sofort {
2152
+ /**
2153
+ * Bank code of bank associated with the bank account.
2154
+ */
2155
+ bank_code: string | null;
2156
+
2157
+ /**
2158
+ * Name of the bank associated with the bank account.
2159
+ */
2160
+ bank_name: string | null;
2161
+
2162
+ /**
2163
+ * Bank Identifier Code of the bank associated with the bank account.
2164
+ */
2165
+ bic: string | null;
2166
+
2167
+ /**
2168
+ * Two-letter ISO code representing the country the bank account is located in.
2169
+ */
2170
+ country: string | null;
2171
+
2172
+ /**
2173
+ * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
2174
+ */
2175
+ generated_sepa_debit: string | Stripe.PaymentMethod | null;
2176
+
2177
+ /**
2178
+ * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
2179
+ */
2180
+ generated_sepa_debit_mandate: string | Stripe.Mandate | null;
2181
+
2182
+ /**
2183
+ * Last four characters of the IBAN.
2184
+ */
2185
+ iban_last4: string | null;
2186
+
2187
+ /**
2188
+ * Preferred language of the SOFORT authorization page that the customer is redirected to.
2189
+ * Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
2190
+ */
2191
+ preferred_language: Sofort.PreferredLanguage | null;
2192
+
2193
+ /**
2194
+ * Owner's verified full name. Values are verified or provided by SOFORT directly
2195
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
2196
+ */
2197
+ verified_name: string | null;
2198
+ }
2199
+
2200
+ namespace Sofort {
2201
+ type PreferredLanguage =
2202
+ | 'de'
2203
+ | 'en'
2204
+ | 'es'
2205
+ | 'fr'
2206
+ | 'it'
2207
+ | 'nl'
2208
+ | 'pl';
2209
+ }
2210
+
2211
+ interface StripeAccount {}
2212
+
2213
+ interface StripeBalance {
2214
+ /**
2215
+ * The connected account ID whose Stripe balance to use as the source of payment
2216
+ */
2217
+ account?: string | null;
2218
+
2219
+ /**
2220
+ * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2221
+ */
2222
+ source_type: StripeBalance.SourceType;
2223
+ }
2224
+
2225
+ namespace StripeBalance {
2226
+ type SourceType = 'bank_account' | 'card' | 'fpx';
2227
+ }
2228
+
2229
+ interface Swish {
2230
+ /**
2231
+ * Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
2232
+ */
2233
+ fingerprint: string | null;
2234
+
2235
+ /**
2236
+ * Payer bank reference number for the payment
2237
+ */
2238
+ payment_reference: string | null;
2239
+
2240
+ /**
2241
+ * The last four digits of the Swish account phone number
2242
+ */
2243
+ verified_phone_last4: string | null;
2244
+ }
2245
+
2246
+ interface Twint {}
2247
+
2248
+ interface UsBankAccount {
2249
+ account_holder_type: UsBankAccount.AccountHolderType | null;
2250
+
2251
+ account_type: UsBankAccount.AccountType | null;
2252
+
2253
+ /**
2254
+ * Name of the bank associated with the bank account.
2255
+ */
2256
+ bank_name: string | null;
2257
+
2258
+ /**
2259
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
2260
+ */
2261
+ fingerprint: string | null;
2262
+
2263
+ /**
2264
+ * Last four digits of the bank account number.
2265
+ */
2266
+ last4: string | null;
2267
+
2268
+ /**
2269
+ * ID of the mandate used to make this payment.
2270
+ */
2271
+ mandate?: string | Stripe.Mandate;
2272
+
2273
+ /**
2274
+ * Reference number to locate ACH payments with customer's bank.
2275
+ */
2276
+ payment_reference: string | null;
2277
+
2278
+ /**
2279
+ * Routing number of the bank account.
2280
+ */
2281
+ routing_number: string | null;
2282
+ }
2283
+
2284
+ namespace UsBankAccount {
2285
+ type AccountHolderType = 'company' | 'individual';
2286
+
2287
+ type AccountType = 'checking' | 'savings';
2288
+ }
2289
+
2290
+ interface Wechat {}
2291
+
2292
+ interface WechatPay {
2293
+ /**
2294
+ * Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
2295
+ */
2296
+ fingerprint: string | null;
2297
+
2298
+ /**
2299
+ * ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
2300
+ */
2301
+ location?: string;
2302
+
2303
+ /**
2304
+ * ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
2305
+ */
2306
+ reader?: string;
2307
+
2308
+ /**
2309
+ * Transaction ID of this particular WeChat Pay transaction.
2310
+ */
2311
+ transaction_id: string | null;
2312
+ }
2313
+
2314
+ interface Zip {}
2315
+ }
2316
+
2317
+ interface ProcessorDetails {
2318
+ /**
2319
+ * Custom processors represent payment processors not modeled directly in
2320
+ * the Stripe API. This resource consists of details about the custom processor
2321
+ * used for this payment attempt.
2322
+ */
2323
+ custom?: ProcessorDetails.Custom;
2324
+
2325
+ /**
2326
+ * The processor used for this payment attempt.
2327
+ */
2328
+ type: 'custom';
2329
+ }
2330
+
2331
+ namespace ProcessorDetails {
2332
+ interface Custom {
2333
+ /**
2334
+ * An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID.
2335
+ */
2336
+ payment_reference: string | null;
2337
+ }
2338
+ }
2339
+
2340
+ type ReportedBy = 'self' | 'stripe';
2341
+
2342
+ interface ShippingDetails {
2343
+ /**
2344
+ * A representation of a physical address.
2345
+ */
2346
+ address: Stripe.Address;
2347
+
2348
+ /**
2349
+ * The shipping recipient's name.
2350
+ */
2351
+ name: string | null;
2352
+
2353
+ /**
2354
+ * The shipping recipient's phone number.
2355
+ */
2356
+ phone: string | null;
2357
+ }
2358
+ }
2359
+ }
2360
+ }