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