FAQ
If your question is missing, email contact@senfenico.com.
Getting started and testing
Section titled “Getting started and testing”How do I test without real money?
Section titled “How do I test without real money?”Use your sk_test_… key. In test mode no operator is called for payments: only the test numbers succeed, with exactly the paired amount and OTP 123456. Any other amount returns OTP_INVALID. See Test mode.
Do test-mode transfers send real money?
Section titled “Do test-mode transfers send real money?”Not in the current version of the API. A transfer created with an sk_test_ key is not sent to the operator and goes straight to success. No specific test number is required for transfers, but still use numbers you own.
How do I go live?
Section titled “How do I go live?”Get your account verification approved, generate your sk_live_ key and recreate your webhooks in live mode, following the go-live checklist.
Why does a charge I just created return 404?
Section titled “Why does a charge I just created return 404?”The charge was created with the other key: an object created in test mode is not visible with the live key, and vice versa. Check the key prefix (sk_test_ or sk_live_) and the object’s live_mode field.
Payments
Section titled “Payments”Why doesn’t the Orange Money customer receive an OTP?
Section titled “Why doesn’t the Orange Money customer receive an OTP?”With Orange, the customer generates the OTP themselves by dialing *144*4*6*amount# (for example *144*4*6*1000#), with the exact charge amount. Show the text from data.display_text to guide them. See Orange Money.
Does Moov Money use OTP or USSD?
Section titled “Does Moov Money use OTP or USSD?”Both. With confirmation_method: "otp" (the default), the customer receives a code by SMS that you submit. With "ussd", the charge becomes pay_offline, the customer dials *555*6# and approves on the phone, then the charge.success webhook notifies you. See Moov Money.
Why is the charge still pending when the customer says they paid?
Section titled “Why is the charge still pending when the customer says they paid?”For pay_offline, confirmation arrives later. Wait for the charge.success webhook or call GET /v1/payment/charges/{reference}/, and don’t fulfill the order on the customer’s word alone.
Can a failed charge become success?
Section titled “Can a failed charge become success?”Yes, rarely: a late confirmation from the operator can arrive, and the API currently still accepts an OTP submitted on a failed charge. Do not rely on that second case; create a new charge after a failed. Your code must still accept a charge.success received after a charge.failed, and fulfill the order at that point.
Can I cancel a charge?
Section titled “Can I cancel a charge?”No, there is no route to cancel a charge. An abandoned charge stays in its pending status. The charge.canceled event exists, but no current API flow triggers it.
How do I avoid duplicate payments?
Section titled “How do I avoid duplicate payments?”There is no idempotency key and ext_id is not unique: look the charge up by ext_id before recreating it, as explained in the reconciliation guide. For webhooks, process each X-Senfenico-Delivery only once.
What do I show the customer when the error message is in English?
Section titled “What do I show the customer when the error message is in English?”Never display message. Map error_code to customer-facing text using the error codes.
Money and fees
Section titled “Money and fees”What are the fees?
Section titled “What are the fees?”Fees are set per account, as a percentage, depending on the operator and the operation. In responses, the fees field holds that rate in percent (for example "2.990" for 2.99%), not an amount. To find out your rates, email contact@senfenico.com.
When does collected money reach my account?
Section titled “When does collected money reach my account?”When you request a settlement (5,000 XOF minimum) to your payment account: bank, mobile money or USDT. It moves through processing, in_transit, then success, and you can cancel it while it is processing. Payout delays are not set in the API; ask support.
How do I refund a customer?
Section titled “How do I refund a customer?”Create a refund, full or partial, with POST /v1/payment/refunds/ on a success charge. It is created as pending, then the Senfenico team processes it and sets it to success or failed, with no guaranteed delay.
Why is a transfer refused with MERCHANT_INSUFFICIENT_FUNDS?
Section titled “Why is a transfer refused with MERCHANT_INSUFFICIENT_FUNDS?”Your transfer balance for that operator does not cover the amount plus fees. Top up that balance, then retry. See Balances.
Webhooks and security
Section titled “Webhooks and security”Why am I not receiving any webhooks?
Section titled “Why am I not receiving any webhooks?”Check, in order:
- A subscription exists for that exact event (one subscription covers one event).
- The subscription is in the right mode (test or live).
- The URL is public.
localhostand private IPs are refused; locally, use a tunnel. - The URL does not redirect (
301,302,httptohttps, trailing/). - Your server answers
2xxwithin 5 seconds.
The webhook details page in the dashboard shows the attempts and your server’s responses. See Webhooks.
Can I trust the checkout success_url redirect?
Section titled “Can I trust the checkout success_url redirect?”No, anyone can open that URL. Confirm the payment server-side before you fulfill the order, as described in Confirm the payment server-side.
Why are my live requests refused with IP_NOT_ALLOWED?
Section titled “Why are my live requests refused with IP_NOT_ALLOWED?”Your live key is restricted to a list of IPs that does not include your server’s outgoing address. The message contains the refused IP; add it in the IP allowlist. Test keys are not affected.
Why isn’t status false when my key is refused?
Section titled “Why isn’t status false when my key is refused?”On an authentication 403, status is the string "False", so check the HTTP status first (see Authentication).