Skip to content

Settlements: withdraw funds to bank or mobile money

A settlement moves your deposit balance, the money collected from your customers, to your own bank, mobile money or USDT account. To pay a third party, use a transfer instead.

  1. Register a payment account. It is the destination of all your settlements, and without it creation fails.
  2. Check your deposit balance for the region concerned.
POST/v1/payment/settlements/
Parameter Type Required Description
amount integer yes Amount to withdraw, in XOF, at least 5,000.
region_or_mmo string yes Deposit balance to debit: bf (Burkina: Orange, Moov, Sank, Coris), moov_bj or mtn_bj.

The request does not contain the destination, because Senfenico uses your registered payment account. The settlement_fees, account_type, iban, provider, phone and usdt_wallet_address fields are refused if sent.

Fenêtre de terminal
curl https://api.senfenico.com/v1/payment/settlements/ \
-H "X-API-KEY: sk_test_..." \
-H "Content-Type: application/json" \
-d '{"amount": 50000, "region_or_mmo": "bf"}'

Response (201):

{
"status": true,
"message": "Settlement created",
"data": {
"reference": "stl_5f0c1d2e3a4b4c5d9e8f7a6b5c4d3e2f",
"amount": 50000,
"settlement_fees": "0.000",
"currency": "XOF",
"status": "processing",
"live_mode": false,
"created_at": "2026-11-26T09:02:44.118020Z",
"updated_at": "2026-11-26T09:02:44.118051Z",
"region_or_mmo": "bf",
"account_type": "mobile",
"iban": null,
"rib": null,
"bank_name": null,
"bank_address": null,
"account_holder_name": null,
"account_holder_address": null,
"swift_bic_code": null,
"provider": "orange_bf",
"phone": "76000000",
"usdt_wallet_address": null
}
}

As soon as it is created, the amount is removed from available and shows in pending on your deposit balance.

Field Type Description
reference string Settlement ID, stl_ prefix.
amount integer Amount withdrawn, in XOF.
settlement_fees decimal string Fee rate as a percentage, fixed at creation ("0.000" = no fee).
currency string Always XOF.
status string processing, in_transit, success or cancelled.
live_mode boolean Mode of the key used.
region_or_mmo string Deposit balance debited: bf, moov_bj or mtn_bj.
account_type string bank, mobile or usdt.
iban, rib, bank_name, bank_address, account_holder_name, account_holder_address, swift_bic_code string or null Bank details (bank account).
provider, phone string or null Operator and number (mobile account).
usdt_wallet_address string or null Wallet address (usdt account).
created_at, updated_at ISO 8601 date (UTC) Creation and last update.

The destination details are copied from your payment account at creation time. Changing the payment account later does not change the destination of a settlement already created. If needed, cancel it and create a new one.

  1. processingwaiting, can be canceled
  2. in_transitpayout under way
    cancelledcanceled, amount returned
  3. successfunds paid out
Settlement status lifecycle
Status Meaning Webhook
processing Request received, waiting to be processed. The only status that can be canceled. settlement.processing
in_transit The payout to your account has been started. settlement.in_transit
success The funds have been paid out. Final status. settlement.success
cancelled Canceled from processing. The amount goes back to available. Final status. settlement.cancelled

Settlements spell the status cancelled with two Ls, while charges use canceled.

GET/v1/payment/settlements/{reference}/
Fenêtre de terminal
curl https://api.senfenico.com/v1/payment/settlements/stl_5f0c1d2e3a4b4c5d9e8f7a6b5c4d3e2f/ \
-H "X-API-KEY: sk_test_..."

The response (200, "message": "Settlement retrieved") contains the full object. An unknown reference, or one from the other mode, returns 404 with "message": "Settlement does not exist with this reference." (no error_code).

GET/v1/payment/settlements/

10 settlements per page, newest first by default. The response contains data (list) and pagination (count, total_pages, current_page, page_size, has_next, has_previous).

Parameter Description
page Page number. A page past the end returns the last one, so stop when has_next is false.
status processing, in_transit, success or cancelled.
region_or_mmo bf, moov_bj or mtn_bj.
reference Contains this text.
date_from, date_to YYYY-MM-DD dates (UTC), inclusive.
amount_min, amount_max Amount bounds, inclusive.
order_by created_at, -created_at, amount, -amount, status, -status.

Settlements have no ext_id.

Fenêtre de terminal
curl "https://api.senfenico.com/v1/payment/settlements/?status=processing" \
-H "X-API-KEY: sk_test_..."
GET/v1/payment/settlements/{reference}/cancel/

Cancellation uses a GET request, not POST. It only works while the settlement is in processing.

Fenêtre de terminal
curl https://api.senfenico.com/v1/payment/settlements/stl_5f0c1d2e3a4b4c5d9e8f7a6b5c4d3e2f/cancel/ \
-H "X-API-KEY: sk_test_..."

The 200 response contains the object with "status": "cancelled" and "message": "Settlement cancelled". Canceling an already canceled settlement also returns 200. If the settlement is already in_transit or success:

{
"status": false,
"message": "['Settlement can only be cancelled if it's in 'processing' status.']"
}
  • A settlement is at least 5,000 XOF.
  • Settlement fees are a percentage specific to your account, fixed in settlement_fees at creation. "0.000" means no fee.
  • The settlement is only accepted if it is covered, fees included, that is available ≥ amount × (1 + settlement_fees / 100).
  • To find out your rate, check your contract or write to contact@senfenico.com.
HTTP error_code Cause Example detail
400 none No payment account registered. "message": "It's impossible to make a settlement without a payment account. …"
400 INVALID_DATA Amount below 5,000. "amount": ["Ensure this value is greater than or equal to 5000."]
400 INVALID_DATA Insufficient deposit balance (fees included). "amount": ["Insufficient balance for the settlement."]
400 INVALID_DATA region_or_mmo missing or invalid. "non_field_errors": ["Invalid data provided for region_or_mmo"]
400 INVALID_DATA A destination field was sent. "phone": ["phone is not allowed."]
400 none Canceling a settlement that is no longer processing. see above
404 none Unknown reference or one from the other mode. "Settlement does not exist with this reference."

For INVALID_DATA errors, details are in errors. See also Error codes.