Skip to content

API limits: amounts, batches, pagination, rate limits

Operator-side caps, such as a customer’s daily cap or a recipient’s maximum balance, do not depend on Senfenico and are not listed here.

Amounts are whole XOF integers, with no decimals or cents.

Operation Minimum Maximum
Charge 100 1,000,000
Checkout 100 see below
Transfer 100 1,000,000, and your balance
Settlement 5,000 your balance, fees included
Refund 1 the charge’s remaining unrefunded amount

Checkout initialization sets no maximum, but payment creates a charge, which is capped at 1,000,000 XOF. Keep your checkouts below that amount.

For a transfer, your transfer balance must cover the amount plus fees, otherwise the API returns MERCHANT_INSUFFICIENT_FUNDS.

For a settlement, always pass region_or_mmo (bf, moov_bj or mtn_bj). Without it, the API currently rejects the request with INVALID_DATA.

Only a success charge can be refunded, and the total of its refunds (excluding failed) cannot exceed its amount. The amount field is required.

An out-of-range amount returns INVALID_DATA, with details in errors.amount.

Item Limit
Bulk transfers 100 per request, otherwise BATCH_SIZE_LIMIT_EXCEEDED
List page size 10 items
Refund list page size 50 items
ext_id 200 characters max
Allowed IPs per account 20 addresses (IP allowlist)
Webhooks one event per subscription

Page through lists with ?page=. Each response contains a pagination object:

"pagination": {
"count": 42,
"total_pages": 5,
"current_page": 1,
"page_size": 10,
"has_next": true,
"has_previous": false
}

A page number past the end returns the last page, without an error. Stop when has_next is false.

Calls Limit
Authenticated with X-API-KEY 100,000 requests per hour per account
Unauthenticated 100 requests per hour per IP address

Beyond that, the API answers HTTP 429 with a detail field giving the wait time (see RATE_LIMIT_EXCEEDED). Wait that long before retrying.

Step Timeout
Senfenico to the operator 5 s to connect, 30 s for the response
Your webhook URL 5 s to answer 2xx

When an operator is slow, Senfenico may retry the call, so creating a charge (POST /v1/payment/charges/) and POST /v1/payment/charges/submit can take longer than 30 seconds. For these two requests, set your HTTP client timeout to at least 60 seconds (the guides use 90 s). Other requests do not call the operator during the request, and 20 to 30 seconds are enough.

A timeout on your side does not mean the operation failed. Fetch the object before resending the request, as explained in the reconciliation guide.

The otp field accepts 2 to 10 digits. Spaces and other characters are stripped, and superscript digits (¹²³) are converted.

The OTP’s validity period is set by the operator, not by Senfenico. Ask the customer to enter the code as soon as it arrives.

A pending charge (send_otp, pay_offline) does not expire automatically on Senfenico’s side. If the customer gives up, it stays in that status; do not treat it as paid.

A webhook that does not get a 2xx answer is resent, up to 10 attempts in total over about 66 minutes, with delays of 10 s, 1 min, 5 min, then 10 min. Redirects are not followed. See Webhooks for details.