get_docs
Read a TgPay Merchant API integration doc. START HERE before integrating: topics quickstart, invoices, subscriptions, transfers-checks, webhooks, errors.
topic必填com.tgpaybot由 tgpaybot.com 發布v1.0.2更新於 Oct 24, 2026
Accept crypto payments via the TgPay Merchant API — invoices, subscriptions, webhooks.
TgPay Merchant API MCP 伺服器,讓助理建立加密貨幣發票與訂閱方案、查看餘額與統計,並管理 webhook。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.tgpaybot%2Fmerchant-api/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"tgpay-merchant-api": {
"type": "http",
"url": "https://app.tgpaycrypto.com/mcp"
}
}
}Read a TgPay Merchant API integration doc. START HERE before integrating: topics quickstart, invoices, subscriptions, transfers-checks, webhooks, errors.
topic必填Start token issuance WITHOUT the Mini App UI: creates a merchant-app request and returns a t.me approve link plus a poll_secret. Show the link to the human — they approve with one button in the @tgpaycryptobot bot — then call connect_status with the poll_secret. Use only when no API token is configured yet.
app_name必填Poll a connect request. Returns pending | denied | expired, or — once approved — the app id and the API TOKEN (returned exactly once: save it to the project's .env immediately, never print it in logs). The token is SCOPED (read, invoices, subscriptions, webhooks) — it cannot move money out of the app; transfers/refunds/checks need the primary token the human holds in the Mini App. Poll every 3-5 seconds while pending.
poll_secret必填Verify the token: app id, name, webhook config, token scopes.
無需輸入參數。
Merchant app balance per asset (available + onhold).
無需輸入參數。
Supported crypto assets (code/name/decimals) and fiats.
無需輸入參數。
Current asset↔fiat display rates.
無需輸入參數。
App volume/count stats for a period.
end_atstart_atList invoices (newest first).
fiatassetcountoffsetstatusinvoice_idsList checks.
assetcountoffsetstatuscheck_idsList app→user transfers.
assetcountoffsetspend_idtransfer_idsList subscription plans.
無需輸入參數。
List subscriptions (subscribers).
statusplan_iduser_idCreate a one-off payment invoice; the payer opens result.mini_app_invoice_url. See the invoices doc.
fiatassetamountpayloadswap_toexpires_indescriptionpaid_btn_urlcurrency_typepaid_btn_nameallow_commentshidden_message另有 3 個Delete an unpaid invoice.
invoice_id必填Delete an unclaimed check (refunds the hold).
check_id必填Create an IMMUTABLE recurring-billing plan; send payers to result.mini_app_subscribe_url. See the subscriptions doc.
name必填asset必填amount必填period_days必填Stop new signups for a plan (live subscriptions keep renewing).
plan_id必填Stop future charges for one subscription (paid time runs out).
subscription_id必填Update app name / webhook_url (https) / webhook_events opt-in list. Needs the 'webhooks' scope (the connect-issued token has it) or the primary token. See the webhooks doc for the event types and signature verification.
namewebhook_urlwebhook_events已滿足適用檢查項的 72%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在註冊中心條目中發布圖示。
請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。
託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。