L'Atlas / Serveurs MCP / TgPay Crypto Merchant API
Serveur MCP

TgPay Crypto Merchant API

com.tgpaybot/merchant-api

Serveur MCP OK 32 outils

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
tgpaybot.com (espace de noms du registre)
Dépôt
—
Site
app.tgpaycrypto.com/mcp
Version
1.0.3
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://app.tgpaycrypto.com/mcp Streamable HTTP
Outils
32
Catégories
Finance et paiement
Dernière mise à jour
16 nov. 2026
Publication
16 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/com.tgpaybot/merchant-api.svg)](https://latlas.dev/mcp/com.tgpaybot/merchant-api)
HTML
<a href="https://latlas.dev/mcp/com.tgpaybot/merchant-api"><img src="https://latlas.dev/badge/fiche/com.tgpaybot/merchant-api.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://app.tgpaycrypto.com/mcp
Dernier résultat
OK 28 nov. 2026, 11:32
Temps de réponse
502 ms (initialize + tools/list)
Version du protocole
2025-06-18
Nom annoncé
tgpay 759578be
Outils
32

Historique

DateRésultatRéponseOutils
28 nov. 2026, 11:32OK502 ms32

Outils exposés (32, réponse à 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.

ParamètreTypeRequisDescription
topicstringouiquickstart | 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.

ParamètreTypeRequisDescription
app_namestringouiMerchant 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.

ParamètreTypeRequisDescription
poll_secretstringouiThe poll_secret from the connect tool.

getMe

Verify the token: app id, name, webhook config, token scopes.

Aucun paramètre.

getBalance

Merchant app balance per asset (available + onhold).

Aucun paramètre.

getCurrencies

Supported crypto assets (code/name/decimals) and fiats.

Aucun paramètre.

getExchangeRates

Current asset↔fiat display rates.

Aucun paramètre.

getStats

App volume/count stats for a period.

ParamètreTypeRequisDescription
start_atstringnonISO 8601 period start.
end_atstringnonISO 8601 period end.

getInvoices

List invoices (newest first).

ParamètreTypeRequisDescription
assetstringnonFilter by asset code.
fiatstringnonFilter by fiat code.
invoice_idsstringnonComma-separated ids.
parent_invoice_idintegernonThe payments of this multi-payment invoice.
client_invoice_idstringnonYour own id given at createInvoice.
statusstringnonactive | paid | expired.
offsetintegernonSkip this many.
countintegernonPage size (default 100).

getChecks

List checks.

ParamètreTypeRequisDescription
assetstringnonFilter by asset code.
check_idsstringnonComma-separated ids.
statusstringnonactive | activated | expired.
offsetintegernonSkip this many.
countintegernonPage size (default 100).

getTransfers

List app→user transfers.

ParamètreTypeRequisDescription
assetstringnonFilter by asset code.
transfer_idsstringnonComma-separated ids.
spend_idstringnonFilter by idempotency key.
statusstringnonpending (parked until the recipient opens the bot) | completed | returned.
offsetintegernonSkip this many.
countintegernonPage 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.

ParamètreTypeRequisDescription
invoice_idintegerouiThe invoice id.

getWithdrawals

List the app's on-chain withdrawals and their status.

ParamètreTypeRequisDescription
assetstringnonFilter by asset code.
withdrawal_idsstringnonComma-separated withdrawal ids (uuid).
spend_idstringnonFilter by idempotency key.
statusstringnonprocessing | completed | failed.
offsetintegernonSkip this many.
countintegernonPage size (default 100).

getWithdrawAddresses

List the app's saved withdrawal addresses (address_id, network, address, memo, when each becomes usable).

Aucun paramètre.

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.

ParamètreTypeRequisDescription
assetstringnonOnly this asset.
networkstringnonOnly this network code.

getWithdrawalLinks

List the app's withdrawal links (status active | expired | deleted), newest first.

ParamètreTypeRequisDescription
offsetintegernonSkip this many.
countintegernonPage size (default 100).

getExchangePairs

Assets the app balance can be exchanged between (any two differing ones are a pair) and the USD limits.

Aucun paramètre.

getExchangeEstimate

Preview an exchange of the app balance at the current rate; moves nothing.

ParamètreTypeRequisDescription
asset_fromstringouiAsset to sell.
asset_tostringouiAsset to buy.
amountstringnonAmount of asset_from to spend (or pass amount_to).
amount_tostringnonExact 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.

ParamètreTypeRequisDescription
exchange_idsstringnonComma-separated exchange ids (uuid).
spend_idstringnonFilter by idempotency key.
offsetintegernonSkip this many.
countintegernonPage size (default 100).

getSubscriptionPlans

List subscription plans.

Aucun paramètre.

getSubscriptions

List subscriptions (subscribers).

ParamètreTypeRequisDescription
plan_idintegernonFilter by plan.
user_idintegernonFilter by Telegram user id.
statusstringnonactive | grace | cancelled | expired.
offsetintegernonSkip this many.
countintegernonPage size (default 100, max 500).

createInvoice

Create a one-off payment invoice; the payer opens result.mini_app_invoice_url. See the invoices doc.

ParamètreTypeRequisDescription
currency_typestringnoncrypto (default) | fiat.
assetstringnonAsset code (crypto mode).
amountstringnonDecimal string in MAJOR units, e.g. "5" = 5 USDT. Never a float. Required unless open_amount is true.
open_amountbooleannonCrypto mode only: the payer chooses the amount (donation) — pass true and NO amount.
fiatstringnonFiat code (fiat mode).
accepted_assetsstringnonFiat mode: comma-separated assets the payer may pay in.
rate_lock_secondsintegernonFiat mode: freeze crypto quotes for this long.
descriptionstringnonShown to the payer (≤1024).
hidden_messagestringnonRevealed to the payer ONLY after payment (≤2048).
payloadstringnonOpaque data echoed back in the webhook (≤4096).
paid_btn_namestringnonviewItem | openChannel | openBot | callback.
paid_btn_urlstringnonURL for the paid button.
success_urlstringnonShort form of the paid button: a «Return» button to this link after the payment (not together with paid_btn_*).
cancel_urlstringnonA «Return» link shown while the invoice is unpaid.
customerobjectnon
max_paymentsintegernonMulti-payment invoice (2..1000000): the link takes this many payments, each one its own invoice with `parent_invoice_id`; wallet payments only.
client_invoice_idstringnonYour 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_urlstringnonThis operation's own https webhook address — its updates go there instead of the app's `webhook_url`.
allow_commentsbooleannonDefault true.
allow_anonymousbooleannonLet the payer hide from you: `paid_by_user_id` is then null on that payment. Default false.
expires_inintegernonInvoice TTL in seconds.
swap_tostringnonAuto-convert the received amount to this asset.

deleteInvoice

Delete an unpaid invoice.

ParamètreTypeRequisDescription
invoice_idintegerouiThe 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.

ParamètreTypeRequisDescription
invoice_idintegerouiThe unpaid invoice.
assetstringouiAsset the payer sends, e.g. USDT.
networkstringouiNetwork code, e.g. TRON.

editCheck

Set or clear the description an active check's page shows. No money moves.

ParamètreTypeRequisDescription
check_idintegerouiThe check to edit.
descriptionstringnonThe 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.

ParamètreTypeRequisDescription
assetstringouiAsset code.
addressstringouiThe address to receive at.
networkstringnonNetwork code; needed only when the address fits several.
amountstringnonDecimal string in MAJOR units, e.g. "5" = 5 USDT. Never a float. Optional.
memostringnonMemo / tag, on networks that have one.
expires_inintegernonSeconds the link works (60..2592000, default 86400).

deleteWithdrawalLink

Switch a withdrawal link off before its term — it stops opening the form at once.

ParamètreTypeRequisDescription
link_idstringouiThe link to switch off.

deleteCheck

Delete an unclaimed check (refunds the hold).

ParamètreTypeRequisDescription
check_idintegerouiThe check to delete.

createSubscriptionPlan

Create an IMMUTABLE recurring-billing plan; send payers to result.mini_app_subscribe_url. See the subscriptions doc.

ParamètreTypeRequisDescription
namestringouiPlan name shown to payers (≤64).
assetstringouiAsset code, e.g. USDT.
amountstringouiDecimal string in MAJOR units, e.g. "5" = 5 USDT. Never a float. Charged per period.
period_daysintegerouiBilling period in days.

archiveSubscriptionPlan

Stop new signups for a plan (live subscriptions keep renewing).

ParamètreTypeRequisDescription
plan_idintegerouiThe plan to archive.

cancelSubscription

Stop future charges for one subscription (paid time runs out).

ParamètreTypeRequisDescription
subscription_idintegerouiThe 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.

ParamètreTypeRequisDescription
namestringnonNew app name (1-64).
webhook_urlstringnonhttps URL for webhook delivery; "" clears it.
webhook_eventsarray<string>nonExtended event types to opt into (invoice_paid is always delivered); [] = invoice_paid-only.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://app.tgpaycrypto.com/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http merchant-api https://app.tgpaycrypto.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : merchant-api ; URL : https://app.tgpaycrypto.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : merchant-api ; Server URL : https://app.tgpaycrypto.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "merchant-api": {
      "url": "https://app.tgpaycrypto.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "merchant-api": {
      "type": "http",
      "url": "https://app.tgpaycrypto.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "merchant-api": {
      "url": "https://app.tgpaycrypto.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "merchant-api": {
      "httpUrl": "https://app.tgpaycrypto.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.merchant-api]
url = "https://app.tgpaycrypto.com/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

TgPay Crypto Merchant API · L’Atlas · Test du

Markdown
[TgPay Crypto Merchant API — L’Atlas](https://latlas.dev/mcp/com.tgpaybot/merchant-api)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.