get_docs
Read a TgPay Merchant API integration doc. START HERE before integrating: topics quickstart, invoices, subscriptions, transfers-checks, webhooks, errors.
topicrequiredcom.tgpaybotPublished by tgpaybot.comv1.0.2Updated Oct 24, 2026
Accept crypto payments via the TgPay Merchant API — invoices, subscriptions, webhooks.
TgPay Merchant API MCP server that lets an assistant create crypto invoices and subscription plans, review balances and stats, and manage webhooks.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/com.tgpaybot%2Fmerchant-api/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"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.
topicrequiredStart 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_namerequiredPoll 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_secretrequiredVerify the token: app id, name, webhook config, token scopes.
Takes no parameters.
Merchant app balance per asset (available + onhold).
Takes no parameters.
Supported crypto assets (code/name/decimals) and fiats.
Takes no parameters.
Current asset↔fiat display rates.
Takes no parameters.
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.
Takes no parameters.
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 moreDelete an unpaid invoice.
invoice_idrequiredDelete an unclaimed check (refunds the hold).
check_idrequiredCreate an IMMUTABLE recurring-billing plan; send payers to result.mini_app_subscribe_url. See the subscriptions doc.
namerequiredassetrequiredamountrequiredperiod_daysrequiredStop new signups for a plan (live subscriptions keep renewing).
plan_idrequiredStop future charges for one subscription (paid time runs out).
subscription_idrequiredUpdate 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_events72% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Publish an icon in the registry entry.
Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.
A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.