Send money
Direct payouts
You already know the number or address (sellers, couriers, partners): pay out directly from your Tchin balance, with no sheet and nothing to ask the recipient.
To a Mobile Money number
Two calls, so nothing goes out by mistake: prepare (Tchin checks the network, computes fees and reserves the funds), then send.
1. Prepare
/api/v1/disburse/initiateprepares the payout and returns a disburse_token| Field | Type | Description |
|---|---|---|
account_alias | string | required. The number, without country code (“90112233”). |
amount | integer | required. In CFA francs, 200 minimum. |
withdraw_mode | string | required. The network: t-money-togo, moov-togo, mtn-benin, moov-benin, celtiis-benin, orange-money-burkina or moov-burkina. |
callback_url | URL | your webhook. |
curl -X POST https://tchin.tech/api/v1/disburse/initiate \
-H "TCHIN-PUBLIC-KEY: $TCHIN_PUBLIC_KEY" -H "TCHIN-PRIVATE-KEY: $TCHIN_PRIVATE_KEY" \
-H "Content-Type: application/json" -H "Accept: application/json" \
-d '{"account_alias": "90112233", "amount": 5000, "withdraw_mode": "t-money-togo",
"callback_url": "https://wintg.group/webhook-tchin"}'const tchin = (chemin, corps) => fetch('https://tchin.tech/api/v1' + chemin, {
method: 'POST',
headers: { 'TCHIN-PUBLIC-KEY': process.env.TCHIN_PUBLIC_KEY, 'TCHIN-PRIVATE-KEY': process.env.TCHIN_PRIVATE_KEY,
'Content-Type': 'application/json', 'Accept': 'application/json' },
body: JSON.stringify(corps),
}).then((r) => r.json());
const p = await tchin('/disburse/initiate', { account_alias: '90112233', amount: 5000, withdraw_mode: 't-money-togo' });
if (p.success) {
const e = await tchin('/disburse/submit', { disburse_token: p.disburse_token }); // gardez le jeton
}{ "success": true, "disburse_token": "xRu8mZkq4Lw0p2Hn", "country": "TG", "amount": 5000, "fee": 170, "debited": 5170 }amount: what the recipient gets; fee: the fees; debited: what leaves your balance. rebalanced and rebalance_fee appear if your other country balances topped it up.
2. Send
/api/v1/disburse/submit{ "disburse_token": "…" }| status | Meaning | What to do |
|---|---|---|
success | the money is sent | nothing |
pending | the network has not answered yet: the payout may have gone | do not resend; read the status or wait for the webhook |
failed | refused by the network: nothing is debited | fix it, then prepare a new payout |
Calling submit again with an already sent token does not send the money twice: the response says “Already processed”.
3. Track
/api/v1/disburse/status{ "disburse_token": "…" }: the status, read from the networkFees
| App setting | Recipient gets | Your balance pays |
|---|---|---|
| You pay fees (default) | 5 000 F | 5 170 F |
| Recipient pays fees | 4 830 F | 5 000 F |
| Response | Meaning |
|---|---|
| 400 “unsupported withdraw_mode” | the network does not exist or cannot pay out |
| 400 “Insufficient balance…” | even combining your balances; the response gives balance, required and fee |
| 422 “After fees…” | recipient pays fees: they would get less than 100 CFA |
| 423 | payouts suspended by a security check: contact support |
To a crypto address
/api/v1/payouts/cryptosends from your crypto balance, in one call| Field | Type | Description |
|---|---|---|
currency | string | required. Your balance’s coin: TRX, BNB, SOL, GRAM (or USDT TRC-20 if you still hold some). |
address | string | required. The address, on the right network; checked before sending. |
amount | number | required. The coin quantity (at least the minimum). |
reference | string | required. Your unique reference (100 characters): the same reference only sends once. |
callback_url | URL | your webhook. |
curl -X POST https://tchin.tech/api/v1/payouts/crypto \
-H "TCHIN-PUBLIC-KEY: $TCHIN_PUBLIC_KEY" -H "TCHIN-PRIVATE-KEY: $TCHIN_PRIVATE_KEY" \
-H "Content-Type: application/json" -H "Accept: application/json" \
-d '{"currency": "TRX", "address": "TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE", "amount": 50,
"reference": "gain-0042", "callback_url": "https://wintg.group/webhook-tchin"}'{
"success": true,
"payout_id": "9b2f6c1e-3d4a-4f7b-a1c2-5e6f7a8b9c0d",
"reference": "gain-0042",
"status": "sent",
"currency": "TRX",
"address": "TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE",
"amount": 50,
"debited": 51.5,
"fee": 1.5,
"txid": "a3f1…",
"explorer": "https://tronscan.org/#/transaction/a3f1…",
"created_at": "2026-11-23T14:30:00+00:00"
}status: pending, sent, completed (confirmed) or failed (your balance is credited back). Track it: GET /api/v1/payouts/crypto/{payout_id}. Errors return 422 with a clear message; if the network is unreachable, retry with the same reference.
Webhook
When the payout resolves, your callback_url receives a signed webhook with kind = "payout": amount is what left your balance, net what the recipient gets. A crypto payout adds a crypto block (currency, sent, debited, address, txid).
Your balance
/api/v1/balanceyour balances by country and in crypto{
"success": true,
"currency": "XOF",
"total": 418500,
"balances": [
{ "country": "TG", "name": "Togo", "balance": 250000 },
{ "country": "BJ", "name": "Bénin", "balance": 168500 },
{ "country": "BF", "name": "Burkina Faso", "balance": 0 }
],
"crypto": { "TRX": 2400 }
}Read it before a batch of payouts; top up from your Tchin dashboard if needed.