TgPay Crypto Merchant API

com.tgpaybot/merchant-api · v1.0.3 · finance-and-payments

TgPay Crypto Merchant API is healthy: it completed an MCP handshake in 981 ms and exposes 32 tools.

Accept crypto payments via the TgPay Crypto Merchant API — invoices, subscriptions, webhooks.

Endpoint: https://app.tgpaycrypto.com/mcp (streamable-http)

No repository listed · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count32
Latency981 ms
Last checked (UTC)2026-11-30T11:05:18.004Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T11:05:18.004ZHealthy981
2026-11-28T01:40:57.815ZHealthy1590
2026-11-25T18:00:27.791ZHealthy2868
2026-11-25T18:00:27.724ZHealthy2793
2026-11-23T12:21:06.159ZHealthy2545
2026-11-21T08:35:38.088ZHealthy711
2026-11-19T06:00:13.011ZHealthy2009
2026-11-19T06:00:12.270ZHealthy2105
2026-11-17T04:35:21.898ZHealthy952
2026-11-15T04:40:39.174ZHealthy1679
2026-11-13T05:55:27.773ZHealthy1011
2026-11-11T08:10:38.083ZHealthy3051
2026-11-09T11:50:27.332ZHealthy2591
2026-11-07T16:50:20.653ZHealthy1891
2026-11-05T22:40:49.857ZHealthy1336
2026-11-04T05:10:28.134ZHealthy5107
2026-11-02T12:45:26.822ZHealthy2931
2026-10-31T21:30:23.094ZHealthy1812
2026-10-30T07:00:37.219ZHealthy1394
2026-10-28T17:15:13.652ZHealthy2717

Tools (32)

get_docsRead a TgPay Crypto Merchant API integration doc. START HERE before integrating: topics quickstart, invoices, subscriptions, transfers-checks, webhooks, errors.
connectStart 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 and issue token") in the @tgpaycryptobot bot — then call connect_status with the poll_secret. Use on
connect_statusPoll 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 ap
getMeVerify the token: app id, name, webhook config, token scopes.
getBalanceMerchant app balance per asset (available + onhold).
getCurrenciesSupported crypto assets (code/name/decimals) and fiats.
getExchangeRatesCurrent asset↔fiat display rates.
getStatsApp volume/count stats for a period.
getInvoicesList invoices (newest first).
getChecksList checks.
getTransfersList app→user transfers.
getInvoicePaymentsList the receipts of one invoice for reconciliation: the wallet payment and every transfer that came to its payment address (paid, pending, late, review), with the amount, sender and tx hash.
getWithdrawalsList the app's on-chain withdrawals and their status.
getWithdrawAddressesList the app's saved withdrawal addresses (address_id, network, address, memo, when each becomes usable).
getWithdrawFeesWhat a withdrawal costs per asset and network: the network fee charged on top of the amount (`fee`; `fee_empty` to a never-used address where it differs) and the least amount.
getWithdrawalLinksList the app's withdrawal links (status active | expired | deleted), newest first.
getExchangePairsAssets the app balance can be exchanged between (any two differing ones are a pair) and the USD limits.
getExchangeEstimatePreview an exchange of the app balance at the current rate; moves nothing.
getExchangesList the app's balance exchanges.
getSubscriptionPlansList subscription plans.
getSubscriptionsList subscriptions (subscribers).
createInvoiceCreate a one-off payment invoice; the payer opens result.mini_app_invoice_url. See the invoices doc.
deleteInvoiceDelete an unpaid invoice.
getInvoiceAddressThe invoice's own payment address for your checkout page: the payer sends `amount` of `asset` on `network` (plus `memo` when set) before `expires_at`; the invoice is paid by itself once it arrives. A repeat call returns the same address and never extends the window. Show the amount, the network and
editCheckSet or clear the description an active check's page shows. No money moves.
createWithdrawalLinkA link that opens the wallet's Withdraw form for the PERSON who taps it, with your address (and optionally network, amount, memo) filled in — they confirm the withdrawal from their own balance. No app money moves. 403 `withdrawal_link_unavailable` while the feature is off.
deleteWithdrawalLinkSwitch a withdrawal link off before its term — it stops opening the form at once.
deleteCheckDelete an unclaimed check (refunds the hold).
createSubscriptionPlanCreate an IMMUTABLE recurring-billing plan; send payers to result.mini_app_subscribe_url. See the subscriptions doc.
archiveSubscriptionPlanStop new signups for a plan (live subscriptions keep renewing).
cancelSubscriptionStop future charges for one subscription (paid time runs out).
updateAppUpdate 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.