@apteva/integrations 0.15.10 → 0.15.12
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 +144 -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 +7 -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/fal-ai.json +278 -290
- 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/kling-ai.json +197 -161
- package/src/apps/ko-fi.json +34 -0
- package/src/apps/leadbyte.json +16 -54
- 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/replicate.json +315 -61
- package/src/apps/ringover.json +69 -0
- package/src/apps/runpod.json +727 -0
- package/src/apps/runway.json +386 -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/stability-ai.json +356 -0
- package/src/apps/stripe.json +1 -0
- package/src/apps/surfer.json +511 -0
- package/src/apps/twitter-api.json +19 -21
- 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,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "verotel",
|
|
3
|
+
"name": "Verotel",
|
|
4
|
+
"description": "Adult-friendly Verotel Control Center API for websites, sales, transactions, refunds, subscription cancellation, termination, extension, and downgrade operations.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=verotel.com&sz=128",
|
|
6
|
+
"categories": ["payments", "adult", "high-risk", "subscriptions", "checkout"],
|
|
7
|
+
"base_url": "https://controlcenter.verotel.com/api",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["basic"],
|
|
10
|
+
"headers": {
|
|
11
|
+
"Authorization": "Basic {{basic_auth}}",
|
|
12
|
+
"Accept": "application/json; version=2.0.0",
|
|
13
|
+
"Content-Type": "application/json"
|
|
14
|
+
},
|
|
15
|
+
"credential_fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "basic_auth",
|
|
18
|
+
"label": "Basic Auth",
|
|
19
|
+
"description": "Base64-encoded Verotel Control Center API credentials. Do not include the 'Basic ' prefix."
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"tools": [
|
|
24
|
+
{
|
|
25
|
+
"name": "list_websites",
|
|
26
|
+
"description": "List Verotel websites available to the Control Center API credential.",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"path": "/websites",
|
|
29
|
+
"input_schema": { "type": "object", "properties": {} }
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "list_website_sales",
|
|
33
|
+
"description": "List Verotel sales for a website, sorted by created_at. Use date filters to keep results below the 5000 sale API limit.",
|
|
34
|
+
"method": "GET",
|
|
35
|
+
"path": "/website/{website_id}/sales",
|
|
36
|
+
"input_schema": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"website_id": { "type": "integer" },
|
|
40
|
+
"from_date": { "type": "string", "description": "ISO date, e.g. 2026-06-01." },
|
|
41
|
+
"to_date": { "type": "string", "description": "ISO date, e.g. 2026-06-30." },
|
|
42
|
+
"is_approved": { "type": "boolean" },
|
|
43
|
+
"is_testing": { "type": "boolean" }
|
|
44
|
+
},
|
|
45
|
+
"required": ["website_id", "from_date"]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "list_website_transactions",
|
|
50
|
+
"description": "List Verotel transactions for a website, sorted by created_at. Use date filters to keep results below the 5000 transaction API limit.",
|
|
51
|
+
"method": "GET",
|
|
52
|
+
"path": "/website/{website_id}/transactions",
|
|
53
|
+
"input_schema": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"properties": {
|
|
56
|
+
"website_id": { "type": "integer" },
|
|
57
|
+
"from_date": { "type": "string" },
|
|
58
|
+
"to_date": { "type": "string" },
|
|
59
|
+
"is_approved": { "type": "boolean" },
|
|
60
|
+
"is_testing": { "type": "boolean" },
|
|
61
|
+
"convert_to_currency": { "type": "string" }
|
|
62
|
+
},
|
|
63
|
+
"required": ["website_id", "from_date"]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "get_sale",
|
|
68
|
+
"description": "Retrieve one Verotel sale by ID.",
|
|
69
|
+
"method": "GET",
|
|
70
|
+
"path": "/sale/{sale_id}",
|
|
71
|
+
"input_schema": { "type": "object", "properties": { "sale_id": { "type": "integer" } }, "required": ["sale_id"] }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "get_sale_transactions",
|
|
75
|
+
"description": "List transactions for one Verotel sale.",
|
|
76
|
+
"method": "GET",
|
|
77
|
+
"path": "/sale/{sale_id}/transactions",
|
|
78
|
+
"input_schema": { "type": "object", "properties": { "sale_id": { "type": "integer" } }, "required": ["sale_id"] }
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "get_transaction",
|
|
82
|
+
"description": "Retrieve one Verotel transaction by ID.",
|
|
83
|
+
"method": "GET",
|
|
84
|
+
"path": "/transaction/{transaction_id}",
|
|
85
|
+
"input_schema": { "type": "object", "properties": { "transaction_id": { "type": "integer" } }, "required": ["transaction_id"] }
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "refund_transaction",
|
|
89
|
+
"description": "Refund a Verotel transaction. Provide partial_refund_amount for a partial refund.",
|
|
90
|
+
"method": "POST",
|
|
91
|
+
"path": "/transaction/{transaction_id}/refund",
|
|
92
|
+
"input_schema": { "type": "object", "properties": { "transaction_id": { "type": "integer" }, "partial_refund_amount": { "type": "number" } }, "required": ["transaction_id"] }
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "cancel_future_billing",
|
|
96
|
+
"description": "Cancel future billing for a Verotel sale.",
|
|
97
|
+
"method": "POST",
|
|
98
|
+
"path": "/sale/{sale_id}/cancel",
|
|
99
|
+
"input_schema": { "type": "object", "properties": { "sale_id": { "type": "integer" } }, "required": ["sale_id"] }
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "terminate_sale",
|
|
103
|
+
"description": "Terminate a Verotel sale.",
|
|
104
|
+
"method": "POST",
|
|
105
|
+
"path": "/sale/{sale_id}/terminate",
|
|
106
|
+
"input_schema": { "type": "object", "properties": { "sale_id": { "type": "integer" } }, "required": ["sale_id"] }
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "extend_sale",
|
|
110
|
+
"description": "Extend the subscription period of a Verotel sale.",
|
|
111
|
+
"method": "POST",
|
|
112
|
+
"path": "/sale/{sale_id}/extend",
|
|
113
|
+
"input_schema": { "type": "object", "properties": { "sale_id": { "type": "integer" }, "original_expiration_date": { "type": "string" }, "extend_by_days": { "type": "integer" } }, "required": ["sale_id", "original_expiration_date", "extend_by_days"] }
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "downgrade_sale",
|
|
117
|
+
"description": "Downgrade a Verotel sale to a lower price.",
|
|
118
|
+
"method": "POST",
|
|
119
|
+
"path": "/sale/{sale_id}/downgrade",
|
|
120
|
+
"input_schema": { "type": "object", "properties": { "sale_id": { "type": "integer" }, "currency": { "type": "string" }, "new_price": { "type": "number" } }, "required": ["sale_id", "currency", "new_price"] }
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"health_check": { "tool": "list_websites" }
|
|
124
|
+
}
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "whop",
|
|
3
|
+
"name": "Whop",
|
|
4
|
+
"description": "Whop commerce API for products, plans, checkout configurations, payments, refunds, memberships, and leads. Use Whop to sell access to audio products, communities, or apps; Whop's public API does not directly upload and host audio files.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=whop.com&sz=128",
|
|
6
|
+
"categories": ["payments", "commerce", "creator-economy", "digital-products", "memberships", "checkout"],
|
|
7
|
+
"base_url": "https://api.whop.com/api/v1",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["bearer"],
|
|
10
|
+
"headers": {
|
|
11
|
+
"Authorization": "Bearer {{token}}",
|
|
12
|
+
"Content-Type": "application/json",
|
|
13
|
+
"Api-Version-Date": "2026-06-20"
|
|
14
|
+
},
|
|
15
|
+
"credential_fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "token",
|
|
18
|
+
"label": "API Key",
|
|
19
|
+
"description": "Whop API key for the company/app you want to manage."
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"tools": [
|
|
24
|
+
{
|
|
25
|
+
"name": "list_products",
|
|
26
|
+
"description": "List Whop products for a company. Use this before creating plans or checkout configurations.",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"path": "/products",
|
|
29
|
+
"input_schema": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"company_id": { "type": "string" },
|
|
33
|
+
"visibilities": { "type": "array", "items": { "type": "string" } },
|
|
34
|
+
"access_pass_types": { "type": "array", "items": { "type": "string" } },
|
|
35
|
+
"direction": { "type": "string" },
|
|
36
|
+
"order": { "type": "string" },
|
|
37
|
+
"first": { "type": "integer" },
|
|
38
|
+
"after": { "type": "string" },
|
|
39
|
+
"last": { "type": "integer" },
|
|
40
|
+
"before": { "type": "string" }
|
|
41
|
+
},
|
|
42
|
+
"required": ["company_id"]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "get_product",
|
|
47
|
+
"description": "Retrieve one Whop product.",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"path": "/products/{product_id}",
|
|
50
|
+
"input_schema": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"product_id": { "type": "string" }
|
|
54
|
+
},
|
|
55
|
+
"required": ["product_id"]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "create_product",
|
|
60
|
+
"description": "Create a Whop product. Body must follow Whop's current product create schema. For audio products, this creates the sellable access product; store the audio in your app/storage and deliver it after purchase.",
|
|
61
|
+
"method": "POST",
|
|
62
|
+
"path": "/products",
|
|
63
|
+
"body_root_param": "body",
|
|
64
|
+
"input_schema": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"body": { "type": "object", "description": "Raw Whop product create payload." }
|
|
68
|
+
},
|
|
69
|
+
"required": ["body"]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "update_product",
|
|
74
|
+
"description": "Update a Whop product using Whop's product update schema.",
|
|
75
|
+
"method": "PATCH",
|
|
76
|
+
"path": "/products/{product_id}",
|
|
77
|
+
"body_root_param": "body",
|
|
78
|
+
"input_schema": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"product_id": { "type": "string" },
|
|
82
|
+
"body": { "type": "object", "description": "Raw Whop product update payload." }
|
|
83
|
+
},
|
|
84
|
+
"required": ["product_id", "body"]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "delete_product",
|
|
89
|
+
"description": "Delete a Whop product.",
|
|
90
|
+
"method": "DELETE",
|
|
91
|
+
"path": "/products/{product_id}",
|
|
92
|
+
"input_schema": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"properties": {
|
|
95
|
+
"product_id": { "type": "string" }
|
|
96
|
+
},
|
|
97
|
+
"required": ["product_id"]
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "list_plans",
|
|
102
|
+
"description": "List Whop plans. Filter by company or product before creating checkout configurations.",
|
|
103
|
+
"method": "GET",
|
|
104
|
+
"path": "/plans",
|
|
105
|
+
"input_schema": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"company_id": { "type": "string" },
|
|
109
|
+
"product_id": { "type": "string" },
|
|
110
|
+
"direction": { "type": "string" },
|
|
111
|
+
"order": { "type": "string" },
|
|
112
|
+
"first": { "type": "integer" },
|
|
113
|
+
"after": { "type": "string" },
|
|
114
|
+
"last": { "type": "integer" },
|
|
115
|
+
"before": { "type": "string" }
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "get_plan",
|
|
121
|
+
"description": "Retrieve one Whop plan.",
|
|
122
|
+
"method": "GET",
|
|
123
|
+
"path": "/plans/{plan_id}",
|
|
124
|
+
"input_schema": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"plan_id": { "type": "string" }
|
|
128
|
+
},
|
|
129
|
+
"required": ["plan_id"]
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "create_plan",
|
|
134
|
+
"description": "Create a Whop plan. Body must follow Whop's plan create schema, including product/company, pricing, currency, and billing fields.",
|
|
135
|
+
"method": "POST",
|
|
136
|
+
"path": "/plans",
|
|
137
|
+
"body_root_param": "body",
|
|
138
|
+
"input_schema": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"properties": {
|
|
141
|
+
"body": { "type": "object", "description": "Raw Whop plan create payload." }
|
|
142
|
+
},
|
|
143
|
+
"required": ["body"]
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "update_plan",
|
|
148
|
+
"description": "Update a Whop plan using Whop's plan update schema.",
|
|
149
|
+
"method": "PATCH",
|
|
150
|
+
"path": "/plans/{plan_id}",
|
|
151
|
+
"body_root_param": "body",
|
|
152
|
+
"input_schema": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"properties": {
|
|
155
|
+
"plan_id": { "type": "string" },
|
|
156
|
+
"body": { "type": "object", "description": "Raw Whop plan update payload." }
|
|
157
|
+
},
|
|
158
|
+
"required": ["plan_id", "body"]
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "delete_plan",
|
|
163
|
+
"description": "Delete a Whop plan.",
|
|
164
|
+
"method": "DELETE",
|
|
165
|
+
"path": "/plans/{plan_id}",
|
|
166
|
+
"input_schema": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"properties": {
|
|
169
|
+
"plan_id": { "type": "string" }
|
|
170
|
+
},
|
|
171
|
+
"required": ["plan_id"]
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "list_checkout_configurations",
|
|
176
|
+
"description": "List Whop checkout configurations, optionally filtered by company or plan.",
|
|
177
|
+
"method": "GET",
|
|
178
|
+
"path": "/checkout_configurations",
|
|
179
|
+
"input_schema": {
|
|
180
|
+
"type": "object",
|
|
181
|
+
"properties": {
|
|
182
|
+
"company_id": { "type": "string" },
|
|
183
|
+
"plan_id": { "type": "string" },
|
|
184
|
+
"direction": { "type": "string" },
|
|
185
|
+
"order": { "type": "string" },
|
|
186
|
+
"first": { "type": "integer" },
|
|
187
|
+
"after": { "type": "string" },
|
|
188
|
+
"last": { "type": "integer" },
|
|
189
|
+
"before": { "type": "string" }
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "get_checkout_configuration",
|
|
195
|
+
"description": "Retrieve one Whop checkout configuration.",
|
|
196
|
+
"method": "GET",
|
|
197
|
+
"path": "/checkout_configurations/{checkout_configuration_id}",
|
|
198
|
+
"input_schema": {
|
|
199
|
+
"type": "object",
|
|
200
|
+
"properties": {
|
|
201
|
+
"checkout_configuration_id": { "type": "string" }
|
|
202
|
+
},
|
|
203
|
+
"required": ["checkout_configuration_id"]
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "create_checkout_configuration",
|
|
208
|
+
"description": "Create a Whop checkout configuration. Use the returned checkout configuration data/link in your app or agent flow to sell a plan.",
|
|
209
|
+
"method": "POST",
|
|
210
|
+
"path": "/checkout_configurations",
|
|
211
|
+
"body_root_param": "body",
|
|
212
|
+
"input_schema": {
|
|
213
|
+
"type": "object",
|
|
214
|
+
"properties": {
|
|
215
|
+
"body": { "type": "object", "description": "Raw Whop checkout configuration create payload." }
|
|
216
|
+
},
|
|
217
|
+
"required": ["body"]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "delete_checkout_configuration",
|
|
222
|
+
"description": "Delete a Whop checkout configuration.",
|
|
223
|
+
"method": "DELETE",
|
|
224
|
+
"path": "/checkout_configurations/{checkout_configuration_id}",
|
|
225
|
+
"input_schema": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"checkout_configuration_id": { "type": "string" }
|
|
229
|
+
},
|
|
230
|
+
"required": ["checkout_configuration_id"]
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "list_payments",
|
|
235
|
+
"description": "List Whop payments for reconciliation, customer support, and fulfillment checks.",
|
|
236
|
+
"method": "GET",
|
|
237
|
+
"path": "/payments",
|
|
238
|
+
"input_schema": {
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"company_id": { "type": "string" },
|
|
242
|
+
"product_id": { "type": "string" },
|
|
243
|
+
"plan_id": { "type": "string" },
|
|
244
|
+
"membership_id": { "type": "string" },
|
|
245
|
+
"status": { "type": "string" },
|
|
246
|
+
"direction": { "type": "string" },
|
|
247
|
+
"order": { "type": "string" },
|
|
248
|
+
"first": { "type": "integer" },
|
|
249
|
+
"after": { "type": "string" },
|
|
250
|
+
"last": { "type": "integer" },
|
|
251
|
+
"before": { "type": "string" }
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "get_payment",
|
|
257
|
+
"description": "Retrieve one Whop payment.",
|
|
258
|
+
"method": "GET",
|
|
259
|
+
"path": "/payments/{payment_id}",
|
|
260
|
+
"input_schema": {
|
|
261
|
+
"type": "object",
|
|
262
|
+
"properties": {
|
|
263
|
+
"payment_id": { "type": "string" }
|
|
264
|
+
},
|
|
265
|
+
"required": ["payment_id"]
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "create_payment",
|
|
270
|
+
"description": "Create a Whop payment using Whop's payment create schema when your Whop app flow requires server-side payment creation.",
|
|
271
|
+
"method": "POST",
|
|
272
|
+
"path": "/payments",
|
|
273
|
+
"body_root_param": "body",
|
|
274
|
+
"input_schema": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"properties": {
|
|
277
|
+
"body": { "type": "object", "description": "Raw Whop payment create payload." }
|
|
278
|
+
},
|
|
279
|
+
"required": ["body"]
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "refund_payment",
|
|
284
|
+
"description": "Refund a Whop payment. Body may include provider-supported refund fields such as amount, reason, or metadata.",
|
|
285
|
+
"method": "POST",
|
|
286
|
+
"path": "/payments/{payment_id}/refund",
|
|
287
|
+
"body_root_param": "body",
|
|
288
|
+
"input_schema": {
|
|
289
|
+
"type": "object",
|
|
290
|
+
"properties": {
|
|
291
|
+
"payment_id": { "type": "string" },
|
|
292
|
+
"body": { "type": "object", "description": "Raw Whop refund payload." }
|
|
293
|
+
},
|
|
294
|
+
"required": ["payment_id", "body"]
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "list_memberships",
|
|
299
|
+
"description": "List Whop memberships for fulfillment and access checks.",
|
|
300
|
+
"method": "GET",
|
|
301
|
+
"path": "/memberships",
|
|
302
|
+
"input_schema": {
|
|
303
|
+
"type": "object",
|
|
304
|
+
"properties": {
|
|
305
|
+
"company_id": { "type": "string" },
|
|
306
|
+
"product_id": { "type": "string" },
|
|
307
|
+
"user_id": { "type": "string" },
|
|
308
|
+
"status": { "type": "string" },
|
|
309
|
+
"direction": { "type": "string" },
|
|
310
|
+
"order": { "type": "string" },
|
|
311
|
+
"first": { "type": "integer" },
|
|
312
|
+
"after": { "type": "string" },
|
|
313
|
+
"last": { "type": "integer" },
|
|
314
|
+
"before": { "type": "string" }
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "get_membership",
|
|
320
|
+
"description": "Retrieve one Whop membership.",
|
|
321
|
+
"method": "GET",
|
|
322
|
+
"path": "/memberships/{membership_id}",
|
|
323
|
+
"input_schema": {
|
|
324
|
+
"type": "object",
|
|
325
|
+
"properties": {
|
|
326
|
+
"membership_id": { "type": "string" }
|
|
327
|
+
},
|
|
328
|
+
"required": ["membership_id"]
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "list_leads",
|
|
333
|
+
"description": "List Whop leads captured for a company or product.",
|
|
334
|
+
"method": "GET",
|
|
335
|
+
"path": "/leads",
|
|
336
|
+
"input_schema": {
|
|
337
|
+
"type": "object",
|
|
338
|
+
"properties": {
|
|
339
|
+
"company_id": { "type": "string" },
|
|
340
|
+
"product_id": { "type": "string" },
|
|
341
|
+
"direction": { "type": "string" },
|
|
342
|
+
"order": { "type": "string" },
|
|
343
|
+
"first": { "type": "integer" },
|
|
344
|
+
"after": { "type": "string" },
|
|
345
|
+
"last": { "type": "integer" },
|
|
346
|
+
"before": { "type": "string" }
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "get_lead",
|
|
352
|
+
"description": "Retrieve one Whop lead.",
|
|
353
|
+
"method": "GET",
|
|
354
|
+
"path": "/leads/{lead_id}",
|
|
355
|
+
"input_schema": {
|
|
356
|
+
"type": "object",
|
|
357
|
+
"properties": {
|
|
358
|
+
"lead_id": { "type": "string" }
|
|
359
|
+
},
|
|
360
|
+
"required": ["lead_id"]
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
}
|