Connexion · Inscription

Bienvenue.

Votre e-mail suffit, le compte se crée seul.

Votre code.

Six chiffres envoyés à

Branchez Tchin
sur votre site.

Une API, des kits et des extensions prêtes à l’emploi. Tout s’essaie en mode test.

POST /api/v1/payments
Votre serveur
const tchin = new Tchin(cle, secret);const p = await tchin.creerPaiement(  5000, "Commande 1024");// puis TchinPay.open({ token: p.token })
$tchin = new Tchin\Client($cle, $secret);$p = $tchin->creerPaiement(  5000, 'Commande 1024');// puis TchinPay.open({ token })
tchin = Tchin(cle, secret)p = tchin.creer_paiement(  5000, "Commande 1024")# puis TchinPay.open({ token })
curl https://tchin.tech/api/v1/payments \  -H "TCHIN-PUBLIC-KEY: $CLE" \  -H "TCHIN-PRIVATE-KEY: $SECRET" \  -d amount=5000
200 OK
{  "success": true,  "token": "k3x9pq2m7d1v8a",  "payment_url": "https://tchin.tech/pay/k3x9pq2m7d1v8a",  "env": "test"}