@apteva/integrations 0.15.9 → 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/apify.json +168 -0
- package/src/apps/aws-ses.json +1 -1
- package/src/apps/bookvault.json +309 -0
- package/src/apps/braintree.json +53 -0
- package/src/apps/brightdata.json +22 -1
- package/src/apps/browse-ai.json +243 -5
- package/src/apps/browserbase.json +41 -11
- package/src/apps/browserless.json +101 -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/digitalocean.json +53 -0
- package/src/apps/elevenlabs.json +292 -0
- package/src/apps/firecrawl.json +111 -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/ingram-coresource.json +119 -0
- 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/lulu-print.json +266 -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/publishdrive.json +132 -0
- 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/streetlib.json +60 -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
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
|
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "payhip",
|
|
3
|
+
"name": "Payhip",
|
|
4
|
+
"description": "Payhip creator-commerce API for coupons and license-key management. Payhip is useful for selling digital products through its hosted storefront, but its public API does not create products or upload downloadable audio files.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=payhip.com&sz=128",
|
|
6
|
+
"categories": ["payments", "commerce", "creator-economy", "digital-products", "coupons", "licenses"],
|
|
7
|
+
"base_url": "https://payhip.com",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["api_key"],
|
|
10
|
+
"headers": {
|
|
11
|
+
"payhip-api-key": "{{apiKey}}",
|
|
12
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
13
|
+
},
|
|
14
|
+
"credential_fields": [
|
|
15
|
+
{
|
|
16
|
+
"name": "apiKey",
|
|
17
|
+
"label": "API Key",
|
|
18
|
+
"description": "Payhip API key from your Payhip account settings."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "productSecretKey",
|
|
22
|
+
"label": "Product Secret Key",
|
|
23
|
+
"required": false,
|
|
24
|
+
"description": "Optional product secret key used by Payhip's license-key endpoints."
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"health_check": {
|
|
29
|
+
"tool": "list_coupons"
|
|
30
|
+
},
|
|
31
|
+
"tools": [
|
|
32
|
+
{
|
|
33
|
+
"name": "create_coupon",
|
|
34
|
+
"description": "Create a Payhip coupon. Use coupon_type='single' with product_key for one product, 'collection' with collection_id, or 'all' for all products.",
|
|
35
|
+
"method": "POST",
|
|
36
|
+
"path": "/api/v2/coupons",
|
|
37
|
+
"input_schema": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"code": { "type": "string" },
|
|
41
|
+
"coupon_type": { "type": "string", "enum": ["single", "all", "collection"] },
|
|
42
|
+
"percent_off": { "type": "number" },
|
|
43
|
+
"amount_off": { "type": "number" },
|
|
44
|
+
"product_key": { "type": "string" },
|
|
45
|
+
"collection_id": { "type": "string" },
|
|
46
|
+
"start_date": { "type": "string", "description": "Start date accepted by Payhip, for example YYYY-MM-DD." },
|
|
47
|
+
"end_date": { "type": "string", "description": "End date accepted by Payhip, for example YYYY-MM-DD." },
|
|
48
|
+
"minimum_purchase_amount": { "type": "number" },
|
|
49
|
+
"number_of_uses": { "type": "integer" },
|
|
50
|
+
"note": { "type": "string" }
|
|
51
|
+
},
|
|
52
|
+
"required": ["code", "coupon_type"]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "list_coupons",
|
|
57
|
+
"description": "List Payhip coupons.",
|
|
58
|
+
"method": "GET",
|
|
59
|
+
"path": "/api/v2/coupons",
|
|
60
|
+
"input_schema": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"limit": { "type": "integer" },
|
|
64
|
+
"offset": { "type": "integer" }
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "get_coupon",
|
|
70
|
+
"description": "Retrieve one Payhip coupon.",
|
|
71
|
+
"method": "GET",
|
|
72
|
+
"path": "/api/v2/coupons/{coupon_id}",
|
|
73
|
+
"input_schema": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"coupon_id": { "type": "string" }
|
|
77
|
+
},
|
|
78
|
+
"required": ["coupon_id"]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "verify_license",
|
|
83
|
+
"description": "Verify a Payhip product license key. Requires the Product Secret Key credential.",
|
|
84
|
+
"method": "GET",
|
|
85
|
+
"path": "/api/v2/license/verify",
|
|
86
|
+
"headers": {
|
|
87
|
+
"product-secret-key": "{{productSecretKey}}"
|
|
88
|
+
},
|
|
89
|
+
"input_schema": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"properties": {
|
|
92
|
+
"license_key": { "type": "string" }
|
|
93
|
+
},
|
|
94
|
+
"required": ["license_key"]
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "disable_license",
|
|
99
|
+
"description": "Disable a Payhip license key. Requires the Product Secret Key credential.",
|
|
100
|
+
"method": "PUT",
|
|
101
|
+
"path": "/api/v2/license/disable",
|
|
102
|
+
"headers": {
|
|
103
|
+
"product-secret-key": "{{productSecretKey}}"
|
|
104
|
+
},
|
|
105
|
+
"input_schema": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"license_key": { "type": "string" }
|
|
109
|
+
},
|
|
110
|
+
"required": ["license_key"]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "enable_license",
|
|
115
|
+
"description": "Enable a Payhip license key. Requires the Product Secret Key credential.",
|
|
116
|
+
"method": "PUT",
|
|
117
|
+
"path": "/api/v2/license/enable",
|
|
118
|
+
"headers": {
|
|
119
|
+
"product-secret-key": "{{productSecretKey}}"
|
|
120
|
+
},
|
|
121
|
+
"input_schema": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"license_key": { "type": "string" }
|
|
125
|
+
},
|
|
126
|
+
"required": ["license_key"]
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "increase_license_usage",
|
|
131
|
+
"description": "Increase or record usage for a Payhip license key. Requires the Product Secret Key credential.",
|
|
132
|
+
"method": "PUT",
|
|
133
|
+
"path": "/api/v2/license/usage",
|
|
134
|
+
"headers": {
|
|
135
|
+
"product-secret-key": "{{productSecretKey}}"
|
|
136
|
+
},
|
|
137
|
+
"input_schema": {
|
|
138
|
+
"type": "object",
|
|
139
|
+
"properties": {
|
|
140
|
+
"license_key": { "type": "string" }
|
|
141
|
+
},
|
|
142
|
+
"required": ["license_key"]
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "decrease_license_usage",
|
|
147
|
+
"description": "Decrease usage for a Payhip license key. Requires the Product Secret Key credential.",
|
|
148
|
+
"method": "PUT",
|
|
149
|
+
"path": "/api/v2/license/decrease",
|
|
150
|
+
"headers": {
|
|
151
|
+
"product-secret-key": "{{productSecretKey}}"
|
|
152
|
+
},
|
|
153
|
+
"input_schema": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"properties": {
|
|
156
|
+
"license_key": { "type": "string" }
|
|
157
|
+
},
|
|
158
|
+
"required": ["license_key"]
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
}
|