@volter/twin-stripe 0.1.2 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/README.md +96 -27
  2. package/client/dashboard-api.ts +286 -0
  3. package/client/stripe-mirror.css +272 -159
  4. package/client/stripe-mirror.tsx +1384 -541
  5. package/dist/client/dashboard-api.d.ts +107 -0
  6. package/dist/client/dashboard-api.js +238 -0
  7. package/dist/client/dashboard-api.ts +286 -0
  8. package/dist/client/stripe-mirror.bundle.js +236 -0
  9. package/dist/client/stripe-mirror.css +275 -0
  10. package/dist/client/stripe-mirror.d.ts +134 -0
  11. package/dist/client/stripe-mirror.js +823 -0
  12. package/dist/client/stripe-mirror.tsx +1534 -0
  13. package/dist/src/cli.d.ts +2 -0
  14. package/dist/src/cli.js +39 -0
  15. package/dist/src/generated/events.gen.json +1 -0
  16. package/dist/src/generated/surface.gen.json +1 -0
  17. package/dist/src/generated/ui.gen.json +1 -0
  18. package/dist/src/index.d.ts +14 -0
  19. package/dist/src/index.js +75 -0
  20. package/dist/src/manifest.d.ts +2 -0
  21. package/dist/src/manifest.js +1070 -0
  22. package/dist/src/screens/checkout.d.ts +31 -0
  23. package/dist/src/screens/checkout.js +255 -0
  24. package/dist/src/screens/connect-oauth.d.ts +27 -0
  25. package/dist/src/screens/connect-oauth.js +414 -0
  26. package/dist/src/screens/connect-settings.d.ts +22 -0
  27. package/dist/src/screens/connect-settings.js +103 -0
  28. package/dist/src/screens/consent-skin.d.ts +4 -0
  29. package/dist/src/screens/consent-skin.js +18 -0
  30. package/dist/src/screens/financial-connections.d.ts +5 -0
  31. package/dist/src/screens/financial-connections.js +90 -0
  32. package/dist/src/screens/identity.d.ts +5 -0
  33. package/dist/src/screens/identity.js +86 -0
  34. package/dist/src/screens/industries.d.ts +1 -0
  35. package/dist/src/screens/industries.js +267 -0
  36. package/dist/src/screens/onboarding.d.ts +13 -0
  37. package/dist/src/screens/onboarding.js +225 -0
  38. package/dist/src/screens/portal.d.ts +5 -0
  39. package/dist/src/screens/portal.js +216 -0
  40. package/dist/src/screens/public-details.d.ts +5 -0
  41. package/dist/src/screens/public-details.js +90 -0
  42. package/dist/src/semantics/after-payment.d.ts +22 -0
  43. package/dist/src/semantics/after-payment.js +99 -0
  44. package/dist/src/semantics/apps-secrets.d.ts +2 -0
  45. package/dist/src/semantics/apps-secrets.js +54 -0
  46. package/dist/src/semantics/balance.d.ts +11 -0
  47. package/dist/src/semantics/balance.js +195 -0
  48. package/dist/src/semantics/billing.d.ts +2 -0
  49. package/dist/src/semantics/billing.js +220 -0
  50. package/dist/src/semantics/charges.d.ts +28 -0
  51. package/dist/src/semantics/charges.js +209 -0
  52. package/dist/src/semantics/checkout.d.ts +15 -0
  53. package/dist/src/semantics/checkout.js +316 -0
  54. package/dist/src/semantics/connect.d.ts +5 -0
  55. package/dist/src/semantics/connect.js +493 -0
  56. package/dist/src/semantics/coupons.d.ts +6 -0
  57. package/dist/src/semantics/coupons.js +92 -0
  58. package/dist/src/semantics/credit-notes.d.ts +2 -0
  59. package/dist/src/semantics/credit-notes.js +172 -0
  60. package/dist/src/semantics/customers.d.ts +6 -0
  61. package/dist/src/semantics/customers.js +429 -0
  62. package/dist/src/semantics/disputes.d.ts +2 -0
  63. package/dist/src/semantics/disputes.js +51 -0
  64. package/dist/src/semantics/entitlements.d.ts +2 -0
  65. package/dist/src/semantics/entitlements.js +95 -0
  66. package/dist/src/semantics/ephemeral-keys.d.ts +2 -0
  67. package/dist/src/semantics/ephemeral-keys.js +34 -0
  68. package/dist/src/semantics/files.d.ts +2 -0
  69. package/dist/src/semantics/files.js +125 -0
  70. package/dist/src/semantics/invoices.d.ts +18 -0
  71. package/dist/src/semantics/invoices.js +545 -0
  72. package/dist/src/semantics/issuing.d.ts +13 -0
  73. package/dist/src/semantics/issuing.js +575 -0
  74. package/dist/src/semantics/ledger.d.ts +59 -0
  75. package/dist/src/semantics/ledger.js +200 -0
  76. package/dist/src/semantics/payment-intents.d.ts +18 -0
  77. package/dist/src/semantics/payment-intents.js +404 -0
  78. package/dist/src/semantics/payment-links.d.ts +2 -0
  79. package/dist/src/semantics/payment-links.js +133 -0
  80. package/dist/src/semantics/payment-methods.d.ts +20 -0
  81. package/dist/src/semantics/payment-methods.js +140 -0
  82. package/dist/src/semantics/plans.d.ts +5 -0
  83. package/dist/src/semantics/plans.js +121 -0
  84. package/dist/src/semantics/platform.d.ts +9 -0
  85. package/dist/src/semantics/platform.js +206 -0
  86. package/dist/src/semantics/products.d.ts +2 -0
  87. package/dist/src/semantics/products.js +140 -0
  88. package/dist/src/semantics/radar.d.ts +2 -0
  89. package/dist/src/semantics/radar.js +83 -0
  90. package/dist/src/semantics/refunds.d.ts +9 -0
  91. package/dist/src/semantics/refunds.js +195 -0
  92. package/dist/src/semantics/renewals.d.ts +47 -0
  93. package/dist/src/semantics/renewals.js +251 -0
  94. package/dist/src/semantics/setup-intents.d.ts +2 -0
  95. package/dist/src/semantics/setup-intents.js +84 -0
  96. package/dist/src/semantics/shared.d.ts +82 -0
  97. package/dist/src/semantics/shared.js +203 -0
  98. package/dist/src/semantics/subscription-schedules.d.ts +2 -0
  99. package/dist/src/semantics/subscription-schedules.js +119 -0
  100. package/dist/src/semantics/subscriptions.d.ts +11 -0
  101. package/dist/src/semantics/subscriptions.js +605 -0
  102. package/dist/src/semantics/tax.d.ts +2 -0
  103. package/dist/src/semantics/tax.js +197 -0
  104. package/dist/src/semantics/terminal.d.ts +5 -0
  105. package/dist/src/semantics/terminal.js +182 -0
  106. package/dist/src/semantics/test-cards.d.ts +4 -0
  107. package/dist/src/semantics/test-cards.js +7 -0
  108. package/dist/src/semantics/test-clocks.d.ts +6 -0
  109. package/dist/src/semantics/test-clocks.js +73 -0
  110. package/dist/src/semantics/tokens.d.ts +4 -0
  111. package/dist/src/semantics/tokens.js +44 -0
  112. package/dist/src/semantics/transfers.d.ts +2 -0
  113. package/dist/src/semantics/transfers.js +154 -0
  114. package/dist/src/semantics/treasury.d.ts +2 -0
  115. package/dist/src/semantics/treasury.js +377 -0
  116. package/dist/src/semantics/webhook-endpoints.d.ts +3 -0
  117. package/dist/src/semantics/webhook-endpoints.js +85 -0
  118. package/dist/src/stripe-budget.d.ts +55 -0
  119. package/dist/src/stripe-budget.js +155 -0
  120. package/dist/src/stripe-capabilities.d.ts +3 -0
  121. package/dist/src/stripe-capabilities.js +5695 -0
  122. package/dist/src/stripe-conformance.d.ts +43 -0
  123. package/dist/src/stripe-conformance.js +105 -0
  124. package/dist/src/stripe-connector.d.ts +161 -0
  125. package/dist/src/stripe-connector.js +414 -0
  126. package/dist/src/stripe-emit.d.ts +2 -0
  127. package/dist/src/stripe-emit.js +145 -0
  128. package/dist/src/stripe-events.d.ts +93 -0
  129. package/dist/src/stripe-events.js +392 -0
  130. package/dist/src/stripe-js.d.ts +4 -0
  131. package/dist/src/stripe-js.js +70 -0
  132. package/dist/src/stripe-mirror-ui.d.ts +15 -0
  133. package/dist/src/stripe-mirror-ui.js +87 -0
  134. package/dist/src/stripe-params.d.ts +3 -0
  135. package/dist/src/stripe-params.js +43 -0
  136. package/dist/src/stripe-perform-harness.d.ts +9 -0
  137. package/dist/src/stripe-perform-harness.js +26 -0
  138. package/dist/src/stripe-server.d.ts +33 -0
  139. package/dist/src/stripe-server.js +393 -0
  140. package/dist/src/stripe-shared.d.ts +109 -0
  141. package/dist/src/stripe-shared.js +276 -0
  142. package/dist/src/stripe-twin.d.ts +155 -0
  143. package/dist/src/stripe-twin.js +1232 -0
  144. package/dist/src/stripe-ui-conformance.d.ts +5 -0
  145. package/dist/src/stripe-ui-conformance.js +79 -0
  146. package/dist/src/stripe-ui-structure.d.ts +3 -0
  147. package/dist/src/stripe-ui-structure.js +168 -0
  148. package/dist/src/stripe-version.d.ts +12 -0
  149. package/dist/src/stripe-version.js +287 -0
  150. package/dist/test-fixtures/stripe-known-deviations.json +110 -0
  151. package/dist/test-fixtures/stripe-openapi-operations.SOURCE.md +14 -0
  152. package/dist/test-fixtures/stripe-openapi-operations.json +4717 -0
  153. package/dist/test-fixtures/stripe-schemas.SOURCE.md +35 -0
  154. package/dist/test-fixtures/stripe-schemas.json +3813 -0
  155. package/package.json +18 -10
  156. package/src/cli.ts +7 -7
  157. package/src/generated/events.gen.json +1 -0
  158. package/src/generated/surface.gen.json +1 -0
  159. package/src/generated/ui.gen.json +1 -0
  160. package/src/index.ts +34 -10
  161. package/src/manifest.ts +1102 -0
  162. package/src/screens/checkout.tsx +267 -0
  163. package/src/screens/connect-oauth.tsx +400 -0
  164. package/src/screens/connect-settings.tsx +121 -0
  165. package/src/screens/consent-skin.ts +20 -0
  166. package/src/screens/financial-connections.tsx +101 -0
  167. package/src/screens/identity.tsx +96 -0
  168. package/src/screens/industries.ts +267 -0
  169. package/src/screens/onboarding.tsx +243 -0
  170. package/src/screens/portal.tsx +220 -0
  171. package/src/screens/public-details.tsx +105 -0
  172. package/src/semantics/after-payment.ts +118 -0
  173. package/src/semantics/apps-secrets.ts +58 -0
  174. package/src/semantics/balance.ts +209 -0
  175. package/src/semantics/billing.ts +216 -0
  176. package/src/semantics/charges.ts +220 -0
  177. package/src/semantics/checkout.ts +310 -0
  178. package/src/semantics/connect.ts +487 -0
  179. package/src/semantics/coupons.ts +97 -0
  180. package/src/semantics/credit-notes.ts +168 -0
  181. package/src/semantics/customers.ts +432 -0
  182. package/src/semantics/disputes.ts +62 -0
  183. package/src/semantics/entitlements.ts +94 -0
  184. package/src/semantics/ephemeral-keys.ts +34 -0
  185. package/src/semantics/files.ts +143 -0
  186. package/src/semantics/invoices.ts +545 -0
  187. package/src/semantics/issuing.ts +590 -0
  188. package/src/semantics/ledger.ts +253 -0
  189. package/src/semantics/payment-intents.ts +420 -0
  190. package/src/semantics/payment-links.ts +148 -0
  191. package/src/semantics/payment-methods.ts +145 -0
  192. package/src/semantics/plans.ts +131 -0
  193. package/src/semantics/platform.ts +220 -0
  194. package/src/semantics/products.ts +154 -0
  195. package/src/semantics/radar.ts +85 -0
  196. package/src/semantics/refunds.ts +218 -0
  197. package/src/semantics/renewals.ts +274 -0
  198. package/src/semantics/setup-intents.ts +87 -0
  199. package/src/semantics/shared.ts +226 -0
  200. package/src/semantics/subscription-schedules.ts +129 -0
  201. package/src/semantics/subscriptions.ts +610 -0
  202. package/src/semantics/tax.ts +220 -0
  203. package/src/semantics/terminal.ts +195 -0
  204. package/src/semantics/test-cards.ts +7 -0
  205. package/src/semantics/test-clocks.ts +77 -0
  206. package/src/semantics/tokens.ts +52 -0
  207. package/src/semantics/transfers.ts +174 -0
  208. package/src/semantics/treasury.ts +383 -0
  209. package/src/semantics/webhook-endpoints.ts +87 -0
  210. package/src/stripe-budget.ts +4 -4
  211. package/src/stripe-capabilities.ts +2258 -380
  212. package/src/stripe-conformance.ts +19 -7
  213. package/src/stripe-connector.ts +68 -40
  214. package/src/stripe-emit.ts +15 -8
  215. package/src/stripe-events.ts +102 -40
  216. package/src/stripe-js.ts +70 -0
  217. package/src/stripe-mirror-ui.ts +28 -298
  218. package/src/stripe-params.ts +44 -0
  219. package/src/stripe-perform-harness.ts +29 -0
  220. package/src/stripe-server.ts +318 -38
  221. package/src/stripe-shared.ts +297 -0
  222. package/src/stripe-twin.ts +434 -5325
  223. package/src/stripe-ui-conformance.ts +70 -107
  224. package/src/stripe-ui-structure.ts +124 -348
  225. package/src/stripe-version.ts +281 -0
  226. package/test-fixtures/stripe-known-deviations.json +8 -8
  227. package/test-fixtures/stripe-openapi-operations.json +1188 -2855
  228. package/test-fixtures/stripe-schemas.json +85 -12
  229. package/src/stripe-form.ts +0 -35
