@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,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
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "paystack",
|
|
3
|
+
"name": "Paystack",
|
|
4
|
+
"description": "Paystack payments API for transactions, authorization charges, refunds, customers, plans, subscriptions, payment pages, transfer recipients, and transfers.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=paystack.com&sz=128",
|
|
6
|
+
"categories": ["payments", "checkout", "billing", "transfers", "africa"],
|
|
7
|
+
"base_url": "https://api.paystack.co",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["bearer"],
|
|
10
|
+
"headers": {
|
|
11
|
+
"Authorization": "Bearer {{secret_key}}",
|
|
12
|
+
"Content-Type": "application/json"
|
|
13
|
+
},
|
|
14
|
+
"credential_fields": [
|
|
15
|
+
{
|
|
16
|
+
"name": "secret_key",
|
|
17
|
+
"label": "Secret Key",
|
|
18
|
+
"description": "Paystack secret key from the developer settings."
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"tools": [
|
|
23
|
+
{
|
|
24
|
+
"name": "initialize_transaction",
|
|
25
|
+
"description": "Initialize a Paystack transaction and return an authorization URL for checkout.",
|
|
26
|
+
"method": "POST",
|
|
27
|
+
"path": "/transaction/initialize",
|
|
28
|
+
"input_schema": { "type": "object", "properties": { "email": { "type": "string" }, "amount": { "type": "integer", "description": "Amount in kobo/pesewas or the provider's smallest currency unit." }, "currency": { "type": "string" }, "reference": { "type": "string" }, "callback_url": { "type": "string" }, "plan": { "type": "string" }, "invoice_limit": { "type": "integer" }, "metadata": { "type": "object" }, "channels": { "type": "array" }, "split_code": { "type": "string" }, "subaccount": { "type": "string" }, "transaction_charge": { "type": "integer" }, "bearer": { "type": "string" } }, "required": ["email", "amount"] }
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "verify_transaction",
|
|
32
|
+
"description": "Verify a Paystack transaction by reference.",
|
|
33
|
+
"method": "GET",
|
|
34
|
+
"path": "/transaction/verify/{reference}",
|
|
35
|
+
"input_schema": { "type": "object", "properties": { "reference": { "type": "string" } }, "required": ["reference"] }
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "list_transactions",
|
|
39
|
+
"description": "List Paystack transactions.",
|
|
40
|
+
"method": "GET",
|
|
41
|
+
"path": "/transaction",
|
|
42
|
+
"input_schema": { "type": "object", "properties": { "perPage": { "type": "integer" }, "page": { "type": "integer" }, "customer": { "type": "string" }, "status": { "type": "string" }, "from": { "type": "string" }, "to": { "type": "string" }, "amount": { "type": "integer" } } }
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "get_transaction",
|
|
46
|
+
"description": "Fetch a Paystack transaction by numeric ID.",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"path": "/transaction/{transaction_id}",
|
|
49
|
+
"input_schema": { "type": "object", "properties": { "transaction_id": { "type": "string" } }, "required": ["transaction_id"] }
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "charge_authorization",
|
|
53
|
+
"description": "Charge a returning customer using a saved authorization code.",
|
|
54
|
+
"method": "POST",
|
|
55
|
+
"path": "/transaction/charge_authorization",
|
|
56
|
+
"input_schema": { "type": "object", "properties": { "authorization_code": { "type": "string" }, "email": { "type": "string" }, "amount": { "type": "integer" }, "currency": { "type": "string" }, "reference": { "type": "string" }, "metadata": { "type": "object" }, "channels": { "type": "array" }, "subaccount": { "type": "string" }, "transaction_charge": { "type": "integer" }, "bearer": { "type": "string" } }, "required": ["authorization_code", "email", "amount"] }
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "create_refund",
|
|
60
|
+
"description": "Create a Paystack refund for a transaction.",
|
|
61
|
+
"method": "POST",
|
|
62
|
+
"path": "/refund",
|
|
63
|
+
"input_schema": { "type": "object", "properties": { "transaction": { "type": "string" }, "amount": { "type": "integer" }, "currency": { "type": "string" }, "customer_note": { "type": "string" }, "merchant_note": { "type": "string" } }, "required": ["transaction"] }
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "list_refunds",
|
|
67
|
+
"description": "List Paystack refunds.",
|
|
68
|
+
"method": "GET",
|
|
69
|
+
"path": "/refund",
|
|
70
|
+
"input_schema": { "type": "object", "properties": { "perPage": { "type": "integer" }, "page": { "type": "integer" }, "reference": { "type": "string" }, "currency": { "type": "string" }, "from": { "type": "string" }, "to": { "type": "string" } } }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "create_customer",
|
|
74
|
+
"description": "Create a Paystack customer.",
|
|
75
|
+
"method": "POST",
|
|
76
|
+
"path": "/customer",
|
|
77
|
+
"input_schema": { "type": "object", "properties": { "email": { "type": "string" }, "first_name": { "type": "string" }, "last_name": { "type": "string" }, "phone": { "type": "string" }, "metadata": { "type": "object" } }, "required": ["email"] }
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "list_customers",
|
|
81
|
+
"description": "List Paystack customers.",
|
|
82
|
+
"method": "GET",
|
|
83
|
+
"path": "/customer",
|
|
84
|
+
"input_schema": { "type": "object", "properties": { "perPage": { "type": "integer" }, "page": { "type": "integer" }, "from": { "type": "string" }, "to": { "type": "string" } } }
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "get_customer",
|
|
88
|
+
"description": "Fetch a Paystack customer by email, customer code, or ID.",
|
|
89
|
+
"method": "GET",
|
|
90
|
+
"path": "/customer/{customer_id}",
|
|
91
|
+
"input_schema": { "type": "object", "properties": { "customer_id": { "type": "string" } }, "required": ["customer_id"] }
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "update_customer",
|
|
95
|
+
"description": "Update a Paystack customer.",
|
|
96
|
+
"method": "PUT",
|
|
97
|
+
"path": "/customer/{customer_code}",
|
|
98
|
+
"input_schema": { "type": "object", "properties": { "customer_code": { "type": "string" }, "first_name": { "type": "string" }, "last_name": { "type": "string" }, "phone": { "type": "string" }, "metadata": { "type": "object" } }, "required": ["customer_code"] }
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "create_plan",
|
|
102
|
+
"description": "Create a Paystack subscription plan.",
|
|
103
|
+
"method": "POST",
|
|
104
|
+
"path": "/plan",
|
|
105
|
+
"input_schema": { "type": "object", "properties": { "name": { "type": "string" }, "amount": { "type": "integer" }, "interval": { "type": "string" }, "description": { "type": "string" }, "send_invoices": { "type": "boolean" }, "send_sms": { "type": "boolean" }, "currency": { "type": "string" }, "invoice_limit": { "type": "integer" } }, "required": ["name", "amount", "interval"] }
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "list_plans",
|
|
109
|
+
"description": "List Paystack plans.",
|
|
110
|
+
"method": "GET",
|
|
111
|
+
"path": "/plan",
|
|
112
|
+
"input_schema": { "type": "object", "properties": { "perPage": { "type": "integer" }, "page": { "type": "integer" }, "status": { "type": "string" }, "interval": { "type": "string" }, "amount": { "type": "integer" } } }
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "get_plan",
|
|
116
|
+
"description": "Fetch a Paystack plan by ID or plan code.",
|
|
117
|
+
"method": "GET",
|
|
118
|
+
"path": "/plan/{plan_id}",
|
|
119
|
+
"input_schema": { "type": "object", "properties": { "plan_id": { "type": "string" } }, "required": ["plan_id"] }
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "create_subscription",
|
|
123
|
+
"description": "Create a Paystack subscription.",
|
|
124
|
+
"method": "POST",
|
|
125
|
+
"path": "/subscription",
|
|
126
|
+
"input_schema": { "type": "object", "properties": { "customer": { "type": "string" }, "plan": { "type": "string" }, "authorization": { "type": "string" }, "start_date": { "type": "string" } }, "required": ["customer", "plan"] }
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "list_subscriptions",
|
|
130
|
+
"description": "List Paystack subscriptions.",
|
|
131
|
+
"method": "GET",
|
|
132
|
+
"path": "/subscription",
|
|
133
|
+
"input_schema": { "type": "object", "properties": { "perPage": { "type": "integer" }, "page": { "type": "integer" }, "customer": { "type": "string" }, "plan": { "type": "string" } } }
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "get_subscription",
|
|
137
|
+
"description": "Fetch a Paystack subscription by ID or subscription code.",
|
|
138
|
+
"method": "GET",
|
|
139
|
+
"path": "/subscription/{subscription_id}",
|
|
140
|
+
"input_schema": { "type": "object", "properties": { "subscription_id": { "type": "string" } }, "required": ["subscription_id"] }
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "disable_subscription",
|
|
144
|
+
"description": "Disable a Paystack subscription using its code and email token.",
|
|
145
|
+
"method": "POST",
|
|
146
|
+
"path": "/subscription/disable",
|
|
147
|
+
"input_schema": { "type": "object", "properties": { "code": { "type": "string" }, "token": { "type": "string" } }, "required": ["code", "token"] }
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "enable_subscription",
|
|
151
|
+
"description": "Enable a Paystack subscription using its code and email token.",
|
|
152
|
+
"method": "POST",
|
|
153
|
+
"path": "/subscription/enable",
|
|
154
|
+
"input_schema": { "type": "object", "properties": { "code": { "type": "string" }, "token": { "type": "string" } }, "required": ["code", "token"] }
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "create_payment_page",
|
|
158
|
+
"description": "Create a Paystack payment page.",
|
|
159
|
+
"method": "POST",
|
|
160
|
+
"path": "/page",
|
|
161
|
+
"input_schema": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "amount": { "type": "integer" }, "currency": { "type": "string" }, "slug": { "type": "string" }, "metadata": { "type": "object" }, "redirect_url": { "type": "string" }, "custom_fields": { "type": "array" } }, "required": ["name"] }
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "list_payment_pages",
|
|
165
|
+
"description": "List Paystack payment pages.",
|
|
166
|
+
"method": "GET",
|
|
167
|
+
"path": "/page",
|
|
168
|
+
"input_schema": { "type": "object", "properties": { "perPage": { "type": "integer" }, "page": { "type": "integer" } } }
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "get_payment_page",
|
|
172
|
+
"description": "Fetch a Paystack payment page by ID or slug.",
|
|
173
|
+
"method": "GET",
|
|
174
|
+
"path": "/page/{page_id}",
|
|
175
|
+
"input_schema": { "type": "object", "properties": { "page_id": { "type": "string" } }, "required": ["page_id"] }
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "create_transfer_recipient",
|
|
179
|
+
"description": "Create a Paystack transfer recipient.",
|
|
180
|
+
"method": "POST",
|
|
181
|
+
"path": "/transferrecipient",
|
|
182
|
+
"input_schema": { "type": "object", "properties": { "type": { "type": "string" }, "name": { "type": "string" }, "account_number": { "type": "string" }, "bank_code": { "type": "string" }, "currency": { "type": "string" }, "description": { "type": "string" }, "metadata": { "type": "object" } }, "required": ["type", "name", "account_number", "bank_code"] }
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "list_transfer_recipients",
|
|
186
|
+
"description": "List Paystack transfer recipients.",
|
|
187
|
+
"method": "GET",
|
|
188
|
+
"path": "/transferrecipient",
|
|
189
|
+
"input_schema": { "type": "object", "properties": { "perPage": { "type": "integer" }, "page": { "type": "integer" }, "from": { "type": "string" }, "to": { "type": "string" } } }
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "create_transfer",
|
|
193
|
+
"description": "Initiate a Paystack transfer to a recipient.",
|
|
194
|
+
"method": "POST",
|
|
195
|
+
"path": "/transfer",
|
|
196
|
+
"input_schema": { "type": "object", "properties": { "source": { "type": "string", "default": "balance" }, "amount": { "type": "integer" }, "recipient": { "type": "string" }, "reason": { "type": "string" }, "currency": { "type": "string" }, "reference": { "type": "string" } }, "required": ["source", "amount", "recipient"] }
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "list_transfers",
|
|
200
|
+
"description": "List Paystack transfers.",
|
|
201
|
+
"method": "GET",
|
|
202
|
+
"path": "/transfer",
|
|
203
|
+
"input_schema": { "type": "object", "properties": { "perPage": { "type": "integer" }, "page": { "type": "integer" }, "customer": { "type": "string" }, "from": { "type": "string" }, "to": { "type": "string" } } }
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"health_check": { "tool": "list_transactions", "input": { "perPage": 1 } }
|
|
207
|
+
}
|