Skip to content
Docs
FR Create an account

Developer tools

Tchin CLI

Tchin in your terminal: your balances, open methods, create and track payments and payouts, verify a webhook. Node 18+, no dependencies.

Install

macOS, Linux or Windows
curl -fsSL https://tchin.tech/outils/install.sh | sh
irm https://tchin.tech/outils/install.ps1 | iex

Or download tchin-cli.zip and run node tchin.js.

Configure

tchin configurer --publique tchin_pk_... --secrete tchin_sk_... --test
tchin config        # la configuration, clés masquées
  • Keys are stored in ~/.tchin/config.json, readable only by you, or read from TCHIN_PUBLIC_KEY, TCHIN_PRIVATE_KEY and TCHIN_ENV.
  • Default mode: test. Add --live for real.
  • The CLI speaks French or English depending on your system; --lang en or --lang fr to choose.

Commands

tchin solde
tchin moyens                         # réseaux ouverts, par pays, et vos taux
tchin paiement creer --montant 5000 --description "Commande 42"
tchin paiement etat jtkkbphr7azsn3
tchin paiement suivre jtkkbphr7azsn3 # attend le résultat, en direct
tchin versement creer --montant 2000 --email client@exemple.com --oui
tchin versement etat wnbjhfffsnhiu8
tchin versement annuler wnbjhfffsnhiu8
tchin webhook verifier --fichier data.json
tchin mcp
CommandWhat it does
soldeyour balances by country and in crypto, with the total
moyenseach country’s networks, open or paused, and your rates (--versement: those that can receive)
paiement creercreates a payment and gives its payment link
paiement etat, paiement suivrea payment’s status; or wait until it resolves
versement creer, etat, annulera Receive payout (the customer picks where to receive); money out: --oui required
webhook verifierverifies a received webhook’s signature (the data field, as JSON)
mcpthe MCP server URL and how to add it
Tip
--json prints the raw API response, for your scripts. SHA-256 checksums: tchin.tech/outils/SHA256SUMS.txt.