TchokoPay
API Reference

Your disburse limits

GET /v1/account/disburse-limits/:currency — what you may still send.

GET/v1/account/disburse-limits/:currencyDisburse

Whether you can disburse in a currency at all, what you're allowed to send, and how much of that allowance you've already used. Check it before a batch so you fail early rather than half way through.

Check enabled, not the status code. This endpoint answers 200 OK whether or not you can pay out — "no, and here's why" is a successful answer to a question about your limits. enabled is the only field that tells you a payout would be accepted.

Request

curl https://connect.tchokopay.com/v1/account/disburse-limits/XAF \
  -H "Authorization: Bearer tchoko_live_..."

Response

200 OK

{
  "currency": "XAF",
  "enabled": true,
  "platformEnabled": true,
  "configured": true,
  "blockedBy": null,
  "message": null,
  "perTransaction": 100000,
  "perDay": 500000,
  "perWeek": null,
  "reviewThreshold": 20000,
  "spentToday": 75000,
  "spentThisWeek": 210000,
  "remainingToday": 425000,
  "remainingThisWeek": null
}
FieldDescription
enabledRead this one. true only when a payout would actually be accepted. It is platformEnabled && configured.
platformEnabledPayouts are switched on across TchokoPay. Nothing you can change — contact support.
configuredThe currency's ceilings resolve for your account. Same meaning as enabled minus the platform switch — kept for older integrations.
blockedBy"PLATFORM", "ACCOUNT_DISABLED", "CURRENCY_CLOSED", or null when nothing is blocking. See below.
messagePlain-language reason, or null when enabled is true. Safe to show a human.
perTransactionThe largest single payout allowed. null means no per-payout ceiling.
perDay / perWeekRolling 24-hour and 7-day ceilings. null means no ceiling of that kind.
reviewThresholdAnything above this waits for a person instead of going out immediately. null means nothing is held.
spentToday / spentThisWeekWhat you've already committed in each window.
remainingToday / remainingThisWeekWhat's left. null where there's no ceiling.

The limit fields (perTransaction onwards) are present only when enabled is true.

You don't need a limit set up

The ceilings come from the currency itself. Every currency we support has a maximum, and that maximum is your per-payout ceiling unless support has agreed a different one with you — it's the same ceiling that bounds a collection in that currency, so one number governs money moving in either direction.

Nothing has to be provisioned on your account before you can disburse. perDay and perWeek are null for most accounts, and null means no ceiling of that kind rather than a ceiling of zero.

blockedBy names the exception when there is one:

ValueMeaning
PLATFORMPayouts are off across TchokoPay. Affects everyone.
ACCOUNT_DISABLEDSupport has stopped payouts on your account for this currency.
CURRENCY_CLOSEDThis currency isn't open for movement at all — collections included.

What counts as spent

Every payout that hasn't been declined: PENDING, SENT, PAID and FAILED all count against your allowance. Only REJECTED releases it, because only a rejection actually returns the money.

PENDING counts precisely because it hasn't resolved yet — otherwise you could queue a hundred payouts under a daily cap and have them all clear.

Errors

StatusMeaning
400Unknown currency.
401Missing, invalid, or revoked API key.
403Your key doesn't have the Disburse permission.

On this page