Send money
Receive
Winnings, a balance withdrawal on your platform, a seller’s earnings: you set the amount, and your customer chooses where to receive it in the Tchin sheet, a Mobile Money number or a crypto address.
Receive or direct payout?
| Receive (this page) | Direct payout | |
|---|---|---|
| Who chooses where the money goes | the customer, in the sheet | you, in the call |
| You need to know | only the amount | the number and network, or the address |
| Wrong number | impossible: the customer types their own | your responsibility |
Create a payout
/api/v1/payouts/linkscreates the payout and returns its token| Field | Type | Description |
|---|---|---|
amount | number | required. The amount in CFA francs. Mobile Money from 500 to 1,500,000; in crypto, converted at the current rate. |
title | string | a title shown to the customer (“Your winnings WG-1042”), 80 characters. |
description, message | string | a detail, a note for the customer (255 characters). |
customer_email | the link is also emailed; the customer can withdraw later, from any device. | |
external_ref | string | your reference, returned everywhere. |
callback_url | URL | your webhook. |
env | string | test or live. Default: live. |
curl -X POST https://tchin.tech/api/v1/payouts/links \
-H "TCHIN-PUBLIC-KEY: $TCHIN_PUBLIC_KEY" -H "TCHIN-PRIVATE-KEY: $TCHIN_PRIVATE_KEY" \
-H "Content-Type: application/json" -H "Accept: application/json" \
-d '{"amount": 15000, "title": "Vos gains WG-1042", "external_ref": "WG-1042",
"callback_url": "https://wintg.group/webhook-tchin", "env": "live"}'$v = $tchin->creerVersement(15000, ['title' => 'Vos gains WG-1042', 'external_ref' => 'WG-1042', 'env' => 'live'], 'https://wintg.group/webhook-tchin');const v = await tchin.creerVersement(15000, { title: 'Vos gains WG-1042', external_ref: 'WG-1042', env: 'live' }, 'https://wintg.group/webhook-tchin');v = tchin.creer_versement(15000, 'https://wintg.group/webhook-tchin', title='Vos gains WG-1042', external_ref='WG-1042', env='live'){
"success": true,
"token": "wnbjhfffsnhiu8",
"url": "https://tchin.tech/retrait/wnbjhfffsnhiu8",
"payout": {
"token": "wnbjhfffsnhiu8",
"status": "open",
"method": "choice",
"amount": 15000,
"currency": "XOF",
"mode": "live",
"external_ref": "WG-1042",
"created_at": "2026-11-23T14:20:05+00:00"
}
}Then open the Receive sheet in your page:
<script src="https://tchin.tech/js/tchin-pay.js"></script>
<script>
TchinPay.receive({
token: v.token,
onSuccess: function () { /* l'argent est parti vers le client */ },
onPending: function () { /* envoi en cours chez le réseau */ },
onFailed: function () { /* échec, ou versement annulé */ },
onClose: function () {},
apparence: { couleur: '#0B6E4F', logo: 'noir' } // facultatif
});
</script>Without JavaScript, give the customer the url link: the same sheet opens as a full page.
What happens
Mobile Money
- The customer picks the country, the network, types their number and sees what they will receive before confirming.
- Tchin takes from your balance in the receiving country; if it is not enough, your other country balances top it up.
- The payout goes out within seconds. Not enough across your balances: refused, nothing is taken.
Crypto
- The customer picks their coin and pastes their address; it is checked for the chosen network.
- The amount is converted at the current rate and taken from your crypto balance.
- The transfer goes on-chain; confirmation takes seconds to minutes.
A link works once. Fees follow your app’s payout fees setting: on you (the customer receives exactly amount) or on them (taken from the amount).
Track and cancel
/api/v1/payouts/links/{token}the payout status/api/v1/payouts/links/{token}/cancelcancel it, until the customer has withdrawn| Status | Meaning |
|---|---|
open | the customer has not chosen yet: you can cancel |
processing | the transfer is in progress at the network |
completed | the money has arrived |
failed | failed: the money is back on your balances |
cancelled | cancelled by you |
The response also gives method (choice, then mobile_money or crypto), payout_currency, fee, net, recipient (where the money went), fail_reason and paid_at.
Webhook
On each status change (except open), once per status, your callback_url receives a signed webhook with kind = "payout_link", reference = the payout token, and the recipient, payout_currency and external_ref fields. With "env": "test", nothing is sent and the payout becomes completed right away.