Skip to content
Docs
FR Create an account

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 goesthe customer, in the sheetyou, in the call
You need to knowonly the amountthe number and network, or the address
Wrong numberimpossible: the customer types their ownyour responsibility

Create a payout

POST/api/v1/payouts/linkscreates the payout and returns its token
FieldTypeDescription
amountnumberrequired. The amount in CFA francs. Mobile Money from 500 to 1,500,000; in crypto, converted at the current rate.
titlestringa title shown to the customer (“Your winnings WG-1042”), 80 characters.
description, messagestringa detail, a note for the customer (255 characters).
customer_emaile-mailthe link is also emailed; the customer can withdraw later, from any device.
external_refstringyour reference, returned everywhere.
callback_urlURLyour webhook.
envstringtest 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')
Response (201, shortened)
{
  "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.

Warning
No refunds: a transfer to a wrong number or address does not come back. The sheet says so before confirming.

What happens

Mobile Money

  1. The customer picks the country, the network, types their number and sees what they will receive before confirming.
  2. Tchin takes from your balance in the receiving country; if it is not enough, your other country balances top it up.
  3. The payout goes out within seconds. Not enough across your balances: refused, nothing is taken.

Crypto

  1. The customer picks their coin and pastes their address; it is checked for the chosen network.
  2. The amount is converted at the current rate and taken from your crypto balance.
  3. 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

GET/api/v1/payouts/links/{token}the payout status
POST/api/v1/payouts/links/{token}/cancelcancel it, until the customer has withdrawn
StatusMeaning
openthe customer has not chosen yet: you can cancel
processingthe transfer is in progress at the network
completedthe money has arrived
failedfailed: the money is back on your balances
cancelledcancelled 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.