@apteva/integrations 0.15.10 → 0.15.11
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/dist/http-executor.d.ts.map +1 -1
- package/dist/http-executor.js +62 -8
- package/dist/http-executor.js.map +1 -1
- package/dist/mcp-generator.js +24 -0
- package/dist/mcp-generator.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/apps/anthropic-admin.json +183 -0
- package/src/apps/aws-ses.json +1 -1
- package/src/apps/braintree.json +53 -0
- package/src/apps/bunny-stream.json +50 -28
- package/src/apps/ccbill.json +142 -0
- package/src/apps/close.json +238 -301
- package/src/apps/craftcloud.json +251 -202
- package/src/apps/dataforseo.json +1700 -2
- package/src/apps/deepgram.json +288 -1
- package/src/apps/elevenlabs.json +9 -0
- package/src/apps/gladia.json +158 -0
- package/src/apps/gmail.json +2 -5
- package/src/apps/gumroad.json +569 -0
- package/src/apps/imaterialise.json +171 -262
- package/src/apps/jlcpcb.json +43 -0
- package/src/apps/jungle-scout.json +166 -0
- package/src/apps/ko-fi.json +34 -0
- package/src/apps/lemon-squeezy.json +270 -0
- package/src/apps/mollie.json +219 -0
- package/src/apps/paddle.json +199 -9
- package/src/apps/payhip.json +162 -0
- package/src/apps/paystack.json +207 -0
- package/src/apps/pipedrive.json +221 -212
- package/src/apps/razorpay.json +207 -0
- package/src/apps/ringover.json +69 -0
- package/src/apps/runpod.json +727 -0
- package/src/apps/salesforce-crm.json +192 -233
- package/src/apps/sculpteo.json +98 -180
- package/src/apps/segpay.json +215 -0
- package/src/apps/shapeways.json +114 -136
- package/src/apps/slant3d.json +260 -168
- package/src/apps/soniox.json +194 -0
- package/src/apps/speechmatics.json +167 -0
- package/src/apps/stripe.json +1 -0
- package/src/apps/surfer.json +511 -0
- package/src/apps/twitter-api.json +14 -1
- package/src/apps/verotel.json +124 -0
- package/src/apps/whop.json +364 -0
- package/src/apps/zendesk-sell.json +248 -0
- package/src/apps/zendesk.json +190 -259
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "mollie",
|
|
3
|
+
"name": "Mollie",
|
|
4
|
+
"description": "Mollie payments API for hosted checkout, payments, payment links, refunds, customers, mandates, subscriptions, and payment methods.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=mollie.com&sz=128",
|
|
6
|
+
"categories": ["payments", "checkout", "billing", "subscriptions", "commerce"],
|
|
7
|
+
"base_url": "https://api.mollie.com/v2",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["bearer"],
|
|
10
|
+
"headers": {
|
|
11
|
+
"Authorization": "Bearer {{token}}",
|
|
12
|
+
"Content-Type": "application/json"
|
|
13
|
+
},
|
|
14
|
+
"credential_fields": [
|
|
15
|
+
{
|
|
16
|
+
"name": "token",
|
|
17
|
+
"label": "API Key",
|
|
18
|
+
"description": "Mollie live or test API key."
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"tools": [
|
|
23
|
+
{
|
|
24
|
+
"name": "list_methods",
|
|
25
|
+
"description": "List available Mollie payment methods, optionally filtered by amount, locale, sequence type, resource, or profile.",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"path": "/methods",
|
|
28
|
+
"input_schema": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"amount": { "type": "object", "description": "Amount object, for example {\"currency\":\"EUR\",\"value\":\"10.00\"}." },
|
|
32
|
+
"locale": { "type": "string" },
|
|
33
|
+
"sequenceType": { "type": "string" },
|
|
34
|
+
"resource": { "type": "string" },
|
|
35
|
+
"profileId": { "type": "string" },
|
|
36
|
+
"testmode": { "type": "boolean" }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "get_method",
|
|
42
|
+
"description": "Retrieve one Mollie payment method.",
|
|
43
|
+
"method": "GET",
|
|
44
|
+
"path": "/methods/{method_id}",
|
|
45
|
+
"input_schema": { "type": "object", "properties": { "method_id": { "type": "string" }, "locale": { "type": "string" }, "profileId": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["method_id"] }
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "create_payment",
|
|
49
|
+
"description": "Create a Mollie payment. Use amount, description, redirectUrl, webhookUrl, method, metadata, customerId, sequenceType, mandateId, or profileId as needed.",
|
|
50
|
+
"method": "POST",
|
|
51
|
+
"path": "/payments",
|
|
52
|
+
"input_schema": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"amount": { "type": "object", "description": "Required amount object, for example {\"currency\":\"EUR\",\"value\":\"10.00\"}." },
|
|
56
|
+
"description": { "type": "string" },
|
|
57
|
+
"redirectUrl": { "type": "string" },
|
|
58
|
+
"webhookUrl": { "type": "string" },
|
|
59
|
+
"method": { "type": ["string", "array"] },
|
|
60
|
+
"metadata": { "type": "object" },
|
|
61
|
+
"customerId": { "type": "string" },
|
|
62
|
+
"sequenceType": { "type": "string" },
|
|
63
|
+
"mandateId": { "type": "string" },
|
|
64
|
+
"profileId": { "type": "string" },
|
|
65
|
+
"testmode": { "type": "boolean" }
|
|
66
|
+
},
|
|
67
|
+
"required": ["amount", "description"]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "list_payments",
|
|
72
|
+
"description": "List Mollie payments.",
|
|
73
|
+
"method": "GET",
|
|
74
|
+
"path": "/payments",
|
|
75
|
+
"input_schema": { "type": "object", "properties": { "from": { "type": "string" }, "limit": { "type": "integer" }, "profileId": { "type": "string" }, "testmode": { "type": "boolean" } } }
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "get_payment",
|
|
79
|
+
"description": "Retrieve one Mollie payment.",
|
|
80
|
+
"method": "GET",
|
|
81
|
+
"path": "/payments/{payment_id}",
|
|
82
|
+
"input_schema": { "type": "object", "properties": { "payment_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["payment_id"] }
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "cancel_payment",
|
|
86
|
+
"description": "Cancel an open Mollie payment.",
|
|
87
|
+
"method": "DELETE",
|
|
88
|
+
"path": "/payments/{payment_id}",
|
|
89
|
+
"input_schema": { "type": "object", "properties": { "payment_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["payment_id"] }
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "create_refund",
|
|
93
|
+
"description": "Create a refund for a Mollie payment. Omit amount for a full refund when supported.",
|
|
94
|
+
"method": "POST",
|
|
95
|
+
"path": "/payments/{payment_id}/refunds",
|
|
96
|
+
"input_schema": { "type": "object", "properties": { "payment_id": { "type": "string" }, "amount": { "type": "object" }, "description": { "type": "string" }, "metadata": { "type": "object" }, "testmode": { "type": "boolean" } }, "required": ["payment_id"] }
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "list_refunds",
|
|
100
|
+
"description": "List refunds for a Mollie payment.",
|
|
101
|
+
"method": "GET",
|
|
102
|
+
"path": "/payments/{payment_id}/refunds",
|
|
103
|
+
"input_schema": { "type": "object", "properties": { "payment_id": { "type": "string" }, "from": { "type": "string" }, "limit": { "type": "integer" }, "testmode": { "type": "boolean" } }, "required": ["payment_id"] }
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "get_refund",
|
|
107
|
+
"description": "Retrieve one refund for a Mollie payment.",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"path": "/payments/{payment_id}/refunds/{refund_id}",
|
|
110
|
+
"input_schema": { "type": "object", "properties": { "payment_id": { "type": "string" }, "refund_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["payment_id", "refund_id"] }
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "create_customer",
|
|
114
|
+
"description": "Create a Mollie customer.",
|
|
115
|
+
"method": "POST",
|
|
116
|
+
"path": "/customers",
|
|
117
|
+
"input_schema": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "locale": { "type": "string" }, "metadata": { "type": "object" }, "testmode": { "type": "boolean" } }, "required": ["name", "email"] }
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "list_customers",
|
|
121
|
+
"description": "List Mollie customers.",
|
|
122
|
+
"method": "GET",
|
|
123
|
+
"path": "/customers",
|
|
124
|
+
"input_schema": { "type": "object", "properties": { "from": { "type": "string" }, "limit": { "type": "integer" }, "testmode": { "type": "boolean" } } }
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "get_customer",
|
|
128
|
+
"description": "Retrieve one Mollie customer.",
|
|
129
|
+
"method": "GET",
|
|
130
|
+
"path": "/customers/{customer_id}",
|
|
131
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["customer_id"] }
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "update_customer",
|
|
135
|
+
"description": "Update a Mollie customer.",
|
|
136
|
+
"method": "PATCH",
|
|
137
|
+
"path": "/customers/{customer_id}",
|
|
138
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "name": { "type": "string" }, "email": { "type": "string" }, "locale": { "type": "string" }, "metadata": { "type": "object" }, "testmode": { "type": "boolean" } }, "required": ["customer_id"] }
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "delete_customer",
|
|
142
|
+
"description": "Delete a Mollie customer.",
|
|
143
|
+
"method": "DELETE",
|
|
144
|
+
"path": "/customers/{customer_id}",
|
|
145
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["customer_id"] }
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "list_mandates",
|
|
149
|
+
"description": "List mandates for a Mollie customer.",
|
|
150
|
+
"method": "GET",
|
|
151
|
+
"path": "/customers/{customer_id}/mandates",
|
|
152
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "from": { "type": "string" }, "limit": { "type": "integer" }, "testmode": { "type": "boolean" } }, "required": ["customer_id"] }
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "get_mandate",
|
|
156
|
+
"description": "Retrieve one Mollie mandate.",
|
|
157
|
+
"method": "GET",
|
|
158
|
+
"path": "/customers/{customer_id}/mandates/{mandate_id}",
|
|
159
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "mandate_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["customer_id", "mandate_id"] }
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "create_subscription",
|
|
163
|
+
"description": "Create a subscription for a Mollie customer.",
|
|
164
|
+
"method": "POST",
|
|
165
|
+
"path": "/customers/{customer_id}/subscriptions",
|
|
166
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "amount": { "type": "object" }, "times": { "type": "integer" }, "interval": { "type": "string" }, "startDate": { "type": "string" }, "description": { "type": "string" }, "mandateId": { "type": "string" }, "webhookUrl": { "type": "string" }, "metadata": { "type": "object" }, "testmode": { "type": "boolean" } }, "required": ["customer_id", "amount", "interval", "description"] }
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "list_subscriptions",
|
|
170
|
+
"description": "List subscriptions for a Mollie customer.",
|
|
171
|
+
"method": "GET",
|
|
172
|
+
"path": "/customers/{customer_id}/subscriptions",
|
|
173
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "from": { "type": "string" }, "limit": { "type": "integer" }, "testmode": { "type": "boolean" } }, "required": ["customer_id"] }
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "get_subscription",
|
|
177
|
+
"description": "Retrieve one Mollie subscription.",
|
|
178
|
+
"method": "GET",
|
|
179
|
+
"path": "/customers/{customer_id}/subscriptions/{subscription_id}",
|
|
180
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "subscription_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["customer_id", "subscription_id"] }
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "update_subscription",
|
|
184
|
+
"description": "Update a Mollie subscription.",
|
|
185
|
+
"method": "PATCH",
|
|
186
|
+
"path": "/customers/{customer_id}/subscriptions/{subscription_id}",
|
|
187
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "subscription_id": { "type": "string" }, "amount": { "type": "object" }, "times": { "type": "integer" }, "interval": { "type": "string" }, "startDate": { "type": "string" }, "description": { "type": "string" }, "mandateId": { "type": "string" }, "webhookUrl": { "type": "string" }, "metadata": { "type": "object" }, "testmode": { "type": "boolean" } }, "required": ["customer_id", "subscription_id"] }
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "cancel_subscription",
|
|
191
|
+
"description": "Cancel a Mollie subscription.",
|
|
192
|
+
"method": "DELETE",
|
|
193
|
+
"path": "/customers/{customer_id}/subscriptions/{subscription_id}",
|
|
194
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" }, "subscription_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["customer_id", "subscription_id"] }
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "create_payment_link",
|
|
198
|
+
"description": "Create a Mollie payment link.",
|
|
199
|
+
"method": "POST",
|
|
200
|
+
"path": "/payment-links",
|
|
201
|
+
"input_schema": { "type": "object", "properties": { "amount": { "type": "object" }, "description": { "type": "string" }, "redirectUrl": { "type": "string" }, "webhookUrl": { "type": "string" }, "expiresAt": { "type": "string" }, "profileId": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["amount", "description"] }
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "list_payment_links",
|
|
205
|
+
"description": "List Mollie payment links.",
|
|
206
|
+
"method": "GET",
|
|
207
|
+
"path": "/payment-links",
|
|
208
|
+
"input_schema": { "type": "object", "properties": { "from": { "type": "string" }, "limit": { "type": "integer" }, "profileId": { "type": "string" }, "testmode": { "type": "boolean" } } }
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "get_payment_link",
|
|
212
|
+
"description": "Retrieve one Mollie payment link.",
|
|
213
|
+
"method": "GET",
|
|
214
|
+
"path": "/payment-links/{payment_link_id}",
|
|
215
|
+
"input_schema": { "type": "object", "properties": { "payment_link_id": { "type": "string" }, "testmode": { "type": "boolean" } }, "required": ["payment_link_id"] }
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"health_check": { "tool": "list_methods" }
|
|
219
|
+
}
|
package/src/apps/paddle.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "paddle",
|
|
3
3
|
"name": "Paddle",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Paddle Billing merchant-of-record API for products, prices, customers, subscriptions, transactions, refunds/adjustments, and checkout-style payment links. Paddle does not host uploaded audio files directly; use it to sell access to products delivered by your app or storage layer.",
|
|
5
5
|
"logo": "https://www.google.com/s2/favicons?domain=paddle.com&sz=128",
|
|
6
6
|
"categories": ["payments", "billing", "subscriptions", "merchant-of-record"],
|
|
7
7
|
"base_url": "https://api.paddle.com",
|
|
8
8
|
"auth": {
|
|
9
9
|
"types": ["bearer"],
|
|
10
|
-
"headers": {
|
|
10
|
+
"headers": {
|
|
11
|
+
"Authorization": "Bearer {{token}}",
|
|
12
|
+
"Content-Type": "application/json"
|
|
13
|
+
},
|
|
11
14
|
"credential_fields": [
|
|
12
15
|
{ "name": "token", "label": "API Key", "description": "Paddle API key (pdl_live_... or pdl_sdbx_...)" },
|
|
13
|
-
{ "name": "webhookSecret", "label": "Webhook Secret" }
|
|
16
|
+
{ "name": "webhookSecret", "label": "Webhook Secret", "required": false, "description": "Optional Paddle webhook signing secret used only for verifying incoming webhooks." }
|
|
14
17
|
]
|
|
15
18
|
},
|
|
16
19
|
"tools": [
|
|
@@ -23,13 +26,25 @@
|
|
|
23
26
|
"type": "object",
|
|
24
27
|
"properties": {
|
|
25
28
|
"status": { "type": "string" },
|
|
29
|
+
"ids": { "type": "array", "items": { "type": "string" } },
|
|
26
30
|
"per_page": { "type": "number" }
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
33
|
},
|
|
34
|
+
{
|
|
35
|
+
"name": "get_product",
|
|
36
|
+
"description": "Retrieve one Paddle product.",
|
|
37
|
+
"method": "GET",
|
|
38
|
+
"path": "/products/{product_id}",
|
|
39
|
+
"input_schema": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": { "product_id": { "type": "string" } },
|
|
42
|
+
"required": ["product_id"]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
30
45
|
{
|
|
31
46
|
"name": "create_product",
|
|
32
|
-
"description": "Create a product",
|
|
47
|
+
"description": "Create a product in Paddle. For digital audio, this creates the sellable catalog product/access item; Paddle does not upload or store the audio file itself.",
|
|
33
48
|
"method": "POST",
|
|
34
49
|
"path": "/products",
|
|
35
50
|
"input_schema": {
|
|
@@ -42,6 +57,23 @@
|
|
|
42
57
|
"required": ["name", "tax_category"]
|
|
43
58
|
}
|
|
44
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"name": "update_product",
|
|
62
|
+
"description": "Update a Paddle product.",
|
|
63
|
+
"method": "PATCH",
|
|
64
|
+
"path": "/products/{product_id}",
|
|
65
|
+
"input_schema": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"product_id": { "type": "string" },
|
|
69
|
+
"name": { "type": "string" },
|
|
70
|
+
"tax_category": { "type": "string" },
|
|
71
|
+
"description": { "type": "string" },
|
|
72
|
+
"status": { "type": "string" }
|
|
73
|
+
},
|
|
74
|
+
"required": ["product_id"]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
45
77
|
{
|
|
46
78
|
"name": "list_prices",
|
|
47
79
|
"description": "List prices",
|
|
@@ -51,10 +83,23 @@
|
|
|
51
83
|
"type": "object",
|
|
52
84
|
"properties": {
|
|
53
85
|
"product_id": { "type": "array" },
|
|
54
|
-
"status": { "type": "string" }
|
|
86
|
+
"status": { "type": "string" },
|
|
87
|
+
"ids": { "type": "array", "items": { "type": "string" } },
|
|
88
|
+
"per_page": { "type": "number" }
|
|
55
89
|
}
|
|
56
90
|
}
|
|
57
91
|
},
|
|
92
|
+
{
|
|
93
|
+
"name": "get_price",
|
|
94
|
+
"description": "Retrieve one Paddle price.",
|
|
95
|
+
"method": "GET",
|
|
96
|
+
"path": "/prices/{price_id}",
|
|
97
|
+
"input_schema": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"properties": { "price_id": { "type": "string" } },
|
|
100
|
+
"required": ["price_id"]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
58
103
|
{
|
|
59
104
|
"name": "create_price",
|
|
60
105
|
"description": "Create a price for a product",
|
|
@@ -71,6 +116,25 @@
|
|
|
71
116
|
"required": ["product_id", "description", "unit_price"]
|
|
72
117
|
}
|
|
73
118
|
},
|
|
119
|
+
{
|
|
120
|
+
"name": "update_price",
|
|
121
|
+
"description": "Update a Paddle price, for example description, status, billing_cycle, trial_period, unit_price, or custom_data.",
|
|
122
|
+
"method": "PATCH",
|
|
123
|
+
"path": "/prices/{price_id}",
|
|
124
|
+
"input_schema": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"price_id": { "type": "string" },
|
|
128
|
+
"description": { "type": "string" },
|
|
129
|
+
"unit_price": { "type": "object" },
|
|
130
|
+
"billing_cycle": { "type": "object" },
|
|
131
|
+
"trial_period": { "type": "object" },
|
|
132
|
+
"status": { "type": "string" },
|
|
133
|
+
"custom_data": { "type": "object" }
|
|
134
|
+
},
|
|
135
|
+
"required": ["price_id"]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
74
138
|
{
|
|
75
139
|
"name": "list_customers",
|
|
76
140
|
"description": "List customers",
|
|
@@ -80,10 +144,23 @@
|
|
|
80
144
|
"type": "object",
|
|
81
145
|
"properties": {
|
|
82
146
|
"email": { "type": "array" },
|
|
83
|
-
"status": { "type": "string" }
|
|
147
|
+
"status": { "type": "string" },
|
|
148
|
+
"ids": { "type": "array", "items": { "type": "string" } },
|
|
149
|
+
"per_page": { "type": "number" }
|
|
84
150
|
}
|
|
85
151
|
}
|
|
86
152
|
},
|
|
153
|
+
{
|
|
154
|
+
"name": "get_customer",
|
|
155
|
+
"description": "Retrieve one Paddle customer.",
|
|
156
|
+
"method": "GET",
|
|
157
|
+
"path": "/customers/{customer_id}",
|
|
158
|
+
"input_schema": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": { "customer_id": { "type": "string" } },
|
|
161
|
+
"required": ["customer_id"]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
87
164
|
{
|
|
88
165
|
"name": "create_customer",
|
|
89
166
|
"description": "Create a customer",
|
|
@@ -99,6 +176,24 @@
|
|
|
99
176
|
"required": ["email"]
|
|
100
177
|
}
|
|
101
178
|
},
|
|
179
|
+
{
|
|
180
|
+
"name": "update_customer",
|
|
181
|
+
"description": "Update a Paddle customer.",
|
|
182
|
+
"method": "PATCH",
|
|
183
|
+
"path": "/customers/{customer_id}",
|
|
184
|
+
"input_schema": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"properties": {
|
|
187
|
+
"customer_id": { "type": "string" },
|
|
188
|
+
"email": { "type": "string" },
|
|
189
|
+
"name": { "type": "string" },
|
|
190
|
+
"locale": { "type": "string" },
|
|
191
|
+
"status": { "type": "string" },
|
|
192
|
+
"custom_data": { "type": "object" }
|
|
193
|
+
},
|
|
194
|
+
"required": ["customer_id"]
|
|
195
|
+
}
|
|
196
|
+
},
|
|
102
197
|
{
|
|
103
198
|
"name": "list_subscriptions",
|
|
104
199
|
"description": "List subscriptions",
|
|
@@ -108,7 +203,10 @@
|
|
|
108
203
|
"type": "object",
|
|
109
204
|
"properties": {
|
|
110
205
|
"customer_id": { "type": "array" },
|
|
111
|
-
"status": { "type": "array" }
|
|
206
|
+
"status": { "type": "array" },
|
|
207
|
+
"product_id": { "type": "array", "items": { "type": "string" } },
|
|
208
|
+
"price_id": { "type": "array", "items": { "type": "string" } },
|
|
209
|
+
"per_page": { "type": "number" }
|
|
112
210
|
}
|
|
113
211
|
}
|
|
114
212
|
},
|
|
@@ -123,6 +221,23 @@
|
|
|
123
221
|
"required": ["subscription_id"]
|
|
124
222
|
}
|
|
125
223
|
},
|
|
224
|
+
{
|
|
225
|
+
"name": "update_subscription",
|
|
226
|
+
"description": "Update a Paddle subscription. Use for changing items, scheduled_change, proration_billing_mode, custom_data, collection_mode, or billing details according to Paddle's Billing API.",
|
|
227
|
+
"method": "PATCH",
|
|
228
|
+
"path": "/subscriptions/{subscription_id}",
|
|
229
|
+
"input_schema": {
|
|
230
|
+
"type": "object",
|
|
231
|
+
"properties": {
|
|
232
|
+
"subscription_id": { "type": "string" },
|
|
233
|
+
"items": { "type": "array" },
|
|
234
|
+
"scheduled_change": { "type": "object" },
|
|
235
|
+
"proration_billing_mode": { "type": "string" },
|
|
236
|
+
"custom_data": { "type": "object" }
|
|
237
|
+
},
|
|
238
|
+
"required": ["subscription_id"]
|
|
239
|
+
}
|
|
240
|
+
},
|
|
126
241
|
{
|
|
127
242
|
"name": "cancel_subscription",
|
|
128
243
|
"description": "Cancel a subscription",
|
|
@@ -146,10 +261,23 @@
|
|
|
146
261
|
"type": "object",
|
|
147
262
|
"properties": {
|
|
148
263
|
"customer_id": { "type": "array" },
|
|
149
|
-
"status": { "type": "array" }
|
|
264
|
+
"status": { "type": "array" },
|
|
265
|
+
"subscription_id": { "type": "array", "items": { "type": "string" } },
|
|
266
|
+
"per_page": { "type": "number" }
|
|
150
267
|
}
|
|
151
268
|
}
|
|
152
269
|
},
|
|
270
|
+
{
|
|
271
|
+
"name": "get_transaction",
|
|
272
|
+
"description": "Retrieve one Paddle transaction. A completed/ready transaction may include checkout/payment link fields depending on creation parameters and Paddle response shape.",
|
|
273
|
+
"method": "GET",
|
|
274
|
+
"path": "/transactions/{transaction_id}",
|
|
275
|
+
"input_schema": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": { "transaction_id": { "type": "string" } },
|
|
278
|
+
"required": ["transaction_id"]
|
|
279
|
+
}
|
|
280
|
+
},
|
|
153
281
|
{
|
|
154
282
|
"name": "create_transaction",
|
|
155
283
|
"description": "Create a transaction (e.g. for one-time charge)",
|
|
@@ -165,6 +293,68 @@
|
|
|
165
293
|
},
|
|
166
294
|
"required": ["items"]
|
|
167
295
|
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "update_transaction",
|
|
299
|
+
"description": "Update a draft Paddle transaction before it is billed.",
|
|
300
|
+
"method": "PATCH",
|
|
301
|
+
"path": "/transactions/{transaction_id}",
|
|
302
|
+
"input_schema": {
|
|
303
|
+
"type": "object",
|
|
304
|
+
"properties": {
|
|
305
|
+
"transaction_id": { "type": "string" },
|
|
306
|
+
"items": { "type": "array" },
|
|
307
|
+
"customer_id": { "type": "string" },
|
|
308
|
+
"currency_code": { "type": "string" },
|
|
309
|
+
"collection_mode": { "type": "string" },
|
|
310
|
+
"billing_details": { "type": "object" },
|
|
311
|
+
"custom_data": { "type": "object" }
|
|
312
|
+
},
|
|
313
|
+
"required": ["transaction_id"]
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "list_adjustments",
|
|
318
|
+
"description": "List Paddle adjustments such as refunds and credits.",
|
|
319
|
+
"method": "GET",
|
|
320
|
+
"path": "/adjustments",
|
|
321
|
+
"input_schema": {
|
|
322
|
+
"type": "object",
|
|
323
|
+
"properties": {
|
|
324
|
+
"action": { "type": "array", "items": { "type": "string" } },
|
|
325
|
+
"status": { "type": "array", "items": { "type": "string" } },
|
|
326
|
+
"transaction_id": { "type": "array", "items": { "type": "string" } },
|
|
327
|
+
"per_page": { "type": "number" }
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "create_adjustment",
|
|
333
|
+
"description": "Create a Paddle adjustment, commonly a refund or credit. Body fields depend on action/type and Paddle's adjustment API.",
|
|
334
|
+
"method": "POST",
|
|
335
|
+
"path": "/adjustments",
|
|
336
|
+
"input_schema": {
|
|
337
|
+
"type": "object",
|
|
338
|
+
"properties": {
|
|
339
|
+
"action": { "type": "string" },
|
|
340
|
+
"transaction_id": { "type": "string" },
|
|
341
|
+
"reason": { "type": "string" },
|
|
342
|
+
"items": { "type": "array" }
|
|
343
|
+
},
|
|
344
|
+
"required": ["action", "transaction_id"]
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "get_adjustment",
|
|
349
|
+
"description": "Retrieve one Paddle adjustment.",
|
|
350
|
+
"method": "GET",
|
|
351
|
+
"path": "/adjustments/{adjustment_id}",
|
|
352
|
+
"input_schema": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"properties": { "adjustment_id": { "type": "string" } },
|
|
355
|
+
"required": ["adjustment_id"]
|
|
356
|
+
}
|
|
168
357
|
}
|
|
169
|
-
]
|
|
358
|
+
],
|
|
359
|
+
"health_check": { "tool": "list_products" }
|
|
170
360
|
}
|