@apteva/integrations 0.3.39 → 0.3.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apps/firecrawl.json +433 -105
- package/src/apps/gigs-marketplace.json +95 -152
- package/src/apps/omnikit-cms.json +18 -0
- package/src/apps/omnikit-code-ops.json +18 -0
- package/src/apps/omnikit-messaging.json +18 -0
- package/src/apps/omnikit-storage.json +29 -199
- package/src/apps/pushover.json +92 -15
- package/src/apps/sendgrid.json +226 -33
- package/src/apps/socialcast.json +13 -1
- package/src/apps/stripe.json +609 -151
- package/src/apps/pushover-notifications.json +0 -119
- package/src/apps/sendgrid-email.json +0 -275
- package/src/apps/stripe-payments.json +0 -911
|
@@ -1,911 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"slug": "stripe-payments",
|
|
3
|
-
"name": "Stripe",
|
|
4
|
-
"description": "MCP server for Stripe payment processing, customer management and search, subscriptions, and billing",
|
|
5
|
-
"logo": "https://www.google.com/s2/favicons?domain=stripe.com&sz=128",
|
|
6
|
-
"categories": [
|
|
7
|
-
"payments",
|
|
8
|
-
"billing",
|
|
9
|
-
"subscriptions",
|
|
10
|
-
"customers",
|
|
11
|
-
"search",
|
|
12
|
-
"invoices",
|
|
13
|
-
"stripe"
|
|
14
|
-
],
|
|
15
|
-
"base_url": "https://api.stripe.com/v1",
|
|
16
|
-
"auth": {
|
|
17
|
-
"types": [
|
|
18
|
-
"bearer"
|
|
19
|
-
],
|
|
20
|
-
"headers": {
|
|
21
|
-
"Authorization": "Bearer {{token}}"
|
|
22
|
-
},
|
|
23
|
-
"credential_fields": [
|
|
24
|
-
{
|
|
25
|
-
"name": "token",
|
|
26
|
-
"label": "Secret Key",
|
|
27
|
-
"description": "Your Stripe Secret Key (sk_live_ or sk_test_)"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "publishableKey",
|
|
31
|
-
"label": "Publishable Key",
|
|
32
|
-
"description": "Your Stripe Publishable Key (pk_live_ or pk_test_)"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "webhookSecret",
|
|
36
|
-
"label": "Webhook Secret",
|
|
37
|
-
"description": "Your Stripe Webhook Signing Secret"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"tools": [
|
|
42
|
-
{
|
|
43
|
-
"name": "create_customer",
|
|
44
|
-
"description": "Create a new Stripe customer with email and optional metadata",
|
|
45
|
-
"method": "POST",
|
|
46
|
-
"path": "/customers",
|
|
47
|
-
"input_schema": {
|
|
48
|
-
"type": "object",
|
|
49
|
-
"properties": {
|
|
50
|
-
"email": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"description": "Customer's email address"
|
|
53
|
-
},
|
|
54
|
-
"name": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"description": "Customer's full name"
|
|
57
|
-
},
|
|
58
|
-
"description": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"description": "Description of the customer"
|
|
61
|
-
},
|
|
62
|
-
"phone": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"description": "Customer's phone number"
|
|
65
|
-
},
|
|
66
|
-
"address": {
|
|
67
|
-
"type": "object",
|
|
68
|
-
"description": "Customer's billing address",
|
|
69
|
-
"properties": {
|
|
70
|
-
"line1": {
|
|
71
|
-
"type": "string"
|
|
72
|
-
},
|
|
73
|
-
"line2": {
|
|
74
|
-
"type": "string"
|
|
75
|
-
},
|
|
76
|
-
"city": {
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
"state": {
|
|
80
|
-
"type": "string"
|
|
81
|
-
},
|
|
82
|
-
"postal_code": {
|
|
83
|
-
"type": "string"
|
|
84
|
-
},
|
|
85
|
-
"country": {
|
|
86
|
-
"type": "string"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"metadata": {
|
|
91
|
-
"type": "object",
|
|
92
|
-
"description": "Custom key-value metadata for the customer"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"required": [
|
|
96
|
-
"email"
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "get_customer",
|
|
102
|
-
"description": "Retrieve details of an existing Stripe customer by ID",
|
|
103
|
-
"method": "GET",
|
|
104
|
-
"path": "/customers/{customer_id}",
|
|
105
|
-
"input_schema": {
|
|
106
|
-
"type": "object",
|
|
107
|
-
"properties": {
|
|
108
|
-
"customer_id": {
|
|
109
|
-
"type": "string",
|
|
110
|
-
"description": "Stripe customer ID (cus_xxx)"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"required": [
|
|
114
|
-
"customer_id"
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "update_customer",
|
|
120
|
-
"description": "Update an existing Stripe customer's information",
|
|
121
|
-
"method": "POST",
|
|
122
|
-
"path": "/customers/{customer_id}",
|
|
123
|
-
"input_schema": {
|
|
124
|
-
"type": "object",
|
|
125
|
-
"properties": {
|
|
126
|
-
"customer_id": {
|
|
127
|
-
"type": "string",
|
|
128
|
-
"description": "Stripe customer ID (cus_xxx)"
|
|
129
|
-
},
|
|
130
|
-
"email": {
|
|
131
|
-
"type": "string",
|
|
132
|
-
"description": "New email address"
|
|
133
|
-
},
|
|
134
|
-
"name": {
|
|
135
|
-
"type": "string",
|
|
136
|
-
"description": "Customer's full name"
|
|
137
|
-
},
|
|
138
|
-
"description": {
|
|
139
|
-
"type": "string",
|
|
140
|
-
"description": "Description of the customer"
|
|
141
|
-
},
|
|
142
|
-
"phone": {
|
|
143
|
-
"type": "string",
|
|
144
|
-
"description": "Customer's phone number"
|
|
145
|
-
},
|
|
146
|
-
"metadata": {
|
|
147
|
-
"type": "object",
|
|
148
|
-
"description": "Custom key-value metadata for the customer"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"required": [
|
|
152
|
-
"customer_id"
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "delete_customer",
|
|
158
|
-
"description": "Permanently delete a Stripe customer and cancel all active subscriptions",
|
|
159
|
-
"method": "DELETE",
|
|
160
|
-
"path": "/customers/{customer_id}",
|
|
161
|
-
"input_schema": {
|
|
162
|
-
"type": "object",
|
|
163
|
-
"properties": {
|
|
164
|
-
"customer_id": {
|
|
165
|
-
"type": "string",
|
|
166
|
-
"description": "Stripe customer ID (cus_xxx)"
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"required": [
|
|
170
|
-
"customer_id"
|
|
171
|
-
]
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "list_customers",
|
|
176
|
-
"description": "List all customers with optional filters and pagination",
|
|
177
|
-
"method": "GET",
|
|
178
|
-
"path": "/customers",
|
|
179
|
-
"input_schema": {
|
|
180
|
-
"type": "object",
|
|
181
|
-
"properties": {
|
|
182
|
-
"limit": {
|
|
183
|
-
"type": "integer",
|
|
184
|
-
"description": "Number of customers to return (1-100)",
|
|
185
|
-
"default": 10
|
|
186
|
-
},
|
|
187
|
-
"starting_after": {
|
|
188
|
-
"type": "string",
|
|
189
|
-
"description": "Cursor for pagination - customer ID to start after"
|
|
190
|
-
},
|
|
191
|
-
"ending_before": {
|
|
192
|
-
"type": "string",
|
|
193
|
-
"description": "Cursor for pagination - customer ID to end before"
|
|
194
|
-
},
|
|
195
|
-
"email": {
|
|
196
|
-
"type": "string",
|
|
197
|
-
"description": "Filter by exact email address"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"name": "search_customers",
|
|
204
|
-
"description": "Search for Stripe customers using Stripe's search query syntax (e.g., email:\"user@example.com\" or metadata[\"key\"]:\"value\")",
|
|
205
|
-
"method": "GET",
|
|
206
|
-
"path": "/customers/search",
|
|
207
|
-
"input_schema": {
|
|
208
|
-
"type": "object",
|
|
209
|
-
"properties": {
|
|
210
|
-
"query": {
|
|
211
|
-
"type": "string",
|
|
212
|
-
"description": "Search query using Stripe syntax. Examples: email:\"user@example.com\", name:\"John\", metadata[\"key\"]:\"value\""
|
|
213
|
-
},
|
|
214
|
-
"limit": {
|
|
215
|
-
"type": "integer",
|
|
216
|
-
"description": "Number of customers to return (1-100)",
|
|
217
|
-
"default": 10
|
|
218
|
-
},
|
|
219
|
-
"page": {
|
|
220
|
-
"type": "string",
|
|
221
|
-
"description": "Page token for pagination (from next_page in previous response)"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"required": [
|
|
225
|
-
"query"
|
|
226
|
-
]
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"name": "create_payment_intent",
|
|
231
|
-
"description": "Create a new payment intent to collect payment from a customer",
|
|
232
|
-
"method": "POST",
|
|
233
|
-
"path": "/payment_intents",
|
|
234
|
-
"input_schema": {
|
|
235
|
-
"type": "object",
|
|
236
|
-
"properties": {
|
|
237
|
-
"amount": {
|
|
238
|
-
"type": "integer",
|
|
239
|
-
"description": "Amount to charge in cents (e.g., 1000 for $10.00)",
|
|
240
|
-
"minimum": 50
|
|
241
|
-
},
|
|
242
|
-
"currency": {
|
|
243
|
-
"type": "string",
|
|
244
|
-
"description": "Three-letter ISO currency code (e.g., 'usd')",
|
|
245
|
-
"default": "usd"
|
|
246
|
-
},
|
|
247
|
-
"customer": {
|
|
248
|
-
"type": "string",
|
|
249
|
-
"description": "Stripe customer ID (cus_xxx)"
|
|
250
|
-
},
|
|
251
|
-
"description": {
|
|
252
|
-
"type": "string",
|
|
253
|
-
"description": "Description of the payment"
|
|
254
|
-
},
|
|
255
|
-
"metadata": {
|
|
256
|
-
"type": "object",
|
|
257
|
-
"description": "Custom metadata for the payment"
|
|
258
|
-
},
|
|
259
|
-
"automatic_payment_methods": {
|
|
260
|
-
"type": "object",
|
|
261
|
-
"description": "Payment method options",
|
|
262
|
-
"properties": {
|
|
263
|
-
"enabled": {
|
|
264
|
-
"type": "boolean",
|
|
265
|
-
"default": true
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
"setup_future_usage": {
|
|
270
|
-
"type": "string",
|
|
271
|
-
"description": "Save payment method for future use",
|
|
272
|
-
"enum": [
|
|
273
|
-
"off_session",
|
|
274
|
-
"on_session"
|
|
275
|
-
]
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"required": [
|
|
279
|
-
"amount",
|
|
280
|
-
"currency"
|
|
281
|
-
]
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"name": "get_payment_intent",
|
|
286
|
-
"description": "Retrieve details of a payment intent by ID",
|
|
287
|
-
"method": "GET",
|
|
288
|
-
"path": "/payment_intents/{payment_intent_id}",
|
|
289
|
-
"input_schema": {
|
|
290
|
-
"type": "object",
|
|
291
|
-
"properties": {
|
|
292
|
-
"payment_intent_id": {
|
|
293
|
-
"type": "string",
|
|
294
|
-
"description": "Payment intent ID (pi_xxx)"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
"required": [
|
|
298
|
-
"payment_intent_id"
|
|
299
|
-
]
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"name": "list_payment_intents",
|
|
304
|
-
"description": "List payment intents with optional customer filter and pagination",
|
|
305
|
-
"method": "GET",
|
|
306
|
-
"path": "/payment_intents",
|
|
307
|
-
"input_schema": {
|
|
308
|
-
"type": "object",
|
|
309
|
-
"properties": {
|
|
310
|
-
"customer": {
|
|
311
|
-
"type": "string",
|
|
312
|
-
"description": "Filter by Stripe customer ID (cus_xxx)"
|
|
313
|
-
},
|
|
314
|
-
"limit": {
|
|
315
|
-
"type": "integer",
|
|
316
|
-
"description": "Number of results (1-100)",
|
|
317
|
-
"default": 10
|
|
318
|
-
},
|
|
319
|
-
"starting_after": {
|
|
320
|
-
"type": "string",
|
|
321
|
-
"description": "Cursor for pagination - ID to start after"
|
|
322
|
-
},
|
|
323
|
-
"ending_before": {
|
|
324
|
-
"type": "string",
|
|
325
|
-
"description": "Cursor for pagination - ID to end before"
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"name": "create_subscription",
|
|
332
|
-
"description": "Create a subscription for recurring payments. Pass items as an array of objects with 'price' field.",
|
|
333
|
-
"method": "POST",
|
|
334
|
-
"path": "/subscriptions",
|
|
335
|
-
"input_schema": {
|
|
336
|
-
"type": "object",
|
|
337
|
-
"properties": {
|
|
338
|
-
"customer": {
|
|
339
|
-
"type": "string",
|
|
340
|
-
"description": "Stripe customer ID (cus_xxx)"
|
|
341
|
-
},
|
|
342
|
-
"items": {
|
|
343
|
-
"type": "array",
|
|
344
|
-
"description": "Subscription items - array of objects with 'price' (price ID) and optional 'quantity'",
|
|
345
|
-
"items": {
|
|
346
|
-
"type": "object",
|
|
347
|
-
"properties": {
|
|
348
|
-
"price": {
|
|
349
|
-
"type": "string",
|
|
350
|
-
"description": "Stripe price ID (price_xxx)"
|
|
351
|
-
},
|
|
352
|
-
"quantity": {
|
|
353
|
-
"type": "integer",
|
|
354
|
-
"description": "Quantity of the item",
|
|
355
|
-
"default": 1
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
"required": [
|
|
359
|
-
"price"
|
|
360
|
-
]
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"default_payment_method": {
|
|
364
|
-
"type": "string",
|
|
365
|
-
"description": "Payment method ID to use (pm_xxx)"
|
|
366
|
-
},
|
|
367
|
-
"trial_period_days": {
|
|
368
|
-
"type": "integer",
|
|
369
|
-
"description": "Number of trial days before charging",
|
|
370
|
-
"minimum": 0
|
|
371
|
-
},
|
|
372
|
-
"metadata": {
|
|
373
|
-
"type": "object",
|
|
374
|
-
"description": "Custom metadata for the subscription"
|
|
375
|
-
},
|
|
376
|
-
"collection_method": {
|
|
377
|
-
"type": "string",
|
|
378
|
-
"description": "How to collect payment",
|
|
379
|
-
"enum": [
|
|
380
|
-
"charge_automatically",
|
|
381
|
-
"send_invoice"
|
|
382
|
-
],
|
|
383
|
-
"default": "charge_automatically"
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"required": [
|
|
387
|
-
"customer",
|
|
388
|
-
"items"
|
|
389
|
-
]
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"name": "get_subscription",
|
|
394
|
-
"description": "Retrieve details of a subscription by ID",
|
|
395
|
-
"method": "GET",
|
|
396
|
-
"path": "/subscriptions/{subscription_id}",
|
|
397
|
-
"input_schema": {
|
|
398
|
-
"type": "object",
|
|
399
|
-
"properties": {
|
|
400
|
-
"subscription_id": {
|
|
401
|
-
"type": "string",
|
|
402
|
-
"description": "Stripe subscription ID (sub_xxx)"
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
"required": [
|
|
406
|
-
"subscription_id"
|
|
407
|
-
]
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
"name": "cancel_subscription",
|
|
412
|
-
"description": "Cancel a subscription immediately. To cancel at period end instead, use Update Subscription with cancel_at_period_end: true.",
|
|
413
|
-
"method": "DELETE",
|
|
414
|
-
"path": "/subscriptions/{subscription_id}",
|
|
415
|
-
"input_schema": {
|
|
416
|
-
"type": "object",
|
|
417
|
-
"properties": {
|
|
418
|
-
"subscription_id": {
|
|
419
|
-
"type": "string",
|
|
420
|
-
"description": "Stripe subscription ID (sub_xxx)"
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
"required": [
|
|
424
|
-
"subscription_id"
|
|
425
|
-
]
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"name": "update_subscription",
|
|
430
|
-
"description": "Update a subscription. Set cancel_at_period_end to true to schedule cancellation at the end of the billing period.",
|
|
431
|
-
"method": "POST",
|
|
432
|
-
"path": "/subscriptions/{subscription_id}",
|
|
433
|
-
"input_schema": {
|
|
434
|
-
"type": "object",
|
|
435
|
-
"properties": {
|
|
436
|
-
"subscription_id": {
|
|
437
|
-
"type": "string",
|
|
438
|
-
"description": "Stripe subscription ID (sub_xxx)"
|
|
439
|
-
},
|
|
440
|
-
"cancel_at_period_end": {
|
|
441
|
-
"type": "boolean",
|
|
442
|
-
"description": "If true, cancel at end of current billing period"
|
|
443
|
-
},
|
|
444
|
-
"default_payment_method": {
|
|
445
|
-
"type": "string",
|
|
446
|
-
"description": "New default payment method ID (pm_xxx)"
|
|
447
|
-
},
|
|
448
|
-
"metadata": {
|
|
449
|
-
"type": "object",
|
|
450
|
-
"description": "Custom metadata"
|
|
451
|
-
},
|
|
452
|
-
"proration_behavior": {
|
|
453
|
-
"type": "string",
|
|
454
|
-
"description": "How to handle prorations",
|
|
455
|
-
"enum": [
|
|
456
|
-
"create_prorations",
|
|
457
|
-
"none",
|
|
458
|
-
"always_invoice"
|
|
459
|
-
]
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
"required": [
|
|
463
|
-
"subscription_id"
|
|
464
|
-
]
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"name": "list_subscriptions",
|
|
469
|
-
"description": "List subscriptions with optional customer and status filters",
|
|
470
|
-
"method": "GET",
|
|
471
|
-
"path": "/subscriptions",
|
|
472
|
-
"input_schema": {
|
|
473
|
-
"type": "object",
|
|
474
|
-
"properties": {
|
|
475
|
-
"customer": {
|
|
476
|
-
"type": "string",
|
|
477
|
-
"description": "Filter by Stripe customer ID (cus_xxx)"
|
|
478
|
-
},
|
|
479
|
-
"status": {
|
|
480
|
-
"type": "string",
|
|
481
|
-
"description": "Filter by subscription status",
|
|
482
|
-
"enum": [
|
|
483
|
-
"active",
|
|
484
|
-
"past_due",
|
|
485
|
-
"unpaid",
|
|
486
|
-
"canceled",
|
|
487
|
-
"incomplete",
|
|
488
|
-
"incomplete_expired",
|
|
489
|
-
"trialing",
|
|
490
|
-
"all"
|
|
491
|
-
]
|
|
492
|
-
},
|
|
493
|
-
"limit": {
|
|
494
|
-
"type": "integer",
|
|
495
|
-
"description": "Number of results (1-100)",
|
|
496
|
-
"default": 10
|
|
497
|
-
},
|
|
498
|
-
"starting_after": {
|
|
499
|
-
"type": "string",
|
|
500
|
-
"description": "Cursor for pagination"
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"name": "create_product",
|
|
507
|
-
"description": "Create a product for pricing and subscriptions",
|
|
508
|
-
"method": "POST",
|
|
509
|
-
"path": "/products",
|
|
510
|
-
"input_schema": {
|
|
511
|
-
"type": "object",
|
|
512
|
-
"properties": {
|
|
513
|
-
"name": {
|
|
514
|
-
"type": "string",
|
|
515
|
-
"description": "Product name"
|
|
516
|
-
},
|
|
517
|
-
"description": {
|
|
518
|
-
"type": "string",
|
|
519
|
-
"description": "Product description"
|
|
520
|
-
},
|
|
521
|
-
"images": {
|
|
522
|
-
"type": "array",
|
|
523
|
-
"description": "URLs of product images",
|
|
524
|
-
"items": {
|
|
525
|
-
"type": "string"
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
"metadata": {
|
|
529
|
-
"type": "object",
|
|
530
|
-
"description": "Custom metadata for the product"
|
|
531
|
-
},
|
|
532
|
-
"active": {
|
|
533
|
-
"type": "boolean",
|
|
534
|
-
"description": "Whether the product is active",
|
|
535
|
-
"default": true
|
|
536
|
-
},
|
|
537
|
-
"tax_code": {
|
|
538
|
-
"type": "string",
|
|
539
|
-
"description": "Tax code for the product"
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
"required": [
|
|
543
|
-
"name"
|
|
544
|
-
]
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "create_price",
|
|
549
|
-
"description": "Create a price for a product",
|
|
550
|
-
"method": "POST",
|
|
551
|
-
"path": "/prices",
|
|
552
|
-
"input_schema": {
|
|
553
|
-
"type": "object",
|
|
554
|
-
"properties": {
|
|
555
|
-
"product": {
|
|
556
|
-
"type": "string",
|
|
557
|
-
"description": "Stripe product ID (prod_xxx)"
|
|
558
|
-
},
|
|
559
|
-
"unit_amount": {
|
|
560
|
-
"type": "integer",
|
|
561
|
-
"description": "Price in cents (e.g., 999 for $9.99)"
|
|
562
|
-
},
|
|
563
|
-
"currency": {
|
|
564
|
-
"type": "string",
|
|
565
|
-
"description": "Three-letter ISO currency code",
|
|
566
|
-
"default": "usd"
|
|
567
|
-
},
|
|
568
|
-
"recurring": {
|
|
569
|
-
"type": "object",
|
|
570
|
-
"description": "Recurring billing details (omit for one-time prices)",
|
|
571
|
-
"properties": {
|
|
572
|
-
"interval": {
|
|
573
|
-
"type": "string",
|
|
574
|
-
"enum": [
|
|
575
|
-
"day",
|
|
576
|
-
"week",
|
|
577
|
-
"month",
|
|
578
|
-
"year"
|
|
579
|
-
]
|
|
580
|
-
},
|
|
581
|
-
"interval_count": {
|
|
582
|
-
"type": "integer",
|
|
583
|
-
"default": 1
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
"nickname": {
|
|
588
|
-
"type": "string",
|
|
589
|
-
"description": "Display name for the price"
|
|
590
|
-
},
|
|
591
|
-
"metadata": {
|
|
592
|
-
"type": "object",
|
|
593
|
-
"description": "Custom metadata"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
"required": [
|
|
597
|
-
"product",
|
|
598
|
-
"unit_amount",
|
|
599
|
-
"currency"
|
|
600
|
-
]
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"name": "list_payment_methods",
|
|
605
|
-
"description": "List payment methods attached to a customer",
|
|
606
|
-
"method": "GET",
|
|
607
|
-
"path": "/payment_methods",
|
|
608
|
-
"input_schema": {
|
|
609
|
-
"type": "object",
|
|
610
|
-
"properties": {
|
|
611
|
-
"customer": {
|
|
612
|
-
"type": "string",
|
|
613
|
-
"description": "Stripe customer ID (cus_xxx)"
|
|
614
|
-
},
|
|
615
|
-
"type": {
|
|
616
|
-
"type": "string",
|
|
617
|
-
"description": "Filter by payment method type",
|
|
618
|
-
"enum": [
|
|
619
|
-
"card",
|
|
620
|
-
"sepa_debit",
|
|
621
|
-
"us_bank_account",
|
|
622
|
-
"link"
|
|
623
|
-
]
|
|
624
|
-
},
|
|
625
|
-
"limit": {
|
|
626
|
-
"type": "integer",
|
|
627
|
-
"description": "Maximum number of results (1-100)",
|
|
628
|
-
"default": 10
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
"required": [
|
|
632
|
-
"customer"
|
|
633
|
-
]
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"name": "attach_payment_method",
|
|
638
|
-
"description": "Attach a payment method to a customer",
|
|
639
|
-
"method": "POST",
|
|
640
|
-
"path": "/payment_methods/{payment_method_id}/attach",
|
|
641
|
-
"input_schema": {
|
|
642
|
-
"type": "object",
|
|
643
|
-
"properties": {
|
|
644
|
-
"payment_method_id": {
|
|
645
|
-
"type": "string",
|
|
646
|
-
"description": "Payment method ID (pm_xxx)"
|
|
647
|
-
},
|
|
648
|
-
"customer": {
|
|
649
|
-
"type": "string",
|
|
650
|
-
"description": "Stripe customer ID to attach to (cus_xxx)"
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
"required": [
|
|
654
|
-
"payment_method_id",
|
|
655
|
-
"customer"
|
|
656
|
-
]
|
|
657
|
-
}
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
"name": "create_refund",
|
|
661
|
-
"description": "Refund a payment. Provide either payment_intent or charge ID.",
|
|
662
|
-
"method": "POST",
|
|
663
|
-
"path": "/refunds",
|
|
664
|
-
"input_schema": {
|
|
665
|
-
"type": "object",
|
|
666
|
-
"properties": {
|
|
667
|
-
"payment_intent": {
|
|
668
|
-
"type": "string",
|
|
669
|
-
"description": "Payment intent ID to refund (pi_xxx)"
|
|
670
|
-
},
|
|
671
|
-
"charge": {
|
|
672
|
-
"type": "string",
|
|
673
|
-
"description": "Charge ID to refund (ch_xxx)"
|
|
674
|
-
},
|
|
675
|
-
"amount": {
|
|
676
|
-
"type": "integer",
|
|
677
|
-
"description": "Amount to refund in cents (omit for full refund)"
|
|
678
|
-
},
|
|
679
|
-
"reason": {
|
|
680
|
-
"type": "string",
|
|
681
|
-
"description": "Reason for the refund",
|
|
682
|
-
"enum": [
|
|
683
|
-
"duplicate",
|
|
684
|
-
"fraudulent",
|
|
685
|
-
"requested_by_customer"
|
|
686
|
-
]
|
|
687
|
-
},
|
|
688
|
-
"metadata": {
|
|
689
|
-
"type": "object",
|
|
690
|
-
"description": "Custom metadata for the refund"
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"name": "create_invoice",
|
|
697
|
-
"description": "Create a draft invoice for a customer",
|
|
698
|
-
"method": "POST",
|
|
699
|
-
"path": "/invoices",
|
|
700
|
-
"input_schema": {
|
|
701
|
-
"type": "object",
|
|
702
|
-
"properties": {
|
|
703
|
-
"customer": {
|
|
704
|
-
"type": "string",
|
|
705
|
-
"description": "Stripe customer ID (cus_xxx)"
|
|
706
|
-
},
|
|
707
|
-
"description": {
|
|
708
|
-
"type": "string",
|
|
709
|
-
"description": "Invoice description"
|
|
710
|
-
},
|
|
711
|
-
"collection_method": {
|
|
712
|
-
"type": "string",
|
|
713
|
-
"description": "How to collect payment",
|
|
714
|
-
"enum": [
|
|
715
|
-
"charge_automatically",
|
|
716
|
-
"send_invoice"
|
|
717
|
-
],
|
|
718
|
-
"default": "charge_automatically"
|
|
719
|
-
},
|
|
720
|
-
"days_until_due": {
|
|
721
|
-
"type": "integer",
|
|
722
|
-
"description": "Number of days until invoice is due (for send_invoice collection)"
|
|
723
|
-
},
|
|
724
|
-
"metadata": {
|
|
725
|
-
"type": "object",
|
|
726
|
-
"description": "Custom metadata"
|
|
727
|
-
},
|
|
728
|
-
"auto_advance": {
|
|
729
|
-
"type": "boolean",
|
|
730
|
-
"description": "Whether to auto-finalize the invoice",
|
|
731
|
-
"default": true
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
"required": [
|
|
735
|
-
"customer"
|
|
736
|
-
]
|
|
737
|
-
}
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"name": "get_invoice",
|
|
741
|
-
"description": "Retrieve details of an invoice by ID",
|
|
742
|
-
"method": "GET",
|
|
743
|
-
"path": "/invoices/{invoice_id}",
|
|
744
|
-
"input_schema": {
|
|
745
|
-
"type": "object",
|
|
746
|
-
"properties": {
|
|
747
|
-
"invoice_id": {
|
|
748
|
-
"type": "string",
|
|
749
|
-
"description": "Invoice ID (in_xxx)"
|
|
750
|
-
}
|
|
751
|
-
},
|
|
752
|
-
"required": [
|
|
753
|
-
"invoice_id"
|
|
754
|
-
]
|
|
755
|
-
}
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
"name": "list_invoices",
|
|
759
|
-
"description": "List invoices with optional customer and status filters",
|
|
760
|
-
"method": "GET",
|
|
761
|
-
"path": "/invoices",
|
|
762
|
-
"input_schema": {
|
|
763
|
-
"type": "object",
|
|
764
|
-
"properties": {
|
|
765
|
-
"customer": {
|
|
766
|
-
"type": "string",
|
|
767
|
-
"description": "Filter by Stripe customer ID (cus_xxx)"
|
|
768
|
-
},
|
|
769
|
-
"status": {
|
|
770
|
-
"type": "string",
|
|
771
|
-
"description": "Filter by invoice status",
|
|
772
|
-
"enum": [
|
|
773
|
-
"draft",
|
|
774
|
-
"open",
|
|
775
|
-
"paid",
|
|
776
|
-
"uncollectible",
|
|
777
|
-
"void"
|
|
778
|
-
]
|
|
779
|
-
},
|
|
780
|
-
"subscription": {
|
|
781
|
-
"type": "string",
|
|
782
|
-
"description": "Filter by subscription ID (sub_xxx)"
|
|
783
|
-
},
|
|
784
|
-
"limit": {
|
|
785
|
-
"type": "integer",
|
|
786
|
-
"description": "Number of results (1-100)",
|
|
787
|
-
"default": 10
|
|
788
|
-
},
|
|
789
|
-
"starting_after": {
|
|
790
|
-
"type": "string",
|
|
791
|
-
"description": "Cursor for pagination"
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"name": "list_charges",
|
|
798
|
-
"description": "List charges with optional customer filter and pagination",
|
|
799
|
-
"method": "GET",
|
|
800
|
-
"path": "/charges",
|
|
801
|
-
"input_schema": {
|
|
802
|
-
"type": "object",
|
|
803
|
-
"properties": {
|
|
804
|
-
"customer": {
|
|
805
|
-
"type": "string",
|
|
806
|
-
"description": "Filter by Stripe customer ID (cus_xxx)"
|
|
807
|
-
},
|
|
808
|
-
"limit": {
|
|
809
|
-
"type": "integer",
|
|
810
|
-
"description": "Number of results (1-100)",
|
|
811
|
-
"default": 10
|
|
812
|
-
},
|
|
813
|
-
"starting_after": {
|
|
814
|
-
"type": "string",
|
|
815
|
-
"description": "Cursor for pagination - charge ID to start after"
|
|
816
|
-
},
|
|
817
|
-
"ending_before": {
|
|
818
|
-
"type": "string",
|
|
819
|
-
"description": "Cursor for pagination - charge ID to end before"
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"name": "get_balance",
|
|
826
|
-
"description": "Get the current balance of the Stripe account",
|
|
827
|
-
"method": "GET",
|
|
828
|
-
"path": "/balance",
|
|
829
|
-
"input_schema": {
|
|
830
|
-
"type": "object",
|
|
831
|
-
"properties": {}
|
|
832
|
-
}
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"name": "process_webhook",
|
|
836
|
-
"description": "Process and verify incoming Stripe webhook events using signature verification",
|
|
837
|
-
"method": "GET",
|
|
838
|
-
"path": "/process-webhook",
|
|
839
|
-
"input_schema": {
|
|
840
|
-
"type": "object",
|
|
841
|
-
"properties": {
|
|
842
|
-
"payload": {
|
|
843
|
-
"type": "string",
|
|
844
|
-
"description": "Raw webhook payload"
|
|
845
|
-
},
|
|
846
|
-
"signature": {
|
|
847
|
-
"type": "string",
|
|
848
|
-
"description": "Stripe webhook signature header (stripe-signature)"
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
"required": [
|
|
852
|
-
"payload",
|
|
853
|
-
"signature"
|
|
854
|
-
]
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
],
|
|
858
|
-
"webhooks": {
|
|
859
|
-
"signature_header": "stripe-signature",
|
|
860
|
-
"events": [
|
|
861
|
-
{
|
|
862
|
-
"name": "payment_intent.succeeded",
|
|
863
|
-
"description": "Occurs when a PaymentIntent successfully completes a payment"
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
"name": "payment_intent.payment_failed",
|
|
867
|
-
"description": "Occurs when a PaymentIntent fails"
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
"name": "customer.created",
|
|
871
|
-
"description": "Occurs when a new customer is created"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"name": "customer.updated",
|
|
875
|
-
"description": "Occurs when a customer is updated"
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"name": "customer.deleted",
|
|
879
|
-
"description": "Occurs when a customer is deleted"
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
"name": "invoice.paid",
|
|
883
|
-
"description": "Occurs when an invoice is paid"
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
"name": "invoice.payment_failed",
|
|
887
|
-
"description": "Occurs when an invoice payment fails"
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
"name": "customer.subscription.created",
|
|
891
|
-
"description": "Occurs when a new subscription is created"
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"name": "customer.subscription.updated",
|
|
895
|
-
"description": "Occurs when a subscription is updated"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"name": "customer.subscription.deleted",
|
|
899
|
-
"description": "Occurs when a subscription is cancelled"
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"name": "charge.succeeded",
|
|
903
|
-
"description": "Occurs when a charge succeeds"
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"name": "charge.refunded",
|
|
907
|
-
"description": "Occurs when a charge is refunded"
|
|
908
|
-
}
|
|
909
|
-
]
|
|
910
|
-
}
|
|
911
|
-
}
|