Choose your integration: checkout, charges or transfers
Senfenico offers two ways to collect money (the hosted payment page and direct charges) and one way to send it (transfers).
Comparison
Section titled “Comparison”| Need | Integration | Effort |
|---|---|---|
| Collect fast, without building a payment screen | Hosted payment page (checkout) | Low |
| Keep the customer in your site or app | Direct charges | Medium |
| Collect in Benin (MTN, Moov) | Direct charges | Medium |
| Pay customers, couriers, partners | Transfers | Medium |
| Pay up to 100 people in one call | Bulk transfers | Medium |
You can combine them: many integrations collect with checkout and pay out with transfers.
Hosted payment page (checkout)
Section titled “Hosted payment page (checkout)”/v1/payment/checkouts/initialize/Your server creates a checkout with the amount, success_url and cancel_url. You redirect the customer to authorization_url. There they pick their operator, enter their number and confirm. Senfenico then sends them back to your site.
| Pros | Limits |
|---|---|
| Fastest integration: one call and one redirect | The customer leaves your page |
| Senfenico handles operator choice, OTP and USSD instructions | Little control over the look |
| One call whatever the operator | Burkina Faso only, without MTN or Moov Benin |
success_url and cancel_url must be valid web URLs (http or https) |
This is the quickstart flow.
Direct charges
Section titled “Direct charges”/v1/payment/charges//v1/payment/charges/submitYou build your own screen. Your server creates a charge with the customer’s operator and number. Depending on the operator, the response asks for an OTP (send_otp) or for approval on the phone (pay_offline). The OTP arrives by SMS; with Orange, the customer generates it by dialing a USSD code. Your server then submits the OTP the customer entered.
| Pros | Limits |
|---|---|
| The customer stays in your interface, ideal for native apps | You handle the OTP screen and the send_otp / pay_offline statuses |
| Every operator, Benin included | You show each operator’s USSD instructions (display_text) |
| Full control of the flow | More cases to test |
Transfers (payouts)
Section titled “Transfers (payouts)”/v1/payment/transfers//v1/payment/transfers/bulk/You send money to a mobile money account. Transfers are processed in a queue. A transfer is created as pending, then moves to success or failed. Track the result with a webhook.
A transfer is debited from your transfer balance for that operator, fees included. You fund that balance with a top-up from the dashboard (Top Up menu). Without enough balance, the API returns 403 MERCHANT_INSUFFICIENT_FUNDS.
Supported operators
Section titled “Supported operators”| Operator | Code | Checkout | Charges | Transfers |
|---|---|---|---|---|
| Orange Money Burkina | orange_bf |
Yes | Yes (OTP) | Yes |
| Moov Money Burkina | moov_bf |
Yes | Yes (OTP or USSD) | Yes |
| Coris Money | coris_bf |
Yes | Yes (OTP) | No |
| Sank Money | sank_bf |
Yes | Yes (OTP) | Yes |
| MTN Benin | mtn_bj |
No | Yes (pay_offline) |
Yes |
| Moov Benin | moov_bj |
No | Yes (pay_offline) |
Yes |
Each operator must also be enabled on your account. If an operator is refused, email contact@senfenico.com. Benin payments are not simulated in test mode.
Mobile apps
Section titled “Mobile apps”The secret key stays on your server. The app calls your backend, which calls Senfenico.
| Integration | In the app |
|---|---|
| Checkout | Open authorization_url in a WebView or the in-app browser. To return to the app, use a Universal Link (iOS) or an App Link (Android) as success_url, or detect the return URL in the WebView. |
| Charges | Build the native screen (operator, number, OTP). Your backend creates the charge and submits the OTP. This is the smoothest flow on mobile. |
Either way, confirm the payment server-side (webhook or fetching the object) before you fulfill the order. Don’t trust what the app reports.