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": {}
}社区
证据