Skip to main content
Glama

TgPay Crypto Merchant API

Server Details

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

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

B3.3/5.0

Scored across 32 tools

Disambiguation4/5

The tool set is broad but most tools target clearly distinct resources and actions; descriptions help separate similar withdrawal-related tools like getWithdrawals, getWithdrawalLinks, and getWithdrawAddresses. A few naming clusters are close enough to invite occasional misselection, but overall boundaries are clear.

Naming Consistency4/5

Most names follow a predictable camelCase verb_noun pattern such as getInvoices, createInvoice, deleteCheck, and archiveSubscriptionPlan. The main deviations are connect, connect_status, and get_docs, which use different conventions but remain readable.

Tool Count2/5

32 tools is heavy for a single MCP server surface, even for a broad merchant API covering invoices, subscriptions, checks, withdrawals, exchanges, and docs. The set would benefit from consolidation or grouping, especially around withdrawal and read/list operations.

Completeness4/5

Coverage is strong across the main merchant workflows: invoices, subscription plans/subscriptions, checks, withdrawals, exchanges, balance, stats, docs, and app/webhook configuration. Minor gaps include no single-resource getters and no create/transfer-check operations, likely because the scoped token cannot move money out.

Available Tools

32 tools
archiveSubscriptionPlanAInspect

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

Inputs: plan_id (required).

cancelSubscriptionA
Destructive
Inspect

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

Inputs: subscription_id (required).

connectAInspect

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.

Inputs: app_name (required).

connect_statusAInspect

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.

Inputs: poll_secret (required).

createInvoiceAInspect

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

Inputs: fiat, asset, amount, payload, +18 more.

createSubscriptionPlanAInspect

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

Inputs: name (required), asset (required), amount (required), period_days (required).

deleteCheckA
Destructive
Inspect

Delete an unclaimed check (refunds the hold).

Inputs: check_id (required).

deleteInvoiceA
Destructive
Inspect

Delete an unpaid invoice.

Inputs: invoice_id (required).

editCheckAInspect

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

Inputs: check_id (required), description.

getBalanceA
Read-only
Inspect

Merchant app balance per asset (available + onhold).

Inputs: no named parameters.

getChecksC
Read-only
Inspect

List checks.

Inputs: asset, count, offset, status, +1 more.

getCurrenciesA
Read-only
Inspect

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

Inputs: no named parameters.

get_docsA
Read-only
Inspect

Read a TgPay Crypto Merchant API integration doc. START HERE before integrating: topics quickstart, invoices, subscriptions, transfers-checks, webhooks, errors.

Inputs: topic (required).

getExchangeEstimateA
Read-only
Inspect

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

Inputs: asset_to (required), asset_from (required), amount, amount_to.

getExchangePairsA
Read-only
Inspect

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

Inputs: no named parameters.

getExchangeRatesA
Read-only
Inspect

Current asset↔fiat display rates.

Inputs: no named parameters.

getExchangesC
Read-only
Inspect

List the app's balance exchanges.

Inputs: count, offset, spend_id, exchange_ids.

getInvoiceAddressAInspect

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.

Inputs: asset (required), network (required), invoice_id (required).

getInvoicePaymentsA
Read-only
Inspect

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.

Inputs: invoice_id (required).

getInvoicesB
Read-only
Inspect

List invoices (newest first).

Inputs: fiat, asset, count, offset, +4 more.

getMeA
Read-only
Inspect

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

Inputs: no named parameters.

getStatsB
Read-only
Inspect

App volume/count stats for a period.

Inputs: end_at, start_at.

getSubscriptionPlansB
Read-only
Inspect

List subscription plans.

Inputs: no named parameters.

getSubscriptionsC
Read-only
Inspect

List subscriptions (subscribers).

Inputs: count, offset, status, plan_id, +1 more.

getTransfersC
Read-only
Inspect

List app→user transfers.

Inputs: asset, count, offset, status, +2 more.

getWithdrawAddressesA
Read-only
Inspect

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

Inputs: no named parameters.

getWithdrawalsB
Read-only
Inspect

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

Inputs: asset, count, offset, status, +2 more.

getWithdrawFeesB
Read-only
Inspect

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.

Inputs: asset, network.

updateAppAInspect

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.

Inputs: name, webhook_url, webhook_events.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to create, look up, list, and cancel crypto invoices, manage reusable payment links, check USDT and TRX rates, and simulate test payments through a secure API.
      7
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to accept non-custodial crypto payments by creating hosted checkout sessions and invoices, tracking payments and wallets, registering and verifying signed webhooks, purchasing prepaid credits, and querying or exporting the book of record. Test-mode payment simulation lets agents verify the full flow end to end.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Accept crypto payments from AI agents: create an invoice in one call and get a hosted checkout link (USDC/USDT on Celo, Base, Arbitrum, Polygon, BSC). No API key, instant self-custody settlement.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Non-custodial multi-chain crypto payment gateway via CoinVoyage. 15 tools for creating PayOrders, managing webhooks, and cross-chain swaps. Supports BTC, SOL, ETH, Base, Arbitrum, Polygon, BSC, Sui, USDC/USDT.
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources