TgPay Merchant API
com.tgpaybot/merchant-apiAccept crypto payments via the TgPay Merchant API — invoices, subscriptions, webhooks.
Score: 100/100
Handshake verified by our own probe.
Tools · 20
Read a TgPay Merchant API integration doc. START HERE before integrating: topics quickstart, invoices, subscriptions, transfers-checks, webhooks, errors.
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 ("Create app …
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)…
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.
List invoices (newest first).
List checks.
List app→user transfers.
List subscription plans.
List subscriptions (subscribers).
Create a one-off payment invoice; the payer opens result.mini_app_invoice_url. See the invoices doc.
Delete an unpaid invoice.
Delete an unclaimed check (refunds the hold).
Create an IMMUTABLE recurring-billing plan; send payers to result.mini_app_subscribe_url. See the subscriptions doc.
Stop new signups for a plan (live subscriptions keep renewing).
Stop future charges for one subscription (paid time runs out).
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 sign…
Resources · 6
tgpay://docs/quickstart
tgpay://docs/invoices
tgpay://docs/subscriptions
tgpay://docs/transfers-checks
tgpay://docs/webhooks
tgpay://docs/errors
How to use
Claude Desktop or claude.ai: add a custom connector (Customize → Connectors; on Team and Enterprise plans an owner adds it under Organization settings → Connectors) with this server URL: https://app.tgpaycrypto.com/mcp
Cursor or Cline: add to your MCP config:
{
"mcpServers": {
"tgpay_merchant_api": {
"url": "https://app.tgpaycrypto.com/mcp",
"transport": "streamable-http"
}
}
}