@@ -0,0 +1,3813 @@
1
+ {
2
+ "charge": {
3
+ "type": "object",
4
+ "required": [
5
+ "amount",
6
+ "amount_captured",
7
+ "amount_refunded",
8
+ "billing_details",
9
+ "captured",
10
+ "created",
11
+ "currency",
12
+ "disputed",
13
+ "id",
14
+ "livemode",
15
+ "metadata",
16
+ "object",
17
+ "paid",
18
+ "refunded",
19
+ "status"
20
+ ],
21
+ "properties": {
22
+ "amount": {
23
+ "type": "integer"
24
+ },
25
+ "amount_captured": {
26
+ "type": "integer"
27
+ },
28
+ "amount_refunded": {
29
+ "type": "integer"
30
+ },
31
+ "application": {
32
+ "nullable": true
33
+ },
34
+ "application_fee": {
35
+ "nullable": true
36
+ },
37
+ "application_fee_amount": {
38
+ "type": "integer",
39
+ "nullable": true
40
+ },
41
+ "balance_transaction": {
42
+ "nullable": true
43
+ },
44
+ "billing_details": {},
45
+ "calculated_statement_descriptor": {
46
+ "type": "string",
47
+ "nullable": true
48
+ },
49
+ "captured": {
50
+ "type": "boolean"
51
+ },
52
+ "created": {
53
+ "type": "integer"
54
+ },
55
+ "currency": {
56
+ "type": "string"
57
+ },
58
+ "customer": {
59
+ "nullable": true
60
+ },
61
+ "description": {
62
+ "type": "string",
63
+ "nullable": true
64
+ },
65
+ "disputed": {
66
+ "type": "boolean"
67
+ },
68
+ "failure_balance_transaction": {
69
+ "nullable": true
70
+ },
71
+ "failure_code": {
72
+ "type": "string",
73
+ "nullable": true
74
+ },
75
+ "failure_message": {
76
+ "type": "string",
77
+ "nullable": true
78
+ },
79
+ "fraud_details": {
80
+ "nullable": true
81
+ },
82
+ "id": {
83
+ "type": "string"
84
+ },
85
+ "livemode": {
86
+ "type": "boolean"
87
+ },
88
+ "metadata": {
89
+ "type": "object"
90
+ },
91
+ "object": {
92
+ "enum": [
93
+ "charge"
94
+ ],
95
+ "type": "string"
96
+ },
97
+ "on_behalf_of": {
98
+ "nullable": true
99
+ },
100
+ "outcome": {
101
+ "nullable": true
102
+ },
103
+ "paid": {
104
+ "type": "boolean"
105
+ },
106
+ "payment_intent": {
107
+ "nullable": true
108
+ },
109
+ "payment_method": {
110
+ "type": "string",
111
+ "nullable": true
112
+ },
113
+ "payment_method_details": {
114
+ "nullable": true
115
+ },
116
+ "presentment_details": {},
117
+ "radar_options": {},
118
+ "receipt_email": {
119
+ "type": "string",
120
+ "nullable": true
121
+ },
122
+ "receipt_number": {
123
+ "type": "string",
124
+ "nullable": true
125
+ },
126
+ "receipt_url": {
127
+ "type": "string",
128
+ "nullable": true
129
+ },
130
+ "refunded": {
131
+ "type": "boolean"
132
+ },
133
+ "refunds": {
134
+ "type": "object",
135
+ "nullable": true
136
+ },
137
+ "review": {
138
+ "nullable": true
139
+ },
140
+ "shipping": {
141
+ "nullable": true
142
+ },
143
+ "source_transfer": {
144
+ "nullable": true
145
+ },
146
+ "statement_descriptor": {
147
+ "type": "string",
148
+ "nullable": true
149
+ },
150
+ "statement_descriptor_suffix": {
151
+ "type": "string",
152
+ "nullable": true
153
+ },
154
+ "status": {
155
+ "enum": [
156
+ "failed",
157
+ "pending",
158
+ "succeeded"
159
+ ],
160
+ "type": "string"
161
+ },
162
+ "transfer": {},
163
+ "transfer_data": {
164
+ "nullable": true
165
+ },
166
+ "transfer_group": {
167
+ "type": "string",
168
+ "nullable": true
169
+ }
170
+ }
171
+ },
172
+ "customer": {
173
+ "type": "object",
174
+ "required": [
175
+ "created",
176
+ "id",
177
+ "livemode",
178
+ "object"
179
+ ],
180
+ "properties": {
181
+ "address": {
182
+ "nullable": true
183
+ },
184
+ "balance": {
185
+ "type": "integer"
186
+ },
187
+ "business_name": {
188
+ "type": "string"
189
+ },
190
+ "cash_balance": {
191
+ "nullable": true
192
+ },
193
+ "created": {
194
+ "type": "integer"
195
+ },
196
+ "currency": {
197
+ "type": "string",
198
+ "nullable": true
199
+ },
200
+ "customer_account": {
201
+ "type": "string",
202
+ "nullable": true
203
+ },
204
+ "default_source": {
205
+ "nullable": true
206
+ },
207
+ "delinquent": {
208
+ "type": "boolean",
209
+ "nullable": true
210
+ },
211
+ "description": {
212
+ "type": "string",
213
+ "nullable": true
214
+ },
215
+ "discount": {
216
+ "nullable": true
217
+ },
218
+ "email": {
219
+ "type": "string",
220
+ "nullable": true
221
+ },
222
+ "id": {
223
+ "type": "string"
224
+ },
225
+ "individual_name": {
226
+ "type": "string"
227
+ },
228
+ "invoice_credit_balance": {
229
+ "type": "object"
230
+ },
231
+ "invoice_prefix": {
232
+ "type": "string",
233
+ "nullable": true
234
+ },
235
+ "invoice_settings": {},
236
+ "livemode": {
237
+ "type": "boolean"
238
+ },
239
+ "metadata": {
240
+ "type": "object"
241
+ },
242
+ "name": {
243
+ "type": "string",
244
+ "nullable": true
245
+ },
246
+ "next_invoice_sequence": {
247
+ "type": "integer"
248
+ },
249
+ "object": {
250
+ "enum": [
251
+ "customer"
252
+ ],
253
+ "type": "string"
254
+ },
255
+ "phone": {
256
+ "type": "string",
257
+ "nullable": true
258
+ },
259
+ "preferred_locales": {
260
+ "type": "array",
261
+ "nullable": true
262
+ },
263
+ "shipping": {
264
+ "nullable": true
265
+ },
266
+ "sources": {
267
+ "type": "object"
268
+ },
269
+ "subscriptions": {
270
+ "type": "object"
271
+ },
272
+ "tax": {},
273
+ "tax_exempt": {
274
+ "enum": [
275
+ "exempt",
276
+ "none",
277
+ "reverse"
278
+ ],
279
+ "type": "string",
280
+ "nullable": true
281
+ },
282
+ "tax_ids": {
283
+ "type": "object"
284
+ },
285
+ "test_clock": {
286
+ "nullable": true
287
+ }
288
+ }
289
+ },
290
+ "payment_intent": {
291
+ "type": "object",
292
+ "required": [
293
+ "created",
294
+ "id",
295
+ "livemode",
296
+ "object",
297
+ "status"
298
+ ],
299
+ "properties": {
300
+ "allowed_payment_method_types": {
301
+ "type": "array",
302
+ "nullable": true
303
+ },
304
+ "amount": {
305
+ "type": "integer"
306
+ },
307
+ "amount_capturable": {
308
+ "type": "integer"
309
+ },
310
+ "amount_details": {},
311
+ "amount_received": {
312
+ "type": "integer"
313
+ },
314
+ "application": {
315
+ "nullable": true
316
+ },
317
+ "application_fee_amount": {
318
+ "type": "integer",
319
+ "nullable": true
320
+ },
321
+ "automatic_payment_methods": {
322
+ "nullable": true
323
+ },
324
+ "canceled_at": {
325
+ "type": "integer",
326
+ "nullable": true
327
+ },
328
+ "cancellation_reason": {
329
+ "enum": [
330
+ "abandoned",
331
+ "automatic",
332
+ "duplicate",
333
+ "expired",
334
+ "failed_invoice",
335
+ "fraudulent",
336
+ "requested_by_customer",
337
+ "void_invoice"
338
+ ],
339
+ "type": "string",
340
+ "nullable": true
341
+ },
342
+ "capture_method": {
343
+ "enum": [
344
+ "automatic",
345
+ "automatic_async",
346
+ "manual"
347
+ ],
348
+ "type": "string"
349
+ },
350
+ "client_secret": {
351
+ "type": "string",
352
+ "nullable": true
353
+ },
354
+ "confirmation_method": {
355
+ "enum": [
356
+ "automatic",
357
+ "manual"
358
+ ],
359
+ "type": "string"
360
+ },
361
+ "created": {
362
+ "type": "integer"
363
+ },
364
+ "currency": {
365
+ "type": "string"
366
+ },
367
+ "customer": {
368
+ "nullable": true
369
+ },
370
+ "customer_account": {
371
+ "type": "string",
372
+ "nullable": true
373
+ },
374
+ "description": {
375
+ "type": "string",
376
+ "nullable": true
377
+ },
378
+ "excluded_payment_method_types": {
379
+ "type": "array",
380
+ "nullable": true
381
+ },
382
+ "hooks": {},
383
+ "id": {
384
+ "type": "string"
385
+ },
386
+ "last_payment_error": {
387
+ "nullable": true
388
+ },
389
+ "latest_charge": {
390
+ "nullable": true
391
+ },
392
+ "livemode": {
393
+ "type": "boolean"
394
+ },
395
+ "managed_payments": {
396
+ "nullable": true
397
+ },
398
+ "metadata": {
399
+ "type": "object"
400
+ },
401
+ "next_action": {
402
+ "nullable": true
403
+ },
404
+ "object": {
405
+ "enum": [
406
+ "payment_intent"
407
+ ],
408
+ "type": "string"
409
+ },
410
+ "on_behalf_of": {
411
+ "nullable": true
412
+ },
413
+ "payment_details": {},
414
+ "payment_method": {
415
+ "nullable": true
416
+ },
417
+ "payment_method_configuration_details": {
418
+ "nullable": true
419
+ },
420
+ "payment_method_options": {
421
+ "nullable": true
422
+ },
423
+ "payment_method_types": {
424
+ "type": "array"
425
+ },
426
+ "payment_record": {
427
+ "nullable": true
428
+ },
429
+ "presentment_details": {},
430
+ "processing": {
431
+ "nullable": true
432
+ },
433
+ "receipt_email": {
434
+ "type": "string",
435
+ "nullable": true
436
+ },
437
+ "review": {
438
+ "nullable": true
439
+ },
440
+ "setup_future_usage": {
441
+ "enum": [
442
+ "off_session",
443
+ "on_session"
444
+ ],
445
+ "type": "string",
446
+ "nullable": true
447
+ },
448
+ "shipping": {
449
+ "nullable": true
450
+ },
451
+ "statement_descriptor": {
452
+ "type": "string",
453
+ "nullable": true
454
+ },
455
+ "statement_descriptor_suffix": {
456
+ "type": "string",
457
+ "nullable": true
458
+ },
459
+ "status": {
460
+ "enum": [
461
+ "canceled",
462
+ "processing",
463
+ "requires_action",
464
+ "requires_capture",
465
+ "requires_confirmation",
466
+ "requires_payment_method",
467
+ "succeeded"
468
+ ],
469
+ "type": "string"
470
+ },
471
+ "transfer_data": {
472
+ "nullable": true
473
+ },
474
+ "transfer_group": {
475
+ "type": "string",
476
+ "nullable": true
477
+ }
478
+ }
479
+ },
480
+ "refund": {
481
+ "type": "object",
482
+ "required": [
483
+ "amount",
484
+ "created",
485
+ "currency",
486
+ "id",
487
+ "object"
488
+ ],
489
+ "properties": {
490
+ "amount": {
491
+ "type": "integer"
492
+ },
493
+ "balance_transaction": {
494
+ "nullable": true
495
+ },
496
+ "charge": {
497
+ "nullable": true
498
+ },
499
+ "created": {
500
+ "type": "integer"
501
+ },
502
+ "currency": {
503
+ "type": "string"
504
+ },
505
+ "customer": {
506
+ "nullable": true
507
+ },
508
+ "customer_account": {
509
+ "type": "string",
510
+ "nullable": true
511
+ },
512
+ "description": {
513
+ "type": "string"
514
+ },
515
+ "destination_details": {},
516
+ "failure_balance_transaction": {},
517
+ "failure_reason": {
518
+ "type": "string"
519
+ },
520
+ "id": {
521
+ "type": "string"
522
+ },
523
+ "instructions_email": {
524
+ "type": "string"
525
+ },
526
+ "metadata": {
527
+ "type": "object",
528
+ "nullable": true
529
+ },
530
+ "next_action": {},
531
+ "object": {
532
+ "enum": [
533
+ "refund"
534
+ ],
535
+ "type": "string"
536
+ },
537
+ "payment_intent": {
538
+ "nullable": true
539
+ },
540
+ "payment_method": {
541
+ "nullable": true
542
+ },
543
+ "pending_reason": {
544
+ "enum": [
545
+ "charge_pending",
546
+ "insufficient_funds",
547
+ "processing"
548
+ ],
549
+ "type": "string"
550
+ },
551
+ "presentment_details": {},
552
+ "reason": {
553
+ "enum": [
554
+ "duplicate",
555
+ "expired_uncaptured_charge",
556
+ "fraudulent",
557
+ "requested_by_customer"
558
+ ],
559
+ "type": "string",
560
+ "nullable": true
561
+ },
562
+ "receipt_number": {
563
+ "type": "string",
564
+ "nullable": true
565
+ },
566
+ "source_transfer_reversal": {
567
+ "nullable": true
568
+ },
569
+ "status": {
570
+ "type": "string",
571
+ "nullable": true
572
+ },
573
+ "transfer_reversal": {
574
+ "nullable": true
575
+ }
576
+ }
577
+ },
578
+ "subscription": {
579
+ "type": "object",
580
+ "required": [
581
+ "automatic_tax",
582
+ "billing_cycle_anchor",
583
+ "billing_mode",
584
+ "billing_schedules",
585
+ "cancel_at_period_end",
586
+ "collection_method",
587
+ "created",
588
+ "currency",
589
+ "customer",
590
+ "discounts",
591
+ "id",
592
+ "invoice_settings",
593
+ "items",
594
+ "livemode",
595
+ "metadata",
596
+ "object",
597
+ "start_date",
598
+ "status"
599
+ ],
600
+ "properties": {
601
+ "application": {
602
+ "nullable": true
603
+ },
604
+ "application_fee_percent": {
605
+ "type": "number",
606
+ "nullable": true
607
+ },
608
+ "automatic_tax": {},
609
+ "billing_cycle_anchor": {
610
+ "type": "integer"
611
+ },
612
+ "billing_cycle_anchor_config": {
613
+ "nullable": true
614
+ },
615
+ "billing_mode": {},
616
+ "billing_schedules": {
617
+ "type": "array"
618
+ },
619
+ "billing_thresholds": {
620
+ "nullable": true
621
+ },
622
+ "cancel_at": {
623
+ "type": "integer",
624
+ "nullable": true
625
+ },
626
+ "cancel_at_period_end": {
627
+ "type": "boolean"
628
+ },
629
+ "canceled_at": {
630
+ "type": "integer",
631
+ "nullable": true
632
+ },
633
+ "cancellation_details": {
634
+ "nullable": true
635
+ },
636
+ "collection_method": {
637
+ "enum": [
638
+ "charge_automatically",
639
+ "send_invoice"
640
+ ],
641
+ "type": "string"
642
+ },
643
+ "created": {
644
+ "type": "integer"
645
+ },
646
+ "currency": {
647
+ "type": "string"
648
+ },
649
+ "customer": {},
650
+ "customer_account": {
651
+ "type": "string",
652
+ "nullable": true
653
+ },
654
+ "days_until_due": {
655
+ "type": "integer",
656
+ "nullable": true
657
+ },
658
+ "default_payment_method": {
659
+ "nullable": true
660
+ },
661
+ "default_source": {
662
+ "nullable": true
663
+ },
664
+ "default_tax_rates": {
665
+ "type": "array",
666
+ "nullable": true
667
+ },
668
+ "description": {
669
+ "type": "string",
670
+ "nullable": true
671
+ },
672
+ "discounts": {
673
+ "type": "array"
674
+ },
675
+ "ended_at": {
676
+ "type": "integer",
677
+ "nullable": true
678
+ },
679
+ "id": {
680
+ "type": "string"
681
+ },
682
+ "invoice_settings": {},
683
+ "items": {
684
+ "type": "object"
685
+ },
686
+ "latest_invoice": {
687
+ "nullable": true
688
+ },
689
+ "livemode": {
690
+ "type": "boolean"
691
+ },
692
+ "managed_payments": {
693
+ "nullable": true
694
+ },
695
+ "metadata": {
696
+ "type": "object"
697
+ },
698
+ "next_pending_invoice_item_invoice": {
699
+ "type": "integer",
700
+ "nullable": true
701
+ },
702
+ "object": {
703
+ "enum": [
704
+ "subscription"
705
+ ],
706
+ "type": "string"
707
+ },
708
+ "on_behalf_of": {
709
+ "nullable": true
710
+ },
711
+ "pause_collection": {
712
+ "nullable": true
713
+ },
714
+ "payment_settings": {
715
+ "nullable": true
716
+ },
717
+ "pending_invoice_item_interval": {
718
+ "nullable": true
719
+ },
720
+ "pending_setup_intent": {
721
+ "nullable": true
722
+ },
723
+ "pending_update": {
724
+ "nullable": true
725
+ },
726
+ "presentment_details": {},
727
+ "schedule": {
728
+ "nullable": true
729
+ },
730
+ "start_date": {
731
+ "type": "integer"
732
+ },
733
+ "status": {
734
+ "enum": [
735
+ "active",
736
+ "canceled",
737
+ "incomplete",
738
+ "incomplete_expired",
739
+ "past_due",
740
+ "paused",
741
+ "trialing",
742
+ "unpaid"
743
+ ],
744
+ "type": "string"
745
+ },
746
+ "status_details": {},
747
+ "test_clock": {
748
+ "nullable": true
749
+ },
750
+ "transfer_data": {
751
+ "nullable": true
752
+ },
753
+ "trial_end": {
754
+ "type": "integer",
755
+ "nullable": true
756
+ },
757
+ "trial_settings": {
758
+ "nullable": true
759
+ },
760
+ "trial_start": {
761
+ "type": "integer",
762
+ "nullable": true
763
+ }
764
+ }
765
+ },
766
+ "setup_intent": {
767
+ "type": "object",
768
+ "required": [
769
+ "created",
770
+ "id",
771
+ "livemode",
772
+ "object",
773
+ "payment_method_types",
774
+ "status",
775
+ "usage"
776
+ ],
777
+ "properties": {
778
+ "allowed_payment_method_types": {
779
+ "type": "array",
780
+ "nullable": true
781
+ },
782
+ "application": {
783
+ "nullable": true
784
+ },
785
+ "attach_to_self": {
786
+ "type": "boolean"
787
+ },
788
+ "automatic_payment_methods": {
789
+ "nullable": true
790
+ },
791
+ "cancellation_reason": {
792
+ "enum": [
793
+ "abandoned",
794
+ "duplicate",
795
+ "requested_by_customer"
796
+ ],
797
+ "type": "string",
798
+ "nullable": true
799
+ },
800
+ "client_secret": {
801
+ "type": "string",
802
+ "nullable": true
803
+ },
804
+ "created": {
805
+ "type": "integer"
806
+ },
807
+ "customer": {
808
+ "nullable": true
809
+ },
810
+ "customer_account": {
811
+ "type": "string",
812
+ "nullable": true
813
+ },
814
+ "description": {
815
+ "type": "string",
816
+ "nullable": true
817
+ },
818
+ "excluded_payment_method_types": {
819
+ "type": "array",
820
+ "nullable": true
821
+ },
822
+ "flow_directions": {
823
+ "type": "array",
824
+ "nullable": true
825
+ },
826
+ "id": {
827
+ "type": "string"
828
+ },
829
+ "last_setup_error": {
830
+ "nullable": true
831
+ },
832
+ "latest_attempt": {
833
+ "nullable": true
834
+ },
835
+ "livemode": {
836
+ "type": "boolean"
837
+ },
838
+ "managed_payments": {
839
+ "nullable": true
840
+ },
841
+ "mandate": {
842
+ "nullable": true
843
+ },
844
+ "metadata": {
845
+ "type": "object",
846
+ "nullable": true
847
+ },
848
+ "next_action": {
849
+ "nullable": true
850
+ },
851
+ "object": {
852
+ "enum": [
853
+ "setup_intent"
854
+ ],
855
+ "type": "string"
856
+ },
857
+ "on_behalf_of": {
858
+ "nullable": true
859
+ },
860
+ "payment_method": {
861
+ "nullable": true
862
+ },
863
+ "payment_method_configuration_details": {
864
+ "nullable": true
865
+ },
866
+ "payment_method_options": {
867
+ "nullable": true
868
+ },
869
+ "payment_method_types": {
870
+ "type": "array"
871
+ },
872
+ "single_use_mandate": {
873
+ "nullable": true
874
+ },
875
+ "status": {
876
+ "enum": [
877
+ "canceled",
878
+ "processing",
879
+ "requires_action",
880
+ "requires_confirmation",
881
+ "requires_payment_method",
882
+ "succeeded"
883
+ ],
884
+ "type": "string"
885
+ },
886
+ "usage": {
887
+ "type": "string"
888
+ }
889
+ }
890
+ },
891
+ "payment_method": {
892
+ "type": "object",
893
+ "required": [
894
+ "billing_details",
895
+ "created",
896
+ "id",
897
+ "livemode",
898
+ "object",
899
+ "type"
900
+ ],
901
+ "properties": {
902
+ "acss_debit": {},
903
+ "affirm": {},
904
+ "afterpay_clearpay": {},
905
+ "alipay": {},
906
+ "allow_redisplay": {
907
+ "enum": [
908
+ "always",
909
+ "limited",
910
+ "unspecified"
911
+ ],
912
+ "type": "string"
913
+ },
914
+ "alma": {},
915
+ "amazon_pay": {},
916
+ "au_becs_debit": {},
917
+ "bacs_debit": {},
918
+ "bancontact": {},
919
+ "billie": {},
920
+ "billing_details": {},
921
+ "bizum": {},
922
+ "blik": {},
923
+ "boleto": {},
924
+ "card": {},
925
+ "card_present": {},
926
+ "cashapp": {},
927
+ "created": {
928
+ "type": "integer"
929
+ },
930
+ "crypto": {},
931
+ "custom": {},
932
+ "customer": {
933
+ "nullable": true
934
+ },
935
+ "customer_account": {
936
+ "type": "string",
937
+ "nullable": true
938
+ },
939
+ "customer_balance": {},
940
+ "eps": {},
941
+ "fpx": {},
942
+ "giropay": {},
943
+ "grabpay": {},
944
+ "id": {
945
+ "type": "string"
946
+ },
947
+ "ideal": {},
948
+ "interac_present": {},
949
+ "kakao_pay": {},
950
+ "klarna": {},
951
+ "konbini": {},
952
+ "kr_card": {},
953
+ "link": {},
954
+ "livemode": {
955
+ "type": "boolean"
956
+ },
957
+ "mb_way": {},
958
+ "metadata": {
959
+ "type": "object",
960
+ "nullable": true
961
+ },
962
+ "mobilepay": {},
963
+ "multibanco": {},
964
+ "naver_pay": {},
965
+ "nz_bank_account": {},
966
+ "object": {
967
+ "enum": [
968
+ "payment_method"
969
+ ],
970
+ "type": "string"
971
+ },
972
+ "oxxo": {},
973
+ "p24": {},
974
+ "pay_by_bank": {},
975
+ "payco": {},
976
+ "paynow": {},
977
+ "paypal": {},
978
+ "paypay": {},
979
+ "payto": {},
980
+ "pix": {},
981
+ "promptpay": {},
982
+ "radar_options": {},
983
+ "revolut_pay": {},
984
+ "samsung_pay": {},
985
+ "satispay": {},
986
+ "scalapay": {},
987
+ "sepa_debit": {},
988
+ "sequra": {},
989
+ "sofort": {},
990
+ "sunbit": {},
991
+ "swish": {},
992
+ "twint": {},
993
+ "type": {
994
+ "enum": [
995
+ "acss_debit",
996
+ "affirm",
997
+ "afterpay_clearpay",
998
+ "alipay",
999
+ "alma",
1000
+ "amazon_pay",
1001
+ "au_becs_debit",
1002
+ "bacs_debit",
1003
+ "bancontact",
1004
+ "billie",
1005
+ "bizum",
1006
+ "blik",
1007
+ "boleto",
1008
+ "card",
1009
+ "card_present",
1010
+ "cashapp",
1011
+ "crypto",
1012
+ "custom",
1013
+ "customer_balance",
1014
+ "eps",
1015
+ "fpx",
1016
+ "giropay",
1017
+ "grabpay",
1018
+ "ideal",
1019
+ "interac_present",
1020
+ "kakao_pay",
1021
+ "klarna",
1022
+ "konbini",
1023
+ "kr_card",
1024
+ "link",
1025
+ "mb_way",
1026
+ "mobilepay",
1027
+ "multibanco",
1028
+ "naver_pay",
1029
+ "nz_bank_account",
1030
+ "oxxo",
1031
+ "p24",
1032
+ "pay_by_bank",
1033
+ "payco",
1034
+ "paynow",
1035
+ "paypal",
1036
+ "payto",
1037
+ "pix",
1038
+ "promptpay",
1039
+ "revolut_pay",
1040
+ "samsung_pay",
1041
+ "satispay",
1042
+ "scalapay",
1043
+ "sepa_debit",
1044
+ "sofort",
1045
+ "sunbit",
1046
+ "swish",
1047
+ "twint",
1048
+ "upi",
1049
+ "us_bank_account",
1050
+ "wechat_pay",
1051
+ "zip"
1052
+ ],
1053
+ "type": "string"
1054
+ },
1055
+ "upi": {},
1056
+ "us_bank_account": {},
1057
+ "wechat_pay": {},
1058
+ "zip": {}
1059
+ }
1060
+ },
1061
+ "price": {
1062
+ "type": "object",
1063
+ "required": [
1064
+ "active",
1065
+ "billing_scheme",
1066
+ "created",
1067
+ "currency",
1068
+ "id",
1069
+ "livemode",
1070
+ "metadata",
1071
+ "object",
1072
+ "product",
1073
+ "type"
1074
+ ],
1075
+ "properties": {
1076
+ "active": {
1077
+ "type": "boolean"
1078
+ },
1079
+ "billing_scheme": {
1080
+ "enum": [
1081
+ "per_unit",
1082
+ "tiered"
1083
+ ],
1084
+ "type": "string"
1085
+ },
1086
+ "created": {
1087
+ "type": "integer"
1088
+ },
1089
+ "currency": {
1090
+ "type": "string"
1091
+ },
1092
+ "currency_options": {
1093
+ "type": "object"
1094
+ },
1095
+ "custom_unit_amount": {
1096
+ "nullable": true
1097
+ },
1098
+ "id": {
1099
+ "type": "string"
1100
+ },
1101
+ "livemode": {
1102
+ "type": "boolean"
1103
+ },
1104
+ "lookup_key": {
1105
+ "type": "string",
1106
+ "nullable": true
1107
+ },
1108
+ "metadata": {
1109
+ "type": "object"
1110
+ },
1111
+ "nickname": {
1112
+ "type": "string",
1113
+ "nullable": true
1114
+ },
1115
+ "object": {
1116
+ "enum": [
1117
+ "price"
1118
+ ],
1119
+ "type": "string"
1120
+ },
1121
+ "product": {},
1122
+ "recurring": {
1123
+ "nullable": true
1124
+ },
1125
+ "tax_behavior": {
1126
+ "enum": [
1127
+ "exclusive",
1128
+ "inclusive",
1129
+ "unspecified"
1130
+ ],
1131
+ "type": "string",
1132
+ "nullable": true
1133
+ },
1134
+ "tiers": {
1135
+ "type": "array"
1136
+ },
1137
+ "tiers_mode": {
1138
+ "enum": [
1139
+ "graduated",
1140
+ "volume"
1141
+ ],
1142
+ "type": "string",
1143
+ "nullable": true
1144
+ },
1145
+ "transform_quantity": {
1146
+ "nullable": true
1147
+ },
1148
+ "type": {
1149
+ "enum": [
1150
+ "one_time",
1151
+ "recurring"
1152
+ ],
1153
+ "type": "string"
1154
+ },
1155
+ "unit_amount": {
1156
+ "type": "integer",
1157
+ "nullable": true
1158
+ },
1159
+ "unit_amount_decimal": {
1160
+ "type": "string",
1161
+ "nullable": true
1162
+ }
1163
+ }
1164
+ },
1165
+ "product": {
1166
+ "type": "object",
1167
+ "required": [
1168
+ "active",
1169
+ "created",
1170
+ "id",
1171
+ "images",
1172
+ "livemode",
1173
+ "marketing_features",
1174
+ "metadata",
1175
+ "name",
1176
+ "object",
1177
+ "updated"
1178
+ ],
1179
+ "properties": {
1180
+ "active": {
1181
+ "type": "boolean"
1182
+ },
1183
+ "created": {
1184
+ "type": "integer"
1185
+ },
1186
+ "default_price": {
1187
+ "nullable": true
1188
+ },
1189
+ "description": {
1190
+ "type": "string",
1191
+ "nullable": true
1192
+ },
1193
+ "id": {
1194
+ "type": "string"
1195
+ },
1196
+ "images": {
1197
+ "type": "array"
1198
+ },
1199
+ "livemode": {
1200
+ "type": "boolean"
1201
+ },
1202
+ "marketing_features": {
1203
+ "type": "array"
1204
+ },
1205
+ "metadata": {
1206
+ "type": "object"
1207
+ },
1208
+ "name": {
1209
+ "type": "string"
1210
+ },
1211
+ "object": {
1212
+ "enum": [
1213
+ "product"
1214
+ ],
1215
+ "type": "string"
1216
+ },
1217
+ "package_dimensions": {
1218
+ "nullable": true
1219
+ },
1220
+ "shippable": {
1221
+ "type": "boolean",
1222
+ "nullable": true
1223
+ },
1224
+ "statement_descriptor": {
1225
+ "type": "string",
1226
+ "nullable": true
1227
+ },
1228
+ "tax_code": {
1229
+ "nullable": true
1230
+ },
1231
+ "tax_details": {
1232
+ "nullable": true
1233
+ },
1234
+ "unit_label": {
1235
+ "type": "string",
1236
+ "nullable": true
1237
+ },
1238
+ "updated": {
1239
+ "type": "integer"
1240
+ },
1241
+ "url": {
1242
+ "type": "string",
1243
+ "nullable": true
1244
+ }
1245
+ }
1246
+ },
1247
+ "invoice": {
1248
+ "type": "object",
1249
+ "required": [
1250
+ "amount_due",
1251
+ "amount_overpaid",
1252
+ "amount_paid",
1253
+ "amount_paid_off_stripe",
1254
+ "amount_remaining",
1255
+ "amount_shipping",
1256
+ "attempt_count",
1257
+ "attempted",
1258
+ "auto_advance",
1259
+ "automatic_tax",
1260
+ "collection_method",
1261
+ "created",
1262
+ "currency",
1263
+ "customer",
1264
+ "default_tax_rates",
1265
+ "discounts",
1266
+ "id",
1267
+ "issuer",
1268
+ "lines",
1269
+ "livemode",
1270
+ "object",
1271
+ "payment_settings",
1272
+ "period_end",
1273
+ "period_start",
1274
+ "post_payment_credit_notes_amount",
1275
+ "pre_payment_credit_notes_amount",
1276
+ "starting_balance",
1277
+ "status_transitions",
1278
+ "subtotal",
1279
+ "total"
1280
+ ],
1281
+ "properties": {
1282
+ "account_country": {
1283
+ "type": "string",
1284
+ "nullable": true
1285
+ },
1286
+ "account_name": {
1287
+ "type": "string",
1288
+ "nullable": true
1289
+ },
1290
+ "account_tax_ids": {
1291
+ "type": "array",
1292
+ "nullable": true
1293
+ },
1294
+ "amount_due": {
1295
+ "type": "integer"
1296
+ },
1297
+ "amount_overpaid": {
1298
+ "type": "integer"
1299
+ },
1300
+ "amount_paid": {
1301
+ "type": "integer"
1302
+ },
1303
+ "amount_paid_off_stripe": {
1304
+ "type": "integer"
1305
+ },
1306
+ "amount_remaining": {
1307
+ "type": "integer"
1308
+ },
1309
+ "amount_shipping": {
1310
+ "type": "integer"
1311
+ },
1312
+ "application": {
1313
+ "nullable": true
1314
+ },
1315
+ "attempt_count": {
1316
+ "type": "integer"
1317
+ },
1318
+ "attempted": {
1319
+ "type": "boolean"
1320
+ },
1321
+ "auto_advance": {
1322
+ "type": "boolean"
1323
+ },
1324
+ "automatic_tax": {},
1325
+ "automatically_finalizes_at": {
1326
+ "type": "integer",
1327
+ "nullable": true
1328
+ },
1329
+ "billing_reason": {
1330
+ "enum": [
1331
+ "automatic_pending_invoice_item_invoice",
1332
+ "manual",
1333
+ "quote_accept",
1334
+ "subscription",
1335
+ "subscription_create",
1336
+ "subscription_cycle",
1337
+ "subscription_threshold",
1338
+ "subscription_update",
1339
+ "upcoming"
1340
+ ],
1341
+ "type": "string",
1342
+ "nullable": true
1343
+ },
1344
+ "collection_method": {
1345
+ "enum": [
1346
+ "charge_automatically",
1347
+ "send_invoice"
1348
+ ],
1349
+ "type": "string"
1350
+ },
1351
+ "confirmation_secret": {
1352
+ "nullable": true
1353
+ },
1354
+ "created": {
1355
+ "type": "integer"
1356
+ },
1357
+ "currency": {
1358
+ "type": "string"
1359
+ },
1360
+ "custom_fields": {
1361
+ "type": "array",
1362
+ "nullable": true
1363
+ },
1364
+ "customer": {},
1365
+ "customer_account": {
1366
+ "type": "string",
1367
+ "nullable": true
1368
+ },
1369
+ "customer_address": {
1370
+ "nullable": true
1371
+ },
1372
+ "customer_email": {
1373
+ "type": "string",
1374
+ "nullable": true
1375
+ },
1376
+ "customer_name": {
1377
+ "type": "string",
1378
+ "nullable": true
1379
+ },
1380
+ "customer_phone": {
1381
+ "type": "string",
1382
+ "nullable": true
1383
+ },
1384
+ "customer_shipping": {
1385
+ "nullable": true
1386
+ },
1387
+ "customer_tax_exempt": {
1388
+ "enum": [
1389
+ "exempt",
1390
+ "none",
1391
+ "reverse"
1392
+ ],
1393
+ "type": "string",
1394
+ "nullable": true
1395
+ },
1396
+ "customer_tax_ids": {
1397
+ "type": "array",
1398
+ "nullable": true
1399
+ },
1400
+ "default_payment_method": {
1401
+ "nullable": true
1402
+ },
1403
+ "default_source": {
1404
+ "nullable": true
1405
+ },
1406
+ "default_tax_rates": {
1407
+ "type": "array"
1408
+ },
1409
+ "description": {
1410
+ "type": "string",
1411
+ "nullable": true
1412
+ },
1413
+ "discounts": {
1414
+ "type": "array"
1415
+ },
1416
+ "due_date": {
1417
+ "type": "integer",
1418
+ "nullable": true
1419
+ },
1420
+ "effective_at": {
1421
+ "type": "integer",
1422
+ "nullable": true
1423
+ },
1424
+ "ending_balance": {
1425
+ "type": "integer",
1426
+ "nullable": true
1427
+ },
1428
+ "footer": {
1429
+ "type": "string",
1430
+ "nullable": true
1431
+ },
1432
+ "from_invoice": {
1433
+ "nullable": true
1434
+ },
1435
+ "hosted_invoice_url": {
1436
+ "type": "string",
1437
+ "nullable": true
1438
+ },
1439
+ "id": {
1440
+ "type": "string"
1441
+ },
1442
+ "invoice_pdf": {
1443
+ "type": "string",
1444
+ "nullable": true
1445
+ },
1446
+ "issuer": {},
1447
+ "last_finalization_error": {
1448
+ "nullable": true
1449
+ },
1450
+ "latest_revision": {
1451
+ "nullable": true
1452
+ },
1453
+ "lines": {
1454
+ "type": "object"
1455
+ },
1456
+ "livemode": {
1457
+ "type": "boolean"
1458
+ },
1459
+ "metadata": {
1460
+ "type": "object",
1461
+ "nullable": true
1462
+ },
1463
+ "next_payment_attempt": {
1464
+ "type": "integer",
1465
+ "nullable": true
1466
+ },
1467
+ "number": {
1468
+ "type": "string",
1469
+ "nullable": true
1470
+ },
1471
+ "object": {
1472
+ "enum": [
1473
+ "invoice"
1474
+ ],
1475
+ "type": "string"
1476
+ },
1477
+ "on_behalf_of": {
1478
+ "nullable": true
1479
+ },
1480
+ "parent": {
1481
+ "nullable": true
1482
+ },
1483
+ "payment_settings": {},
1484
+ "payments": {
1485
+ "type": "object"
1486
+ },
1487
+ "period_end": {
1488
+ "type": "integer"
1489
+ },
1490
+ "period_start": {
1491
+ "type": "integer"
1492
+ },
1493
+ "post_payment_credit_notes_amount": {
1494
+ "type": "integer"
1495
+ },
1496
+ "pre_payment_credit_notes_amount": {
1497
+ "type": "integer"
1498
+ },
1499
+ "receipt_number": {
1500
+ "type": "string",
1501
+ "nullable": true
1502
+ },
1503
+ "rendering": {
1504
+ "nullable": true
1505
+ },
1506
+ "shipping_cost": {
1507
+ "nullable": true
1508
+ },
1509
+ "shipping_details": {
1510
+ "nullable": true
1511
+ },
1512
+ "starting_balance": {
1513
+ "type": "integer"
1514
+ },
1515
+ "statement_descriptor": {
1516
+ "type": "string",
1517
+ "nullable": true
1518
+ },
1519
+ "status": {
1520
+ "enum": [
1521
+ "draft",
1522
+ "open",
1523
+ "paid",
1524
+ "uncollectible",
1525
+ "void"
1526
+ ],
1527
+ "type": "string",
1528
+ "nullable": true
1529
+ },
1530
+ "status_details": {},
1531
+ "status_transitions": {},
1532
+ "subtotal": {
1533
+ "type": "integer"
1534
+ },
1535
+ "subtotal_excluding_tax": {
1536
+ "type": "integer",
1537
+ "nullable": true
1538
+ },
1539
+ "test_clock": {
1540
+ "nullable": true
1541
+ },
1542
+ "threshold_reason": {},
1543
+ "total": {
1544
+ "type": "integer"
1545
+ },
1546
+ "total_discount_amounts": {
1547
+ "type": "array",
1548
+ "nullable": true
1549
+ },
1550
+ "total_excluding_tax": {
1551
+ "type": "integer",
1552
+ "nullable": true
1553
+ },
1554
+ "total_pretax_credit_amounts": {
1555
+ "type": "array",
1556
+ "nullable": true
1557
+ },
1558
+ "total_taxes": {
1559
+ "type": "array",
1560
+ "nullable": true
1561
+ },
1562
+ "webhooks_delivered_at": {
1563
+ "type": "integer",
1564
+ "nullable": true
1565
+ }
1566
+ }
1567
+ },
1568
+ "invoiceitem": {
1569
+ "type": "object",
1570
+ "required": [
1571
+ "amount",
1572
+ "currency",
1573
+ "customer",
1574
+ "date",
1575
+ "discountable",
1576
+ "id",
1577
+ "livemode",
1578
+ "object",
1579
+ "period",
1580
+ "proration",
1581
+ "quantity",
1582
+ "quantity_decimal"
1583
+ ],
1584
+ "properties": {
1585
+ "amount": {
1586
+ "type": "integer"
1587
+ },
1588
+ "currency": {
1589
+ "type": "string"
1590
+ },
1591
+ "customer": {},
1592
+ "customer_account": {
1593
+ "type": "string",
1594
+ "nullable": true
1595
+ },
1596
+ "date": {
1597
+ "type": "integer"
1598
+ },
1599
+ "description": {
1600
+ "type": "string",
1601
+ "nullable": true
1602
+ },
1603
+ "discountable": {
1604
+ "type": "boolean"
1605
+ },
1606
+ "discounts": {
1607
+ "type": "array",
1608
+ "nullable": true
1609
+ },
1610
+ "frozen_fields": {
1611
+ "type": "array"
1612
+ },
1613
+ "id": {
1614
+ "type": "string"
1615
+ },
1616
+ "invoice": {
1617
+ "nullable": true
1618
+ },
1619
+ "invoicing_rules": {
1620
+ "type": "array"
1621
+ },
1622
+ "livemode": {
1623
+ "type": "boolean"
1624
+ },
1625
+ "metadata": {
1626
+ "type": "object",
1627
+ "nullable": true
1628
+ },
1629
+ "net_amount": {
1630
+ "type": "integer"
1631
+ },
1632
+ "object": {
1633
+ "enum": [
1634
+ "invoiceitem"
1635
+ ],
1636
+ "type": "string"
1637
+ },
1638
+ "parent": {
1639
+ "nullable": true
1640
+ },
1641
+ "period": {},
1642
+ "pricing": {
1643
+ "nullable": true
1644
+ },
1645
+ "proration": {
1646
+ "type": "boolean"
1647
+ },
1648
+ "proration_details": {},
1649
+ "quantity": {
1650
+ "type": "integer"
1651
+ },
1652
+ "quantity_decimal": {
1653
+ "type": "string"
1654
+ },
1655
+ "tax_rates": {
1656
+ "type": "array",
1657
+ "nullable": true
1658
+ },
1659
+ "test_clock": {
1660
+ "nullable": true
1661
+ }
1662
+ }
1663
+ },
1664
+ "dispute": {
1665
+ "type": "object",
1666
+ "required": [
1667
+ "amount",
1668
+ "balance_transactions",
1669
+ "charge",
1670
+ "created",
1671
+ "currency",
1672
+ "enhanced_eligibility_types",
1673
+ "evidence",
1674
+ "evidence_details",
1675
+ "id",
1676
+ "is_charge_refundable",
1677
+ "livemode",
1678
+ "metadata",
1679
+ "object",
1680
+ "reason",
1681
+ "status"
1682
+ ],
1683
+ "properties": {
1684
+ "amount": {
1685
+ "type": "integer"
1686
+ },
1687
+ "balance_transactions": {
1688
+ "type": "array"
1689
+ },
1690
+ "charge": {},
1691
+ "created": {
1692
+ "type": "integer"
1693
+ },
1694
+ "currency": {
1695
+ "type": "string"
1696
+ },
1697
+ "enhanced_eligibility_types": {
1698
+ "type": "array"
1699
+ },
1700
+ "evidence": {},
1701
+ "evidence_details": {},
1702
+ "id": {
1703
+ "type": "string"
1704
+ },
1705
+ "is_charge_refundable": {
1706
+ "type": "boolean"
1707
+ },
1708
+ "livemode": {
1709
+ "type": "boolean"
1710
+ },
1711
+ "metadata": {
1712
+ "type": "object"
1713
+ },
1714
+ "object": {
1715
+ "enum": [
1716
+ "dispute"
1717
+ ],
1718
+ "type": "string"
1719
+ },
1720
+ "payment_intent": {},
1721
+ "payment_method_details": {},
1722
+ "reason": {
1723
+ "type": "string"
1724
+ },
1725
+ "status": {
1726
+ "enum": [
1727
+ "lost",
1728
+ "needs_response",
1729
+ "prevented",
1730
+ "under_review",
1731
+ "warning_closed",
1732
+ "warning_needs_response",
1733
+ "warning_under_review",
1734
+ "won"
1735
+ ],
1736
+ "type": "string"
1737
+ }
1738
+ }
1739
+ },
1740
+ "payout": {
1741
+ "type": "object",
1742
+ "required": [
1743
+ "amount",
1744
+ "arrival_date",
1745
+ "automatic",
1746
+ "created",
1747
+ "currency",
1748
+ "id",
1749
+ "livemode",
1750
+ "method",
1751
+ "object",
1752
+ "reconciliation_status",
1753
+ "source_type",
1754
+ "status",
1755
+ "type"
1756
+ ],
1757
+ "properties": {
1758
+ "amount": {
1759
+ "type": "integer"
1760
+ },
1761
+ "application_fee": {},
1762
+ "application_fee_amount": {
1763
+ "type": "integer",
1764
+ "nullable": true
1765
+ },
1766
+ "arrival_date": {
1767
+ "type": "integer"
1768
+ },
1769
+ "automatic": {
1770
+ "type": "boolean"
1771
+ },
1772
+ "balance_transaction": {},
1773
+ "created": {
1774
+ "type": "integer"
1775
+ },
1776
+ "currency": {
1777
+ "type": "string"
1778
+ },
1779
+ "description": {
1780
+ "type": "string",
1781
+ "nullable": true
1782
+ },
1783
+ "destination": {},
1784
+ "failure_balance_transaction": {},
1785
+ "failure_code": {
1786
+ "type": "string",
1787
+ "nullable": true
1788
+ },
1789
+ "failure_message": {
1790
+ "type": "string",
1791
+ "nullable": true
1792
+ },
1793
+ "id": {
1794
+ "type": "string"
1795
+ },
1796
+ "livemode": {
1797
+ "type": "boolean"
1798
+ },
1799
+ "metadata": {
1800
+ "type": "object",
1801
+ "nullable": true
1802
+ },
1803
+ "method": {
1804
+ "type": "string"
1805
+ },
1806
+ "object": {
1807
+ "enum": [
1808
+ "payout"
1809
+ ],
1810
+ "type": "string"
1811
+ },
1812
+ "original_payout": {},
1813
+ "payout_method": {
1814
+ "type": "string",
1815
+ "nullable": true
1816
+ },
1817
+ "reconciliation_status": {
1818
+ "enum": [
1819
+ "completed",
1820
+ "in_progress",
1821
+ "not_applicable"
1822
+ ],
1823
+ "type": "string"
1824
+ },
1825
+ "reversed_by": {},
1826
+ "source_type": {
1827
+ "type": "string"
1828
+ },
1829
+ "statement_descriptor": {
1830
+ "type": "string",
1831
+ "nullable": true
1832
+ },
1833
+ "status": {
1834
+ "type": "string"
1835
+ },
1836
+ "trace_id": {},
1837
+ "type": {
1838
+ "enum": [
1839
+ "bank_account",
1840
+ "card"
1841
+ ],
1842
+ "type": "string"
1843
+ }
1844
+ }
1845
+ },
1846
+ "balance_transaction": {
1847
+ "type": "object",
1848
+ "required": [
1849
+ "amount",
1850
+ "available_on",
1851
+ "balance_type",
1852
+ "created",
1853
+ "currency",
1854
+ "fee",
1855
+ "fee_details",
1856
+ "id",
1857
+ "net",
1858
+ "object",
1859
+ "reporting_category",
1860
+ "status",
1861
+ "type"
1862
+ ],
1863
+ "properties": {
1864
+ "amount": {
1865
+ "type": "integer"
1866
+ },
1867
+ "available_on": {
1868
+ "type": "integer"
1869
+ },
1870
+ "balance_type": {
1871
+ "enum": [
1872
+ "issuing",
1873
+ "payments",
1874
+ "refund_and_dispute_prefunding",
1875
+ "risk_reserved"
1876
+ ],
1877
+ "type": "string"
1878
+ },
1879
+ "created": {
1880
+ "type": "integer"
1881
+ },
1882
+ "currency": {
1883
+ "type": "string"
1884
+ },
1885
+ "description": {
1886
+ "type": "string",
1887
+ "nullable": true
1888
+ },
1889
+ "exchange_rate": {
1890
+ "type": "number",
1891
+ "nullable": true
1892
+ },
1893
+ "fee": {
1894
+ "type": "integer"
1895
+ },
1896
+ "fee_details": {
1897
+ "type": "array"
1898
+ },
1899
+ "id": {
1900
+ "type": "string"
1901
+ },
1902
+ "net": {
1903
+ "type": "integer"
1904
+ },
1905
+ "object": {
1906
+ "enum": [
1907
+ "balance_transaction"
1908
+ ],
1909
+ "type": "string"
1910
+ },
1911
+ "reporting_category": {
1912
+ "type": "string"
1913
+ },
1914
+ "source": {},
1915
+ "status": {
1916
+ "type": "string"
1917
+ },
1918
+ "type": {
1919
+ "enum": [
1920
+ "adjustment",
1921
+ "advance",
1922
+ "advance_funding",
1923
+ "anticipation_repayment",
1924
+ "application_fee",
1925
+ "application_fee_refund",
1926
+ "charge",
1927
+ "climate_order_purchase",
1928
+ "climate_order_refund",
1929
+ "connect_collection_transfer",
1930
+ "contribution",
1931
+ "fee_credit_funding",
1932
+ "inbound_transfer",
1933
+ "inbound_transfer_reversal",
1934
+ "issuing_authorization_hold",
1935
+ "issuing_authorization_release",
1936
+ "issuing_dispute",
1937
+ "issuing_transaction",
1938
+ "obligation_outbound",
1939
+ "obligation_reversal_inbound",
1940
+ "payment",
1941
+ "payment_failure_refund",
1942
+ "payment_network_reserve_hold",
1943
+ "payment_network_reserve_release",
1944
+ "payment_refund",
1945
+ "payment_reversal",
1946
+ "payment_unreconciled",
1947
+ "payout",
1948
+ "payout_cancel",
1949
+ "payout_failure",
1950
+ "payout_minimum_balance_hold",
1951
+ "payout_minimum_balance_release",
1952
+ "refund",
1953
+ "refund_failure",
1954
+ "reserve_hold",
1955
+ "reserve_release",
1956
+ "reserve_transaction",
1957
+ "reserved_funds",
1958
+ "stripe_balance_payment_debit",
1959
+ "stripe_balance_payment_debit_reversal",
1960
+ "stripe_fee",
1961
+ "stripe_fx_fee",
1962
+ "tax_fee",
1963
+ "topup",
1964
+ "topup_reversal",
1965
+ "transfer",
1966
+ "transfer_cancel",
1967
+ "transfer_failure",
1968
+ "transfer_refund"
1969
+ ],
1970
+ "type": "string"
1971
+ }
1972
+ }
1973
+ },
1974
+ "balance": {
1975
+ "type": "object",
1976
+ "required": [
1977
+ "available",
1978
+ "livemode",
1979
+ "object",
1980
+ "pending"
1981
+ ],
1982
+ "properties": {
1983
+ "available": {
1984
+ "type": "array"
1985
+ },
1986
+ "connect_reserved": {
1987
+ "type": "array"
1988
+ },
1989
+ "instant_available": {
1990
+ "type": "array"
1991
+ },
1992
+ "issuing": {},
1993
+ "livemode": {
1994
+ "type": "boolean"
1995
+ },
1996
+ "object": {
1997
+ "enum": [
1998
+ "balance"
1999
+ ],
2000
+ "type": "string"
2001
+ },
2002
+ "pending": {
2003
+ "type": "array"
2004
+ },
2005
+ "refund_and_dispute_prefunding": {}
2006
+ }
2007
+ },
2008
+ "event": {
2009
+ "type": "object",
2010
+ "required": [
2011
+ "created",
2012
+ "data",
2013
+ "id",
2014
+ "livemode",
2015
+ "object",
2016
+ "pending_webhooks",
2017
+ "type"
2018
+ ],
2019
+ "properties": {
2020
+ "account": {
2021
+ "type": "string"
2022
+ },
2023
+ "api_version": {
2024
+ "type": "string",
2025
+ "nullable": true
2026
+ },
2027
+ "context": {
2028
+ "type": "string"
2029
+ },
2030
+ "created": {
2031
+ "type": "integer"
2032
+ },
2033
+ "data": {},
2034
+ "id": {
2035
+ "type": "string"
2036
+ },
2037
+ "livemode": {
2038
+ "type": "boolean"
2039
+ },
2040
+ "object": {
2041
+ "enum": [
2042
+ "event"
2043
+ ],
2044
+ "type": "string"
2045
+ },
2046
+ "pending_webhooks": {
2047
+ "type": "integer"
2048
+ },
2049
+ "request": {},
2050
+ "type": {
2051
+ "type": "string"
2052
+ }
2053
+ }
2054
+ },
2055
+ "checkout.session": {
2056
+ "type": "object",
2057
+ "required": [
2058
+ "automatic_tax",
2059
+ "created",
2060
+ "custom_fields",
2061
+ "custom_text",
2062
+ "expires_at",
2063
+ "id",
2064
+ "livemode",
2065
+ "mode",
2066
+ "object",
2067
+ "payment_method_types",
2068
+ "payment_status",
2069
+ "shipping_options"
2070
+ ],
2071
+ "properties": {
2072
+ "adaptive_pricing": {
2073
+ "nullable": true
2074
+ },
2075
+ "after_expiration": {
2076
+ "nullable": true
2077
+ },
2078
+ "allow_promotion_codes": {
2079
+ "type": "boolean",
2080
+ "nullable": true
2081
+ },
2082
+ "allowed_payment_method_types": {
2083
+ "type": "array",
2084
+ "nullable": true
2085
+ },
2086
+ "amount_subtotal": {
2087
+ "type": "integer",
2088
+ "nullable": true
2089
+ },
2090
+ "amount_total": {
2091
+ "type": "integer",
2092
+ "nullable": true
2093
+ },
2094
+ "automatic_tax": {},
2095
+ "billing_address_collection": {
2096
+ "type": "string",
2097
+ "enum": [
2098
+ "auto",
2099
+ "required"
2100
+ ],
2101
+ "nullable": true
2102
+ },
2103
+ "branding_settings": {},
2104
+ "cancel_url": {
2105
+ "type": "string",
2106
+ "nullable": true
2107
+ },
2108
+ "client_reference_id": {
2109
+ "type": "string",
2110
+ "nullable": true
2111
+ },
2112
+ "client_secret": {
2113
+ "type": "string",
2114
+ "nullable": true
2115
+ },
2116
+ "collected_information": {
2117
+ "nullable": true
2118
+ },
2119
+ "consent": {
2120
+ "nullable": true
2121
+ },
2122
+ "consent_collection": {
2123
+ "nullable": true
2124
+ },
2125
+ "created": {
2126
+ "type": "integer"
2127
+ },
2128
+ "currency": {
2129
+ "type": "string",
2130
+ "nullable": true
2131
+ },
2132
+ "currency_conversion": {
2133
+ "nullable": true
2134
+ },
2135
+ "custom_fields": {
2136
+ "type": "array"
2137
+ },
2138
+ "custom_text": {},
2139
+ "customer": {
2140
+ "nullable": true
2141
+ },
2142
+ "customer_account": {
2143
+ "type": "string",
2144
+ "nullable": true
2145
+ },
2146
+ "customer_creation": {
2147
+ "type": "string",
2148
+ "enum": [
2149
+ "always",
2150
+ "if_required"
2151
+ ],
2152
+ "nullable": true
2153
+ },
2154
+ "customer_details": {
2155
+ "nullable": true
2156
+ },
2157
+ "customer_email": {
2158
+ "type": "string",
2159
+ "nullable": true
2160
+ },
2161
+ "discounts": {
2162
+ "type": "array",
2163
+ "nullable": true
2164
+ },
2165
+ "excluded_payment_method_types": {
2166
+ "type": "array"
2167
+ },
2168
+ "expires_at": {
2169
+ "type": "integer"
2170
+ },
2171
+ "id": {
2172
+ "type": "string"
2173
+ },
2174
+ "integration_identifier": {
2175
+ "type": "string",
2176
+ "nullable": true
2177
+ },
2178
+ "invoice": {
2179
+ "nullable": true
2180
+ },
2181
+ "invoice_creation": {
2182
+ "nullable": true
2183
+ },
2184
+ "line_items": {
2185
+ "type": "object"
2186
+ },
2187
+ "livemode": {
2188
+ "type": "boolean"
2189
+ },
2190
+ "locale": {
2191
+ "type": "string",
2192
+ "enum": [
2193
+ "auto",
2194
+ "bg",
2195
+ "cs",
2196
+ "da",
2197
+ "de",
2198
+ "el",
2199
+ "en",
2200
+ "en-GB",
2201
+ "es",
2202
+ "es-419",
2203
+ "et",
2204
+ "fi",
2205
+ "fil",
2206
+ "fr",
2207
+ "fr-CA",
2208
+ "hr",
2209
+ "hu",
2210
+ "id",
2211
+ "it",
2212
+ "ja",
2213
+ "ko",
2214
+ "lt",
2215
+ "lv",
2216
+ "ms",
2217
+ "mt",
2218
+ "nb",
2219
+ "nl",
2220
+ "pl",
2221
+ "pt",
2222
+ "pt-BR",
2223
+ "ro",
2224
+ "ru",
2225
+ "sk",
2226
+ "sl",
2227
+ "sv",
2228
+ "th",
2229
+ "tr",
2230
+ "vi",
2231
+ "zh",
2232
+ "zh-HK",
2233
+ "zh-TW"
2234
+ ],
2235
+ "nullable": true
2236
+ },
2237
+ "managed_payments": {
2238
+ "nullable": true
2239
+ },
2240
+ "metadata": {
2241
+ "type": "object",
2242
+ "nullable": true
2243
+ },
2244
+ "mode": {
2245
+ "type": "string",
2246
+ "enum": [
2247
+ "payment",
2248
+ "setup",
2249
+ "subscription"
2250
+ ]
2251
+ },
2252
+ "name_collection": {},
2253
+ "object": {
2254
+ "type": "string",
2255
+ "enum": [
2256
+ "checkout.session"
2257
+ ]
2258
+ },
2259
+ "optional_items": {
2260
+ "type": "array",
2261
+ "nullable": true
2262
+ },
2263
+ "origin_context": {
2264
+ "type": "string",
2265
+ "enum": [
2266
+ "mobile_app",
2267
+ "web"
2268
+ ],
2269
+ "nullable": true
2270
+ },
2271
+ "payment_intent": {
2272
+ "nullable": true
2273
+ },
2274
+ "payment_link": {
2275
+ "nullable": true
2276
+ },
2277
+ "payment_method_collection": {
2278
+ "type": "string",
2279
+ "enum": [
2280
+ "always",
2281
+ "if_required"
2282
+ ],
2283
+ "nullable": true
2284
+ },
2285
+ "payment_method_configuration_details": {
2286
+ "nullable": true
2287
+ },
2288
+ "payment_method_options": {
2289
+ "nullable": true
2290
+ },
2291
+ "payment_method_types": {
2292
+ "type": "array"
2293
+ },
2294
+ "payment_status": {
2295
+ "type": "string",
2296
+ "enum": [
2297
+ "no_payment_required",
2298
+ "paid",
2299
+ "unpaid"
2300
+ ]
2301
+ },
2302
+ "permissions": {
2303
+ "nullable": true
2304
+ },
2305
+ "phone_number_collection": {},
2306
+ "presentment_details": {},
2307
+ "recovered_from": {
2308
+ "type": "string",
2309
+ "nullable": true
2310
+ },
2311
+ "redirect_on_completion": {
2312
+ "type": "string",
2313
+ "enum": [
2314
+ "always",
2315
+ "if_required",
2316
+ "never"
2317
+ ]
2318
+ },
2319
+ "return_url": {
2320
+ "type": "string"
2321
+ },
2322
+ "saved_payment_method_options": {
2323
+ "nullable": true
2324
+ },
2325
+ "setup_intent": {
2326
+ "nullable": true
2327
+ },
2328
+ "shipping_address_collection": {
2329
+ "nullable": true
2330
+ },
2331
+ "shipping_cost": {
2332
+ "nullable": true
2333
+ },
2334
+ "shipping_options": {
2335
+ "type": "array"
2336
+ },
2337
+ "status": {
2338
+ "type": "string",
2339
+ "enum": [
2340
+ "complete",
2341
+ "expired",
2342
+ "open"
2343
+ ],
2344
+ "nullable": true
2345
+ },
2346
+ "submit_type": {
2347
+ "type": "string",
2348
+ "enum": [
2349
+ "auto",
2350
+ "book",
2351
+ "donate",
2352
+ "pay",
2353
+ "subscribe"
2354
+ ],
2355
+ "nullable": true
2356
+ },
2357
+ "subscription": {
2358
+ "nullable": true
2359
+ },
2360
+ "success_url": {
2361
+ "type": "string",
2362
+ "nullable": true
2363
+ },
2364
+ "tax_id_collection": {},
2365
+ "total_details": {
2366
+ "nullable": true
2367
+ },
2368
+ "ui_mode": {
2369
+ "type": "string",
2370
+ "enum": [
2371
+ "elements",
2372
+ "embedded_page",
2373
+ "hosted_page"
2374
+ ],
2375
+ "nullable": true
2376
+ },
2377
+ "url": {
2378
+ "type": "string",
2379
+ "nullable": true
2380
+ },
2381
+ "wallet_options": {
2382
+ "nullable": true
2383
+ }
2384
+ }
2385
+ },
2386
+ "billing_portal.session": {
2387
+ "type": "object",
2388
+ "required": [
2389
+ "configuration",
2390
+ "created",
2391
+ "customer",
2392
+ "id",
2393
+ "livemode",
2394
+ "object",
2395
+ "url"
2396
+ ],
2397
+ "properties": {
2398
+ "configuration": {},
2399
+ "created": {
2400
+ "type": "integer"
2401
+ },
2402
+ "customer": {
2403
+ "type": "string"
2404
+ },
2405
+ "customer_account": {
2406
+ "type": "string",
2407
+ "nullable": true
2408
+ },
2409
+ "flow": {
2410
+ "nullable": true
2411
+ },
2412
+ "id": {
2413
+ "type": "string"
2414
+ },
2415
+ "livemode": {
2416
+ "type": "boolean"
2417
+ },
2418
+ "locale": {
2419
+ "type": "string",
2420
+ "enum": [
2421
+ "auto",
2422
+ "bg",
2423
+ "cs",
2424
+ "da",
2425
+ "de",
2426
+ "el",
2427
+ "en",
2428
+ "en-AU",
2429
+ "en-CA",
2430
+ "en-GB",
2431
+ "en-IE",
2432
+ "en-IN",
2433
+ "en-NZ",
2434
+ "en-SG",
2435
+ "es",
2436
+ "es-419",
2437
+ "et",
2438
+ "fi",
2439
+ "fil",
2440
+ "fr",
2441
+ "fr-CA",
2442
+ "hr",
2443
+ "hu",
2444
+ "id",
2445
+ "it",
2446
+ "ja",
2447
+ "ko",
2448
+ "lt",
2449
+ "lv",
2450
+ "ms",
2451
+ "mt",
2452
+ "nb",
2453
+ "nl",
2454
+ "pl",
2455
+ "pt",
2456
+ "pt-BR",
2457
+ "ro",
2458
+ "ru",
2459
+ "sk",
2460
+ "sl",
2461
+ "sv",
2462
+ "th",
2463
+ "tr",
2464
+ "vi",
2465
+ "zh",
2466
+ "zh-HK",
2467
+ "zh-TW"
2468
+ ],
2469
+ "nullable": true
2470
+ },
2471
+ "object": {
2472
+ "type": "string",
2473
+ "enum": [
2474
+ "billing_portal.session"
2475
+ ]
2476
+ },
2477
+ "on_behalf_of": {
2478
+ "type": "string",
2479
+ "nullable": true
2480
+ },
2481
+ "return_url": {
2482
+ "type": "string",
2483
+ "nullable": true
2484
+ },
2485
+ "url": {
2486
+ "type": "string"
2487
+ }
2488
+ }
2489
+ },
2490
+ "billing_portal.configuration": {
2491
+ "type": "object",
2492
+ "required": [
2493
+ "active",
2494
+ "business_profile",
2495
+ "created",
2496
+ "features",
2497
+ "id",
2498
+ "is_default",
2499
+ "livemode",
2500
+ "login_page",
2501
+ "object",
2502
+ "updated"
2503
+ ],
2504
+ "properties": {
2505
+ "active": {
2506
+ "type": "boolean"
2507
+ },
2508
+ "application": {
2509
+ "nullable": true
2510
+ },
2511
+ "business_profile": {},
2512
+ "created": {
2513
+ "type": "integer"
2514
+ },
2515
+ "default_return_url": {
2516
+ "type": "string",
2517
+ "nullable": true
2518
+ },
2519
+ "features": {},
2520
+ "id": {
2521
+ "type": "string"
2522
+ },
2523
+ "is_default": {
2524
+ "type": "boolean"
2525
+ },
2526
+ "livemode": {
2527
+ "type": "boolean"
2528
+ },
2529
+ "login_page": {},
2530
+ "metadata": {
2531
+ "type": "object",
2532
+ "nullable": true
2533
+ },
2534
+ "name": {
2535
+ "type": "string",
2536
+ "nullable": true
2537
+ },
2538
+ "object": {
2539
+ "type": "string",
2540
+ "enum": [
2541
+ "billing_portal.configuration"
2542
+ ]
2543
+ },
2544
+ "updated": {
2545
+ "type": "integer"
2546
+ }
2547
+ }
2548
+ },
2549
+ "account": {
2550
+ "type": "object",
2551
+ "required": [
2552
+ "id",
2553
+ "object"
2554
+ ],
2555
+ "properties": {
2556
+ "id": {
2557
+ "type": "string"
2558
+ },
2559
+ "object": {
2560
+ "enum": [
2561
+ "account"
2562
+ ],
2563
+ "type": "string"
2564
+ },
2565
+ "business_profile": {},
2566
+ "business_type": {
2567
+ "type": "string",
2568
+ "nullable": true
2569
+ },
2570
+ "capabilities": {
2571
+ "type": "object"
2572
+ },
2573
+ "charges_enabled": {
2574
+ "type": "boolean"
2575
+ },
2576
+ "controller": {},
2577
+ "country": {
2578
+ "type": "string"
2579
+ },
2580
+ "created": {
2581
+ "type": "integer"
2582
+ },
2583
+ "default_currency": {
2584
+ "type": "string"
2585
+ },
2586
+ "details_submitted": {
2587
+ "type": "boolean"
2588
+ },
2589
+ "email": {
2590
+ "type": "string",
2591
+ "nullable": true
2592
+ },
2593
+ "external_accounts": {},
2594
+ "future_requirements": {},
2595
+ "metadata": {
2596
+ "type": "object",
2597
+ "nullable": true
2598
+ },
2599
+ "payouts_enabled": {
2600
+ "type": "boolean"
2601
+ },
2602
+ "requirements": {},
2603
+ "settings": {},
2604
+ "tos_acceptance": {},
2605
+ "type": {
2606
+ "enum": [
2607
+ "custom",
2608
+ "express",
2609
+ "none",
2610
+ "standard"
2611
+ ],
2612
+ "type": "string"
2613
+ },
2614
+ "livemode": {
2615
+ "type": "boolean"
2616
+ },
2617
+ "company": {},
2618
+ "groups": {
2619
+ "nullable": true
2620
+ },
2621
+ "individual": {}
2622
+ }
2623
+ },
2624
+ "transfer": {
2625
+ "type": "object",
2626
+ "required": [
2627
+ "amount",
2628
+ "amount_reversed",
2629
+ "created",
2630
+ "currency",
2631
+ "id",
2632
+ "livemode",
2633
+ "metadata",
2634
+ "object",
2635
+ "reversals",
2636
+ "reversed"
2637
+ ],
2638
+ "properties": {
2639
+ "id": {
2640
+ "type": "string"
2641
+ },
2642
+ "object": {
2643
+ "enum": [
2644
+ "transfer"
2645
+ ],
2646
+ "type": "string"
2647
+ },
2648
+ "amount": {
2649
+ "type": "integer"
2650
+ },
2651
+ "amount_reversed": {
2652
+ "type": "integer"
2653
+ },
2654
+ "balance_transaction": {},
2655
+ "created": {
2656
+ "type": "integer"
2657
+ },
2658
+ "currency": {
2659
+ "type": "string"
2660
+ },
2661
+ "description": {
2662
+ "type": "string",
2663
+ "nullable": true
2664
+ },
2665
+ "destination": {},
2666
+ "destination_payment": {},
2667
+ "livemode": {
2668
+ "type": "boolean"
2669
+ },
2670
+ "metadata": {
2671
+ "type": "object"
2672
+ },
2673
+ "reversals": {},
2674
+ "reversed": {
2675
+ "type": "boolean"
2676
+ },
2677
+ "source_transaction": {},
2678
+ "source_type": {
2679
+ "type": "string"
2680
+ },
2681
+ "transfer_group": {
2682
+ "type": "string",
2683
+ "nullable": true
2684
+ }
2685
+ }
2686
+ },
2687
+ "tax_rate": {
2688
+ "type": "object",
2689
+ "required": [
2690
+ "active",
2691
+ "created",
2692
+ "display_name",
2693
+ "id",
2694
+ "inclusive",
2695
+ "livemode",
2696
+ "object",
2697
+ "percentage"
2698
+ ],
2699
+ "properties": {
2700
+ "id": {
2701
+ "type": "string"
2702
+ },
2703
+ "object": {
2704
+ "enum": [
2705
+ "tax_rate"
2706
+ ],
2707
+ "type": "string"
2708
+ },
2709
+ "active": {
2710
+ "type": "boolean"
2711
+ },
2712
+ "country": {
2713
+ "type": "string",
2714
+ "nullable": true
2715
+ },
2716
+ "created": {
2717
+ "type": "integer"
2718
+ },
2719
+ "description": {
2720
+ "type": "string",
2721
+ "nullable": true
2722
+ },
2723
+ "display_name": {
2724
+ "type": "string"
2725
+ },
2726
+ "inclusive": {
2727
+ "type": "boolean"
2728
+ },
2729
+ "jurisdiction": {
2730
+ "type": "string",
2731
+ "nullable": true
2732
+ },
2733
+ "jurisdiction_level": {
2734
+ "type": "string",
2735
+ "nullable": true
2736
+ },
2737
+ "livemode": {
2738
+ "type": "boolean"
2739
+ },
2740
+ "metadata": {
2741
+ "type": "object",
2742
+ "nullable": true
2743
+ },
2744
+ "percentage": {
2745
+ "type": "number"
2746
+ },
2747
+ "state": {
2748
+ "type": "string",
2749
+ "nullable": true
2750
+ },
2751
+ "tax_type": {
2752
+ "type": "string",
2753
+ "nullable": true
2754
+ },
2755
+ "effective_percentage": {
2756
+ "type": "number",
2757
+ "nullable": true
2758
+ },
2759
+ "flat_amount": {
2760
+ "nullable": true
2761
+ },
2762
+ "rate_type": {
2763
+ "enum": [
2764
+ "flat_amount",
2765
+ "percentage"
2766
+ ],
2767
+ "type": "string",
2768
+ "nullable": true
2769
+ }
2770
+ }
2771
+ },
2772
+ "tax.calculation": {
2773
+ "type": "object",
2774
+ "required": [
2775
+ "amount_total",
2776
+ "currency",
2777
+ "customer_details",
2778
+ "livemode",
2779
+ "object",
2780
+ "tax_amount_exclusive",
2781
+ "tax_amount_inclusive",
2782
+ "tax_breakdown",
2783
+ "tax_date"
2784
+ ],
2785
+ "properties": {
2786
+ "id": {
2787
+ "type": "string",
2788
+ "nullable": true
2789
+ },
2790
+ "object": {
2791
+ "enum": [
2792
+ "tax.calculation"
2793
+ ],
2794
+ "type": "string"
2795
+ },
2796
+ "amount_total": {
2797
+ "type": "integer"
2798
+ },
2799
+ "currency": {
2800
+ "type": "string"
2801
+ },
2802
+ "customer": {
2803
+ "type": "string",
2804
+ "nullable": true
2805
+ },
2806
+ "customer_details": {
2807
+ "type": "object"
2808
+ },
2809
+ "expires_at": {
2810
+ "type": "integer",
2811
+ "nullable": true
2812
+ },
2813
+ "line_items": {
2814
+ "nullable": true
2815
+ },
2816
+ "livemode": {
2817
+ "type": "boolean"
2818
+ },
2819
+ "shipping_cost": {
2820
+ "nullable": true
2821
+ },
2822
+ "tax_amount_exclusive": {
2823
+ "type": "integer"
2824
+ },
2825
+ "tax_amount_inclusive": {
2826
+ "type": "integer"
2827
+ },
2828
+ "tax_breakdown": {
2829
+ "type": "array"
2830
+ },
2831
+ "tax_date": {
2832
+ "type": "integer"
2833
+ },
2834
+ "ship_from_details": {
2835
+ "nullable": true
2836
+ }
2837
+ }
2838
+ },
2839
+ "tax.calculation_line_item": {
2840
+ "type": "object",
2841
+ "required": [
2842
+ "amount",
2843
+ "amount_tax",
2844
+ "id",
2845
+ "livemode",
2846
+ "object",
2847
+ "quantity",
2848
+ "reference",
2849
+ "tax_behavior",
2850
+ "tax_code"
2851
+ ],
2852
+ "properties": {
2853
+ "id": {
2854
+ "type": "string"
2855
+ },
2856
+ "object": {
2857
+ "enum": [
2858
+ "tax.calculation_line_item"
2859
+ ],
2860
+ "type": "string"
2861
+ },
2862
+ "amount": {
2863
+ "type": "integer"
2864
+ },
2865
+ "amount_tax": {
2866
+ "type": "integer"
2867
+ },
2868
+ "livemode": {
2869
+ "type": "boolean"
2870
+ },
2871
+ "product": {
2872
+ "type": "string",
2873
+ "nullable": true
2874
+ },
2875
+ "quantity": {
2876
+ "type": "integer"
2877
+ },
2878
+ "reference": {
2879
+ "type": "string",
2880
+ "nullable": true
2881
+ },
2882
+ "tax_behavior": {
2883
+ "enum": [
2884
+ "exclusive",
2885
+ "inclusive"
2886
+ ],
2887
+ "type": "string"
2888
+ },
2889
+ "tax_breakdown": {
2890
+ "type": "array"
2891
+ },
2892
+ "tax_code": {
2893
+ "type": "string"
2894
+ },
2895
+ "metadata": {
2896
+ "type": "object",
2897
+ "nullable": true
2898
+ },
2899
+ "performance_location": {
2900
+ "type": "string",
2901
+ "nullable": true
2902
+ }
2903
+ }
2904
+ },
2905
+ "tax.registration": {
2906
+ "type": "object",
2907
+ "required": [
2908
+ "active_from",
2909
+ "country",
2910
+ "country_options",
2911
+ "created",
2912
+ "id",
2913
+ "livemode",
2914
+ "object",
2915
+ "status"
2916
+ ],
2917
+ "properties": {
2918
+ "id": {
2919
+ "type": "string"
2920
+ },
2921
+ "object": {
2922
+ "enum": [
2923
+ "tax.registration"
2924
+ ],
2925
+ "type": "string"
2926
+ },
2927
+ "active_from": {
2928
+ "type": "integer"
2929
+ },
2930
+ "country": {
2931
+ "type": "string"
2932
+ },
2933
+ "country_options": {
2934
+ "type": "object"
2935
+ },
2936
+ "created": {
2937
+ "type": "integer"
2938
+ },
2939
+ "expires_at": {
2940
+ "type": "integer",
2941
+ "nullable": true
2942
+ },
2943
+ "livemode": {
2944
+ "type": "boolean"
2945
+ },
2946
+ "status": {
2947
+ "enum": [
2948
+ "active",
2949
+ "expired",
2950
+ "scheduled"
2951
+ ],
2952
+ "type": "string"
2953
+ }
2954
+ }
2955
+ },
2956
+ "credit_note": {
2957
+ "type": "object",
2958
+ "required": [
2959
+ "amount",
2960
+ "amount_shipping",
2961
+ "created",
2962
+ "currency",
2963
+ "customer",
2964
+ "discount_amount",
2965
+ "discount_amounts",
2966
+ "id",
2967
+ "invoice",
2968
+ "lines",
2969
+ "livemode",
2970
+ "number",
2971
+ "object",
2972
+ "pdf",
2973
+ "post_payment_amount",
2974
+ "pre_payment_amount",
2975
+ "pretax_credit_amounts",
2976
+ "refunds",
2977
+ "status",
2978
+ "subtotal",
2979
+ "total",
2980
+ "type"
2981
+ ],
2982
+ "properties": {
2983
+ "amount": {
2984
+ "type": "integer"
2985
+ },
2986
+ "amount_shipping": {
2987
+ "type": "integer"
2988
+ },
2989
+ "created": {
2990
+ "type": "integer"
2991
+ },
2992
+ "currency": {
2993
+ "type": "string"
2994
+ },
2995
+ "customer": {},
2996
+ "customer_account": {
2997
+ "type": "string",
2998
+ "nullable": true
2999
+ },
3000
+ "customer_balance_transaction": {
3001
+ "nullable": true
3002
+ },
3003
+ "discount_amount": {
3004
+ "type": "integer"
3005
+ },
3006
+ "discount_amounts": {
3007
+ "type": "array"
3008
+ },
3009
+ "effective_at": {
3010
+ "type": "integer",
3011
+ "nullable": true
3012
+ },
3013
+ "id": {
3014
+ "type": "string"
3015
+ },
3016
+ "invoice": {},
3017
+ "lines": {
3018
+ "type": "object"
3019
+ },
3020
+ "livemode": {
3021
+ "type": "boolean"
3022
+ },
3023
+ "memo": {
3024
+ "type": "string",
3025
+ "nullable": true
3026
+ },
3027
+ "metadata": {
3028
+ "type": "object",
3029
+ "nullable": true
3030
+ },
3031
+ "number": {
3032
+ "type": "string"
3033
+ },
3034
+ "object": {
3035
+ "type": "string",
3036
+ "enum": [
3037
+ "credit_note"
3038
+ ]
3039
+ },
3040
+ "out_of_band_amount": {
3041
+ "type": "integer",
3042
+ "nullable": true
3043
+ },
3044
+ "pdf": {
3045
+ "type": "string"
3046
+ },
3047
+ "post_payment_amount": {
3048
+ "type": "integer"
3049
+ },
3050
+ "pre_payment_amount": {
3051
+ "type": "integer"
3052
+ },
3053
+ "pretax_credit_amounts": {
3054
+ "type": "array"
3055
+ },
3056
+ "reason": {
3057
+ "type": "string",
3058
+ "enum": [
3059
+ "duplicate",
3060
+ "fraudulent",
3061
+ "order_change",
3062
+ "product_unsatisfactory"
3063
+ ],
3064
+ "nullable": true
3065
+ },
3066
+ "refunds": {
3067
+ "type": "array"
3068
+ },
3069
+ "shipping_cost": {
3070
+ "nullable": true
3071
+ },
3072
+ "status": {
3073
+ "type": "string",
3074
+ "enum": [
3075
+ "issued",
3076
+ "void"
3077
+ ]
3078
+ },
3079
+ "subtotal": {
3080
+ "type": "integer"
3081
+ },
3082
+ "subtotal_excluding_tax": {
3083
+ "type": "integer",
3084
+ "nullable": true
3085
+ },
3086
+ "total": {
3087
+ "type": "integer"
3088
+ },
3089
+ "total_excluding_tax": {
3090
+ "type": "integer",
3091
+ "nullable": true
3092
+ },
3093
+ "total_taxes": {
3094
+ "type": "array",
3095
+ "nullable": true
3096
+ },
3097
+ "type": {
3098
+ "type": "string",
3099
+ "enum": [
3100
+ "mixed",
3101
+ "post_payment",
3102
+ "pre_payment"
3103
+ ]
3104
+ },
3105
+ "voided_at": {
3106
+ "type": "integer",
3107
+ "nullable": true
3108
+ }
3109
+ }
3110
+ },
3111
+ "tax_id": {
3112
+ "type": "object",
3113
+ "required": [
3114
+ "created",
3115
+ "id",
3116
+ "livemode",
3117
+ "object",
3118
+ "type",
3119
+ "value"
3120
+ ],
3121
+ "properties": {
3122
+ "country": {
3123
+ "type": "string",
3124
+ "nullable": true
3125
+ },
3126
+ "created": {
3127
+ "type": "integer"
3128
+ },
3129
+ "customer": {
3130
+ "nullable": true
3131
+ },
3132
+ "customer_account": {
3133
+ "type": "string",
3134
+ "nullable": true
3135
+ },
3136
+ "id": {
3137
+ "type": "string"
3138
+ },
3139
+ "livemode": {
3140
+ "type": "boolean"
3141
+ },
3142
+ "object": {
3143
+ "type": "string",
3144
+ "enum": [
3145
+ "tax_id"
3146
+ ]
3147
+ },
3148
+ "owner": {
3149
+ "nullable": true
3150
+ },
3151
+ "type": {
3152
+ "type": "string",
3153
+ "enum": [
3154
+ "ad_nrt",
3155
+ "ae_trn",
3156
+ "al_tin",
3157
+ "am_tin",
3158
+ "ao_tin",
3159
+ "ar_cuit",
3160
+ "au_abn",
3161
+ "au_arn",
3162
+ "aw_tin",
3163
+ "az_tin",
3164
+ "ba_tin",
3165
+ "bb_tin",
3166
+ "bd_bin",
3167
+ "bf_ifu",
3168
+ "bg_uic",
3169
+ "bh_vat",
3170
+ "bj_ifu",
3171
+ "bo_tin",
3172
+ "br_cnpj",
3173
+ "br_cpf",
3174
+ "bs_tin",
3175
+ "by_tin",
3176
+ "ca_bn",
3177
+ "ca_gst_hst",
3178
+ "ca_pst_bc",
3179
+ "ca_pst_mb",
3180
+ "ca_pst_sk",
3181
+ "ca_qst",
3182
+ "cd_nif",
3183
+ "ch_uid",
3184
+ "ch_vat",
3185
+ "cl_tin",
3186
+ "cm_niu",
3187
+ "cn_tin",
3188
+ "co_nit",
3189
+ "cr_tin",
3190
+ "cv_nif",
3191
+ "de_stn",
3192
+ "do_rcn",
3193
+ "ec_ruc",
3194
+ "eg_tin",
3195
+ "es_cif",
3196
+ "et_tin",
3197
+ "eu_oss_vat",
3198
+ "eu_vat",
3199
+ "fo_vat",
3200
+ "gb_vat",
3201
+ "ge_vat",
3202
+ "gi_tin",
3203
+ "gn_nif",
3204
+ "hk_br",
3205
+ "hr_oib",
3206
+ "hu_tin",
3207
+ "id_npwp",
3208
+ "il_vat",
3209
+ "in_gst",
3210
+ "is_vat",
3211
+ "it_cf",
3212
+ "jp_cn",
3213
+ "jp_rn",
3214
+ "jp_trn",
3215
+ "ke_pin",
3216
+ "kg_tin",
3217
+ "kh_tin",
3218
+ "kr_brn",
3219
+ "kz_bin",
3220
+ "la_tin",
3221
+ "li_uid",
3222
+ "li_vat",
3223
+ "lk_vat",
3224
+ "ma_vat",
3225
+ "md_vat",
3226
+ "me_pib",
3227
+ "mk_vat",
3228
+ "mr_nif",
3229
+ "mx_rfc",
3230
+ "my_frp",
3231
+ "my_itn",
3232
+ "my_sst",
3233
+ "ng_tin",
3234
+ "no_vat",
3235
+ "no_voec",
3236
+ "np_pan",
3237
+ "nz_gst",
3238
+ "om_vat",
3239
+ "pe_ruc",
3240
+ "ph_tin",
3241
+ "pl_nip",
3242
+ "py_ruc",
3243
+ "ro_tin",
3244
+ "rs_pib",
3245
+ "ru_inn",
3246
+ "ru_kpp",
3247
+ "sa_vat",
3248
+ "sg_gst",
3249
+ "sg_uen",
3250
+ "si_tin",
3251
+ "sn_ninea",
3252
+ "sr_fin",
3253
+ "sv_nit",
3254
+ "th_vat",
3255
+ "tj_tin",
3256
+ "tr_tin",
3257
+ "tw_vat",
3258
+ "tz_vat",
3259
+ "ua_vat",
3260
+ "ug_tin",
3261
+ "unknown",
3262
+ "us_ein",
3263
+ "uy_ruc",
3264
+ "uz_tin",
3265
+ "uz_vat",
3266
+ "ve_rif",
3267
+ "vn_tin",
3268
+ "za_vat",
3269
+ "zm_tin",
3270
+ "zw_tin"
3271
+ ]
3272
+ },
3273
+ "value": {
3274
+ "type": "string"
3275
+ },
3276
+ "verification": {
3277
+ "nullable": true
3278
+ }
3279
+ }
3280
+ },
3281
+ "customer_balance_transaction": {
3282
+ "type": "object",
3283
+ "required": [
3284
+ "amount",
3285
+ "created",
3286
+ "currency",
3287
+ "customer",
3288
+ "ending_balance",
3289
+ "id",
3290
+ "livemode",
3291
+ "object",
3292
+ "type"
3293
+ ],
3294
+ "properties": {
3295
+ "amount": {
3296
+ "type": "integer"
3297
+ },
3298
+ "checkout_session": {
3299
+ "nullable": true
3300
+ },
3301
+ "created": {
3302
+ "type": "integer"
3303
+ },
3304
+ "credit_note": {
3305
+ "nullable": true
3306
+ },
3307
+ "currency": {
3308
+ "type": "string"
3309
+ },
3310
+ "customer": {},
3311
+ "customer_account": {
3312
+ "type": "string",
3313
+ "nullable": true
3314
+ },
3315
+ "description": {
3316
+ "type": "string",
3317
+ "nullable": true
3318
+ },
3319
+ "ending_balance": {
3320
+ "type": "integer"
3321
+ },
3322
+ "id": {
3323
+ "type": "string"
3324
+ },
3325
+ "invoice": {
3326
+ "nullable": true
3327
+ },
3328
+ "livemode": {
3329
+ "type": "boolean"
3330
+ },
3331
+ "metadata": {
3332
+ "type": "object",
3333
+ "nullable": true
3334
+ },
3335
+ "object": {
3336
+ "type": "string",
3337
+ "enum": [
3338
+ "customer_balance_transaction"
3339
+ ]
3340
+ },
3341
+ "type": {
3342
+ "type": "string",
3343
+ "enum": [
3344
+ "adjustment",
3345
+ "applied_to_invoice",
3346
+ "checkout_session_subscription_payment",
3347
+ "checkout_session_subscription_payment_canceled",
3348
+ "credit_note",
3349
+ "initial",
3350
+ "invoice_overpaid",
3351
+ "invoice_too_large",
3352
+ "invoice_too_small",
3353
+ "migration",
3354
+ "unapplied_from_invoice",
3355
+ "unspent_receiver_credit"
3356
+ ]
3357
+ }
3358
+ }
3359
+ },
3360
+ "credit_note_line_item": {
3361
+ "type": "object",
3362
+ "required": [
3363
+ "amount",
3364
+ "discount_amount",
3365
+ "discount_amounts",
3366
+ "id",
3367
+ "livemode",
3368
+ "object",
3369
+ "pretax_credit_amounts",
3370
+ "tax_rates",
3371
+ "type"
3372
+ ],
3373
+ "properties": {
3374
+ "amount": {
3375
+ "type": "integer"
3376
+ },
3377
+ "description": {
3378
+ "type": "string",
3379
+ "nullable": true
3380
+ },
3381
+ "discount_amount": {
3382
+ "type": "integer"
3383
+ },
3384
+ "discount_amounts": {
3385
+ "type": "array"
3386
+ },
3387
+ "id": {
3388
+ "type": "string"
3389
+ },
3390
+ "invoice_line_item": {
3391
+ "type": "string"
3392
+ },
3393
+ "livemode": {
3394
+ "type": "boolean"
3395
+ },
3396
+ "metadata": {
3397
+ "type": "object",
3398
+ "nullable": true
3399
+ },
3400
+ "object": {
3401
+ "type": "string",
3402
+ "enum": [
3403
+ "credit_note_line_item"
3404
+ ]
3405
+ },
3406
+ "pretax_credit_amounts": {
3407
+ "type": "array"
3408
+ },
3409
+ "quantity": {
3410
+ "type": "integer",
3411
+ "nullable": true
3412
+ },
3413
+ "tax_rates": {
3414
+ "type": "array"
3415
+ },
3416
+ "taxes": {
3417
+ "type": "array",
3418
+ "nullable": true
3419
+ },
3420
+ "type": {
3421
+ "type": "string",
3422
+ "enum": [
3423
+ "custom_line_item",
3424
+ "invoice_line_item"
3425
+ ]
3426
+ },
3427
+ "unit_amount": {
3428
+ "type": "integer",
3429
+ "nullable": true
3430
+ },
3431
+ "unit_amount_decimal": {
3432
+ "type": "string",
3433
+ "nullable": true
3434
+ }
3435
+ }
3436
+ },
3437
+ "issuing.authorization": {
3438
+ "type": "object",
3439
+ "required": [
3440
+ "amount",
3441
+ "approved",
3442
+ "authorization_method",
3443
+ "balance_transactions",
3444
+ "card",
3445
+ "created",
3446
+ "currency",
3447
+ "id",
3448
+ "livemode",
3449
+ "merchant_amount",
3450
+ "merchant_currency",
3451
+ "merchant_data",
3452
+ "metadata",
3453
+ "object",
3454
+ "request_history",
3455
+ "status",
3456
+ "transactions",
3457
+ "verification_data"
3458
+ ],
3459
+ "properties": {
3460
+ "amount": {
3461
+ "type": "integer"
3462
+ },
3463
+ "amount_details": {},
3464
+ "approved": {
3465
+ "type": "boolean"
3466
+ },
3467
+ "authorization_method": {
3468
+ "enum": [
3469
+ "chip",
3470
+ "contactless",
3471
+ "keyed_in",
3472
+ "online",
3473
+ "swipe"
3474
+ ],
3475
+ "type": "string"
3476
+ },
3477
+ "balance_transactions": {
3478
+ "type": "array"
3479
+ },
3480
+ "card": {},
3481
+ "card_presence": {
3482
+ "enum": [
3483
+ "not_present",
3484
+ "present"
3485
+ ],
3486
+ "type": "string",
3487
+ "nullable": true
3488
+ },
3489
+ "cardholder": {},
3490
+ "created": {
3491
+ "type": "integer"
3492
+ },
3493
+ "currency": {
3494
+ "type": "string"
3495
+ },
3496
+ "fleet": {},
3497
+ "fraud_challenges": {
3498
+ "type": "array",
3499
+ "nullable": true
3500
+ },
3501
+ "fuel": {},
3502
+ "id": {
3503
+ "type": "string"
3504
+ },
3505
+ "livemode": {
3506
+ "type": "boolean"
3507
+ },
3508
+ "merchant_amount": {
3509
+ "type": "integer"
3510
+ },
3511
+ "merchant_currency": {
3512
+ "type": "string"
3513
+ },
3514
+ "merchant_data": {},
3515
+ "metadata": {
3516
+ "type": "object"
3517
+ },
3518
+ "network_data": {},
3519
+ "object": {
3520
+ "enum": [
3521
+ "issuing.authorization"
3522
+ ],
3523
+ "type": "string"
3524
+ },
3525
+ "pending_request": {},
3526
+ "request_history": {
3527
+ "type": "array"
3528
+ },
3529
+ "status": {
3530
+ "enum": [
3531
+ "closed",
3532
+ "expired",
3533
+ "pending",
3534
+ "reversed"
3535
+ ],
3536
+ "type": "string"
3537
+ },
3538
+ "token": {},
3539
+ "transactions": {
3540
+ "type": "array"
3541
+ },
3542
+ "treasury": {},
3543
+ "verification_data": {},
3544
+ "verified_by_fraud_challenge": {
3545
+ "type": "boolean",
3546
+ "nullable": true
3547
+ },
3548
+ "wallet": {
3549
+ "type": "string",
3550
+ "nullable": true
3551
+ }
3552
+ }
3553
+ },
3554
+ "issuing.card": {
3555
+ "type": "object",
3556
+ "required": [
3557
+ "brand",
3558
+ "cardholder",
3559
+ "created",
3560
+ "currency",
3561
+ "exp_month",
3562
+ "exp_year",
3563
+ "id",
3564
+ "last4",
3565
+ "livemode",
3566
+ "metadata",
3567
+ "object",
3568
+ "spending_controls",
3569
+ "status",
3570
+ "type"
3571
+ ],
3572
+ "properties": {
3573
+ "brand": {
3574
+ "type": "string"
3575
+ },
3576
+ "cancellation_reason": {
3577
+ "enum": [
3578
+ "design_rejected",
3579
+ "fulfillment_error",
3580
+ "lost",
3581
+ "stolen"
3582
+ ],
3583
+ "type": "string",
3584
+ "nullable": true
3585
+ },
3586
+ "cardholder": {},
3587
+ "created": {
3588
+ "type": "integer"
3589
+ },
3590
+ "currency": {
3591
+ "type": "string"
3592
+ },
3593
+ "cvc": {
3594
+ "type": "string"
3595
+ },
3596
+ "exp_month": {
3597
+ "type": "integer"
3598
+ },
3599
+ "exp_year": {
3600
+ "type": "integer"
3601
+ },
3602
+ "financial_account": {
3603
+ "type": "string",
3604
+ "nullable": true
3605
+ },
3606
+ "id": {
3607
+ "type": "string"
3608
+ },
3609
+ "last4": {
3610
+ "type": "string"
3611
+ },
3612
+ "latest_fraud_warning": {},
3613
+ "lifecycle_controls": {},
3614
+ "livemode": {
3615
+ "type": "boolean"
3616
+ },
3617
+ "metadata": {
3618
+ "type": "object"
3619
+ },
3620
+ "number": {
3621
+ "type": "string"
3622
+ },
3623
+ "object": {
3624
+ "enum": [
3625
+ "issuing.card"
3626
+ ],
3627
+ "type": "string"
3628
+ },
3629
+ "personalization_design": {},
3630
+ "replaced_by": {},
3631
+ "replacement_for": {},
3632
+ "replacement_reason": {
3633
+ "enum": [
3634
+ "damaged",
3635
+ "expired",
3636
+ "fulfillment_error",
3637
+ "lost",
3638
+ "stolen"
3639
+ ],
3640
+ "type": "string",
3641
+ "nullable": true
3642
+ },
3643
+ "second_line": {
3644
+ "type": "string",
3645
+ "nullable": true
3646
+ },
3647
+ "shipping": {},
3648
+ "spending_controls": {},
3649
+ "status": {
3650
+ "enum": [
3651
+ "active",
3652
+ "canceled",
3653
+ "inactive"
3654
+ ],
3655
+ "type": "string"
3656
+ },
3657
+ "type": {
3658
+ "enum": [
3659
+ "physical",
3660
+ "virtual"
3661
+ ],
3662
+ "type": "string"
3663
+ },
3664
+ "wallets": {}
3665
+ }
3666
+ },
3667
+ "issuing.cardholder": {
3668
+ "type": "object",
3669
+ "required": [
3670
+ "billing",
3671
+ "created",
3672
+ "id",
3673
+ "livemode",
3674
+ "metadata",
3675
+ "name",
3676
+ "object",
3677
+ "requirements",
3678
+ "status",
3679
+ "type"
3680
+ ],
3681
+ "properties": {
3682
+ "billing": {},
3683
+ "company": {},
3684
+ "created": {
3685
+ "type": "integer"
3686
+ },
3687
+ "email": {
3688
+ "type": "string",
3689
+ "nullable": true
3690
+ },
3691
+ "id": {
3692
+ "type": "string"
3693
+ },
3694
+ "individual": {},
3695
+ "livemode": {
3696
+ "type": "boolean"
3697
+ },
3698
+ "metadata": {
3699
+ "type": "object"
3700
+ },
3701
+ "name": {
3702
+ "type": "string"
3703
+ },
3704
+ "object": {
3705
+ "enum": [
3706
+ "issuing.cardholder"
3707
+ ],
3708
+ "type": "string"
3709
+ },
3710
+ "phone_number": {
3711
+ "type": "string",
3712
+ "nullable": true
3713
+ },
3714
+ "preferred_locales": {
3715
+ "type": "array",
3716
+ "nullable": true
3717
+ },
3718
+ "requirements": {},
3719
+ "spending_controls": {},
3720
+ "status": {
3721
+ "enum": [
3722
+ "active",
3723
+ "blocked",
3724
+ "inactive"
3725
+ ],
3726
+ "type": "string"
3727
+ },
3728
+ "type": {
3729
+ "enum": [
3730
+ "company",
3731
+ "individual"
3732
+ ],
3733
+ "type": "string"
3734
+ }
3735
+ }
3736
+ },
3737
+ "issuing.transaction": {
3738
+ "type": "object",
3739
+ "required": [
3740
+ "amount",
3741
+ "card",
3742
+ "created",
3743
+ "currency",
3744
+ "id",
3745
+ "livemode",
3746
+ "merchant_amount",
3747
+ "merchant_currency",
3748
+ "merchant_data",
3749
+ "metadata",
3750
+ "object",
3751
+ "type"
3752
+ ],
3753
+ "properties": {
3754
+ "amount": {
3755
+ "type": "integer"
3756
+ },
3757
+ "amount_details": {},
3758
+ "authorization": {},
3759
+ "balance_transaction": {},
3760
+ "card": {},
3761
+ "cardholder": {},
3762
+ "created": {
3763
+ "type": "integer"
3764
+ },
3765
+ "currency": {
3766
+ "type": "string"
3767
+ },
3768
+ "dispute": {},
3769
+ "id": {
3770
+ "type": "string"
3771
+ },
3772
+ "livemode": {
3773
+ "type": "boolean"
3774
+ },
3775
+ "merchant_amount": {
3776
+ "type": "integer"
3777
+ },
3778
+ "merchant_currency": {
3779
+ "type": "string"
3780
+ },
3781
+ "merchant_data": {},
3782
+ "metadata": {
3783
+ "type": "object"
3784
+ },
3785
+ "network_data": {},
3786
+ "object": {
3787
+ "enum": [
3788
+ "issuing.transaction"
3789
+ ],
3790
+ "type": "string"
3791
+ },
3792
+ "purchase_details": {},
3793
+ "token": {},
3794
+ "treasury": {},
3795
+ "type": {
3796
+ "enum": [
3797
+ "capture",
3798
+ "refund"
3799
+ ],
3800
+ "type": "string"
3801
+ },
3802
+ "wallet": {
3803
+ "enum": [
3804
+ "apple_pay",
3805
+ "google_pay",
3806
+ "samsung_pay"
3807
+ ],
3808
+ "type": "string",
3809
+ "nullable": true
3810
+ }
3811
+ }
3812
+ }
3813
+ }