TgPay Crypto Merchant API
com.tgpaybot/merchant-api
MCP server OK 32 tools
Accept crypto payments via the TgPay Crypto Merchant API — invoices, subscriptions, webhooks.
Technical sheet
- Author
- tgpaybot.com (registry namespace)
- Repository
- —
- Site
- app.tgpaycrypto.com/mcp
- Version
- 1.0.3
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://app.tgpaycrypto.com/mcp Streamable HTTP
- Tools
- 32
- Categories
- Finance and payments
- Last updated
- 16 Nov 2026
- Published
- 16 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/com.tgpaybot/merchant-api)<a href="https://latlas.dev/en/mcp/com.tgpaybot/merchant-api"><img src="https://latlas.dev/badge/statut/mcp/com.tgpaybot/merchant-api.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.tgpaybot/merchant-api)<a href="https://latlas.dev/en/mcp/com.tgpaybot/merchant-api"><img src="https://latlas.dev/badge/fiche/com.tgpaybot/merchant-api.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://app.tgpaycrypto.com/mcp
- Last result
- OK 28 Nov 2026, 11:32
- Response time
- 502 ms (initialize + tools/list)
- Protocol version
- 2025-06-18
- Announced name
- tgpay 759578be
- Tools
- 32
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:32 | OK | 502 ms | 32 |
Exposed tools (32, from tools/list, 28 Nov 2026)
get_docs
Read a TgPay Crypto Merchant API integration doc. START HERE before integrating: topics quickstart, invoices, subscriptions, transfers-checks, webhooks, errors.
| Parameter | Type | Required | Description |
|---|---|---|---|
| topic | string | yes | quickstart | invoices | subscriptions | transfers-checks | webhooks | errors |
connect
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 and issue token") in the @tgpaycryptobot bot — then call connect_status with the poll_secret. Use only when no API token is configured yet.
| Parameter | Type | Required | Description |
|---|---|---|---|
| app_name | string | yes | Merchant app name shown to the approving human, 1-64 chars (e.g. the project/bot name). |
connect_status
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| poll_secret | string | yes | The poll_secret from the connect tool. |
getMe
Verify the token: app id, name, webhook config, token scopes.
No parameters.
getBalance
Merchant app balance per asset (available + onhold).
No parameters.
getCurrencies
Supported crypto assets (code/name/decimals) and fiats.
No parameters.
getExchangeRates
Current asset↔fiat display rates.
No parameters.
getStats
App volume/count stats for a period.
| Parameter | Type | Required | Description |
|---|---|---|---|
| start_at | string | no | ISO 8601 period start. |
| end_at | string | no | ISO 8601 period end. |
getInvoices
List invoices (newest first).
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | no | Filter by asset code. |
| fiat | string | no | Filter by fiat code. |
| invoice_ids | string | no | Comma-separated ids. |
| parent_invoice_id | integer | no | The payments of this multi-payment invoice. |
| client_invoice_id | string | no | Your own id given at createInvoice. |
| status | string | no | active | paid | expired. |
| offset | integer | no | Skip this many. |
| count | integer | no | Page size (default 100). |
getChecks
List checks.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | no | Filter by asset code. |
| check_ids | string | no | Comma-separated ids. |
| status | string | no | active | activated | expired. |
| offset | integer | no | Skip this many. |
| count | integer | no | Page size (default 100). |
getTransfers
List app→user transfers.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | no | Filter by asset code. |
| transfer_ids | string | no | Comma-separated ids. |
| spend_id | string | no | Filter by idempotency key. |
| status | string | no | pending (parked until the recipient opens the bot) | completed | returned. |
| offset | integer | no | Skip this many. |
| count | integer | no | Page size (default 100). |
getInvoicePayments
List 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| invoice_id | integer | yes | The invoice id. |
getWithdrawals
List the app's on-chain withdrawals and their status.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | no | Filter by asset code. |
| withdrawal_ids | string | no | Comma-separated withdrawal ids (uuid). |
| spend_id | string | no | Filter by idempotency key. |
| status | string | no | processing | completed | failed. |
| offset | integer | no | Skip this many. |
| count | integer | no | Page size (default 100). |
getWithdrawAddresses
List the app's saved withdrawal addresses (address_id, network, address, memo, when each becomes usable).
No parameters.
getWithdrawFees
What 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | no | Only this asset. |
| network | string | no | Only this network code. |
getWithdrawalLinks
List the app's withdrawal links (status active | expired | deleted), newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| offset | integer | no | Skip this many. |
| count | integer | no | Page size (default 100). |
getExchangePairs
Assets the app balance can be exchanged between (any two differing ones are a pair) and the USD limits.
No parameters.
getExchangeEstimate
Preview an exchange of the app balance at the current rate; moves nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_from | string | yes | Asset to sell. |
| asset_to | string | yes | Asset to buy. |
| amount | string | no | Amount of asset_from to spend (or pass amount_to). |
| amount_to | string | no | Exact amount of asset_to to receive (instead of amount); amount_from in the answer is what it costs. |
getExchanges
List the app's balance exchanges.
| Parameter | Type | Required | Description |
|---|---|---|---|
| exchange_ids | string | no | Comma-separated exchange ids (uuid). |
| spend_id | string | no | Filter by idempotency key. |
| offset | integer | no | Skip this many. |
| count | integer | no | Page size (default 100). |
getSubscriptionPlans
List subscription plans.
No parameters.
getSubscriptions
List subscriptions (subscribers).
| Parameter | Type | Required | Description |
|---|---|---|---|
| plan_id | integer | no | Filter by plan. |
| user_id | integer | no | Filter by Telegram user id. |
| status | string | no | active | grace | cancelled | expired. |
| offset | integer | no | Skip this many. |
| count | integer | no | Page size (default 100, max 500). |
createInvoice
Create a one-off payment invoice; the payer opens result.mini_app_invoice_url. See the invoices doc.
| Parameter | Type | Required | Description |
|---|---|---|---|
| currency_type | string | no | crypto (default) | fiat. |
| asset | string | no | Asset code (crypto mode). |
| amount | string | no | Decimal string in MAJOR units, e.g. "5" = 5 USDT. Never a float. Required unless open_amount is true. |
| open_amount | boolean | no | Crypto mode only: the payer chooses the amount (donation) — pass true and NO amount. |
| fiat | string | no | Fiat code (fiat mode). |
| accepted_assets | string | no | Fiat mode: comma-separated assets the payer may pay in. |
| rate_lock_seconds | integer | no | Fiat mode: freeze crypto quotes for this long. |
| description | string | no | Shown to the payer (≤1024). |
| hidden_message | string | no | Revealed to the payer ONLY after payment (≤2048). |
| payload | string | no | Opaque data echoed back in the webhook (≤4096). |
| paid_btn_name | string | no | viewItem | openChannel | openBot | callback. |
| paid_btn_url | string | no | URL for the paid button. |
| success_url | string | no | Short form of the paid button: a «Return» button to this link after the payment (not together with paid_btn_*). |
| cancel_url | string | no | A «Return» link shown while the invoice is unpaid. |
| customer | object | no | |
| max_payments | integer | no | Multi-payment invoice (2..1000000): the link takes this many payments, each one its own invoice with `parent_invoice_id`; wallet payments only. |
| client_invoice_id | string | no | Your own id of the invoice (≤64, unique per app): a create that repeats it returns the existing invoice; `getInvoices {client_invoice_id}` finds it. |
| webhook_url | string | no | This operation's own https webhook address — its updates go there instead of the app's `webhook_url`. |
| allow_comments | boolean | no | Default true. |
| allow_anonymous | boolean | no | Let the payer hide from you: `paid_by_user_id` is then null on that payment. Default false. |
| expires_in | integer | no | Invoice TTL in seconds. |
| swap_to | string | no | Auto-convert the received amount to this asset. |
deleteInvoice
Delete an unpaid invoice.
| Parameter | Type | Required | Description |
|---|---|---|---|
| invoice_id | integer | yes | The invoice to delete. |
getInvoiceAddress
The 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 the deadline from the answer UNCHANGED. Money comes IN only. 409 `checkout_disabled` while the app's address payment method is off.
| Parameter | Type | Required | Description |
|---|---|---|---|
| invoice_id | integer | yes | The unpaid invoice. |
| asset | string | yes | Asset the payer sends, e.g. USDT. |
| network | string | yes | Network code, e.g. TRON. |
editCheck
Set or clear the description an active check's page shows. No money moves.
| Parameter | Type | Required | Description |
|---|---|---|---|
| check_id | integer | yes | The check to edit. |
| description | string | no | The new text (≤1024); empty clears it. |
createWithdrawalLink
A 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | yes | Asset code. |
| address | string | yes | The address to receive at. |
| network | string | no | Network code; needed only when the address fits several. |
| amount | string | no | Decimal string in MAJOR units, e.g. "5" = 5 USDT. Never a float. Optional. |
| memo | string | no | Memo / tag, on networks that have one. |
| expires_in | integer | no | Seconds the link works (60..2592000, default 86400). |
deleteWithdrawalLink
Switch a withdrawal link off before its term — it stops opening the form at once.
| Parameter | Type | Required | Description |
|---|---|---|---|
| link_id | string | yes | The link to switch off. |
deleteCheck
Delete an unclaimed check (refunds the hold).
| Parameter | Type | Required | Description |
|---|---|---|---|
| check_id | integer | yes | The check to delete. |
createSubscriptionPlan
Create an IMMUTABLE recurring-billing plan; send payers to result.mini_app_subscribe_url. See the subscriptions doc.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Plan name shown to payers (≤64). |
| asset | string | yes | Asset code, e.g. USDT. |
| amount | string | yes | Decimal string in MAJOR units, e.g. "5" = 5 USDT. Never a float. Charged per period. |
| period_days | integer | yes | Billing period in days. |
archiveSubscriptionPlan
Stop new signups for a plan (live subscriptions keep renewing).
| Parameter | Type | Required | Description |
|---|---|---|---|
| plan_id | integer | yes | The plan to archive. |
cancelSubscription
Stop future charges for one subscription (paid time runs out).
| Parameter | Type | Required | Description |
|---|---|---|---|
| subscription_id | integer | yes | The subscription. |
updateApp
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | no | New app name (1-64). |
| webhook_url | string | no | https URL for webhook delivery; "" clears it. |
| webhook_events | array<string> | no | Extended event types to opt into (invoice_paid is always delivered); [] = invoice_paid-only. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://app.tgpaycrypto.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http merchant-api https://app.tgpaycrypto.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : merchant-api ; URL : https://app.tgpaycrypto.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : merchant-api ; Server URL : https://app.tgpaycrypto.com/mcp ; Create as a plugin{
"mcpServers": {
"merchant-api": {
"url": "https://app.tgpaycrypto.com/mcp"
}
}
}{
"mcpServers": {
"merchant-api": {
"type": "http",
"url": "https://app.tgpaycrypto.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"merchant-api": {
"url": "https://app.tgpaycrypto.com/mcp"
}
}
}{
"mcpServers": {
"merchant-api": {
"httpUrl": "https://app.tgpaycrypto.com/mcp"
}
}
}[mcp_servers.merchant-api]
url = "https://app.tgpaycrypto.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
TgPay Crypto Merchant API · L’Atlas · Tested on
[TgPay Crypto Merchant API — L’Atlas](https://latlas.dev/en/mcp/com.tgpaybot/merchant-api)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.