WavePay Payments
Payments MCP: self-serve merchant key, PayNow + PayPal checkouts.
我該用這個嗎
品質與安全性
發現項目(2)
- LOW在 wavepay_pricing 中
- LOW在 wavepay_checkout_status 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"wavepay": {
"url": "https://t3rnel-wavepay-production.t3ratech.workers.dev/mcp"
}
}
}遠端端點
https://t3rnel-wavepay-production.t3ratech.workers.dev/mcpstreamable-http它能做什麼
工具清單
工具(11)
🟡wavepay_register(name, ownerEmail)
Register a WavePay merchant account. Returns a live merchant key (key) and a test-mode key (testKey) once — save both; only their hashes are stored. Free tier: 25 payments per 30 days; test mode is uncapped and never reaches a provider.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Merchant or product name"
},
"ownerEmail": {
"type": "string",
"description": "Owner contact address"
}
},
"required": [
"name",
"ownerEmail"
]
}🟢wavepay_providers
List the payment rails this deployment can take — PayNow (EcoCash, OneMoney, InnBucks, Telecash, O'mari, ZimSwitch, cards) and PayPal.
輸入結構描述
{
"type": "object",
"properties": {}
}⚪wavepay_pricing(productId)
Live plans and prices for a product, per rail, with the active promotion.
輸入結構描述
{
"type": "object",
"properties": {
"productId": {
"type": "string"
}
},
"required": [
"productId"
]
}⚪wavepay_checkout(productId, planId, provider, email, phone, ...)
Start a checkout for a product/plan on a rail; returns the hosted checkoutUrl to hand the buyer.
輸入結構描述
{
"type": "object",
"properties": {
"productId": {
"type": "string"
},
"planId": {
"type": "string"
},
"provider": {
"type": "string",
"enum": [
"paynow",
"paynow-mobile",
"paypal",
"twocheckout"
]
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"ecocash",
"onemoney",
"innbucks",
"omari"
],
"description": "Wallet rail for provider paynow-mobile; defaults to the deployment's wallet."
}
},
"required": [
"productId",
"planId",
"provider",
"email"
]
}⚪wavepay_checkout_status(reference)
Poll a payment by reference: pending | collected | expired.
輸入結構描述
{
"type": "object",
"properties": {
"reference": {
"type": "string"
}
},
"required": [
"reference"
]
}⚪wavepay_features
Which flagged capabilities (refunds, recurring, bnpl, card_tokens, paypal_billing, disputes) this deployment has switched on for live money. Test-mode keys can use every one.
輸入結構描述
{
"type": "object",
"properties": {}
}⚪wavepay_subscribe(productId, planId, provider, email, phone, ...)
Open a subscription for a customer (needs a merchant key; a mk_test_ key previews it with fake money). collection=automatic charges a saved card or PayPal subscription; invoice_and_remind (default, and the only mode for mobile wallets) sends a payment request each period. Returns the first checkout to hand the buyer.
輸入結構描述
{
"type": "object",
"properties": {
"productId": {
"type": "string"
},
"planId": {
"type": "string"
},
"provider": {
"type": "string",
"enum": [
"paynow",
"paynow-mobile",
"paypal"
]
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"externalSubject": {
"type": "string",
"description": "Your own customer id; owns the entitlement."
},
"collection": {
"type": "string",
"enum": [
"automatic",
"invoice_and_remind"
]
},
"idempotencyKey": {
"type": "string"
}
},
"required": [
"productId",
"planId",
"provider",
"email",
"externalSubject",
"idempotencyKey"
]
}⚪wavepay_bnpl(productId, planId, provider, email, externalSubject, ...)
Buy now, pay later: take a deposit now and collect the rest from the buyer's card on a schedule until the total is paid. Cards only (provider paynow or paypal); prepaid and virtual cards are refused. Needs a merchant key; mk_test_ previews it.
輸入結構描述
{
"type": "object",
"properties": {
"productId": {
"type": "string"
},
"planId": {
"type": "string"
},
"provider": {
"type": "string",
"enum": [
"paynow",
"paypal"
]
},
"email": {
"type": "string"
},
"externalSubject": {
"type": "string"
},
"instalments": {
"type": "integer",
"minimum": 1,
"maximum": 24,
"description": "Payments after the deposit."
},
"depositMinor": {
"type": "integer",
"description": "Deposit in minor units; defaults to an equal share."
},
"intervalDays": {
"type": "integer",
"minimum": 1,
"maximum": 365
},
"idempotencyKey": {
"type": "string"
}
},
"required": [
"productId",
"planId",
"provider",
"email",
"externalSubject",
"instalments",
"idempotencyKey"
]
}⚪wavepay_refund(reference, amountMinor, reason, revokeAccess, idempotencyKey)
Refund a settled payment through its provider (PayPal; test payments with a test key). PayNow documents no refund API, so a PayNow payment is refused with REFUND_UNSUPPORTED rather than recorded as refunded. Needs a merchant key.
輸入結構描述
{
"type": "object",
"properties": {
"reference": {
"type": "string"
},
"amountMinor": {
"type": "integer"
},
"reason": {
"type": "string"
},
"revokeAccess": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string"
}
},
"required": [
"reference",
"idempotencyKey"
]
}⚪wavepay_test_billing_run(advanceDays)
Test mode only (mk_test_ key): run the billing engine as if advanceDays had passed, so renewals, instalments and dunning can be exercised without waiting.
輸入結構描述
{
"type": "object",
"properties": {
"advanceDays": {
"type": "integer",
"minimum": 0,
"maximum": 3650
}
}
}⚪wavepay_catalog
Merchant self-service catalog — the sites, plans, prices and coupons your merchant key can see. Requires the x-wavepay-service-key header carrying an mk_live_… or mk_test_… key.
輸入結構描述
{
"type": "object",
"properties": {}
}社群
證據