Webhook events
Each event is named <object>.<new status> and fires when an object is created or changes status. One subscription covers one event; subscribe to each one you need. Setup, headers and retries are described in Webhooks.
In the body you receive, data is a JSON string to decode a second time, after verifying the signature (see Event format).
What data contains
Section titled “What data contains”data contains every field of the object at send time, except internal fields (user account, technical logs, fraud flags, gateway used, supporting documents). Some fields follow the same conventions for every object.
| Field | Format |
|---|---|
amount |
Integer in XOF |
fees |
Fee rate in percent, as a decimal string ("2.990" = 2.99%) |
| Dates | ISO 8601 in UTC, with milliseconds (2026-11-26T10:15:02.481Z) |
live_mode |
true for a live object, false for a test object |
All events
Section titled “All events”| Event | When |
|---|---|
charge.send_otp |
Charge created, waiting for the OTP |
charge.pay_offline |
Charge created, to approve on the phone |
charge.pending |
Charge moved to pending |
charge.success |
Payment confirmed |
charge.failed |
Payment declined or failed |
charge.canceled |
Charge canceled |
checkout.pending |
Checkout created |
checkout.success |
Checkout paid |
checkout.failed |
Checkout payment failed |
transfer.pending |
Transfer created |
transfer.success |
Recipient paid |
transfer.failed |
Transfer failed |
refund.pending |
Refund created |
refund.success |
Refund completed |
refund.failed |
Refund declined |
settlement.processing |
Settlement created |
settlement.in_transit |
Settlement being paid out |
settlement.success |
Settlement paid out |
settlement.cancelled |
Settlement cancelled |
topup.pending |
Top-up declared |
topup.success |
Top-up credited |
topup.failed |
Top-up declined |
For an online shop, charge.success, charge.failed, checkout.success and transfer.success / transfer.failed are usually enough.
Charge
Section titled “Charge”send_otpOTP to submitpay_offlineapprove on the phonesuccessfailed
charge.send_otp
Section titled “charge.send_otp”Sent when an Orange Money, Coris Money, Sank Money or Moov Money (OTP mode) charge is created. The customer must get an OTP, which you submit.
charge.pay_offline
Section titled “charge.pay_offline”Sent when a Moov Money (USSD mode), MTN Mobile Money Benin or Moov Benin charge is created. The customer approves on their phone; wait for charge.success.
charge.pending
Section titled “charge.pending”A rare intermediate status: charges created through the API start as send_otp or pay_offline. Treat it as “waiting”.
charge.success
Section titled “charge.success”The operator confirmed the payment. This is the event that should trigger order fulfillment. Check amount and live_mode, and process it only once: it can arrive after a charge.failed.
charge.failed
Section titled “charge.failed”The operator declined the payment (wrong OTP or insufficient balance, for example) or initialization failed. The reason is not in data; it is only returned in the synchronous response (see Error codes).
charge.canceled
Section titled “charge.canceled”Meant for a canceled charge (cancelled_at, cancellation_reason). No current API flow triggers it.
Sample data (charge)
Section titled “Sample data (charge)”{ "reference": "CH261126-101512-ORANGE_BF-7c41e9a0b2", "ext_id": "ORD-1042", "operator_trans_id": "MP261126.1015.A12345", "amount": 1000, "amount_refunded": 0, "fees": "2.990", "currency": "XOF", "transaction_date": "2026-11-26T10:15:12.204Z", "ip_address": "196.28.245.10", "status": "success", "live_mode": true, "payment_method": "mobile_money", "provider": "orange_bf", "phone": "76000000", "cancelled_at": null, "cancellation_reason": null, "created_at": "2026-11-26T10:15:12.204Z", "updated_at": "2026-11-26T10:16:03.917Z"}ip_address is the address that created the charge (your server, or the customer’s browser for a checkout). amount_refunded is the sum of successful refunds.
Checkout
Section titled “Checkout”A paid checkout also creates a charge: if you subscribe to both, you receive checkout.success and charge.success for the same payment. Deduplicate with charge_reference. If the customer closes the page before the redirect, only charge.success is sent, so listen to it too (see Confirm the payment server-side).
checkout.pending
Section titled “checkout.pending”Sent as soon as the checkout is initialized, before the customer picks an operator (phone and provider empty).
checkout.success
Section titled “checkout.success”The customer paid. charge_reference gives the matching charge.
checkout.failed
Section titled “checkout.failed”The payment attempted from the payment page failed.
Sample data (checkout)
Section titled “Sample data (checkout)”{ "email": "customer@example.com", "reference": "CHK261126-101502--1ba1b4d126", "charge_reference": "CH261126-101512-ORANGE_BF-7c41e9a0b2", "amount": 1000, "success_url": "https://your-site.com/success", "cancel_url": "https://your-site.com/cancel", "phone": "76000000", "provider": "orange_bf", "live_mode": true, "created_at": "2026-11-26T10:15:02.118Z", "updated_at": "2026-11-26T10:16:04.350Z", "status": "success"}Transfer
Section titled “Transfer”transfer.pending
Section titled “transfer.pending”Sent when the transfer is created, before it goes to the operator.
transfer.success
Section titled “transfer.success”The recipient was paid. operator_trans_id is filled when the operator provides it. In test mode the transfer is simulated and goes straight to success.
transfer.failed
Section titled “transfer.failed”The operator refused the transfer. The reason is not included in data; contact support with the reference if needed. The intermediate in_transit status exists but has no event.
Sample data (transfer)
Section titled “Sample data (transfer)”{ "reference": "TR261126-101530-ORANGE_BF-3f9c2a1e7d", "ext_id": "PAY-2026-11-042", "amount": 5000, "fees": "1.500", "recipient_phone": "76000000", "currency": "XOF", "ip_address": "196.28.245.10", "status": "success", "live_mode": true, "payment_method": "mobile_money", "recipient_wallet": "orange_bf", "operator_trans_id": "CI261126.1015.B67890", "created_at": "2026-11-26T10:15:30.552Z", "updated_at": "2026-11-26T10:15:41.093Z"}Refund
Section titled “Refund”refund.pending
Section titled “refund.pending”Sent when the refund is created.
refund.success
Section titled “refund.success”The Senfenico team completed the refund. The charge’s amount_refunded is updated.
refund.failed
Section titled “refund.failed”The refund could not be completed. Its amount becomes available again for another refund.
Sample data (refund)
Section titled “Sample data (refund)”{ "reference": "re_4d1c8e2b7a9f4c3e8d5b6a7f8e9d0c1b", "charge": 48213, "amount": 1000, "mmo": "orange_bf", "reason": "requested_by_customer", "status": "success", "live_mode": true, "note": "Order cancelled", "ext_id": "ORD-1042", "created_at": "2026-11-26T11:02:10.004Z", "updated_at": "2026-11-26T15:40:22.761Z"}In this webhook, charge is an internal numeric ID, not the charge reference. To find the charge, use your ext_id or call GET /v1/payment/refunds/{reference}/, which returns the charge reference. mmo is the operator of the refunded charge.
Settlement
Section titled “Settlement”settlement.processing
Section titled “settlement.processing”Sent when the settlement is created. It can still be canceled.
settlement.in_transit
Section titled “settlement.in_transit”The payout to your payment account is under way. It can no longer be canceled.
settlement.success
Section titled “settlement.success”The payout is complete.
settlement.cancelled
Section titled “settlement.cancelled”The settlement was canceled (by you through the API, or by Senfenico) before payout.
Sample data (settlement)
Section titled “Sample data (settlement)”{ "reference": "stl_9b2e4c7a1f0d4e8b9c3a5f6d7e8f9a0b", "amount": 50000, "settlement_fees": "0.000", "currency": "XOF", "status": "in_transit", "live_mode": true, "created_at": "2026-11-26T09:00:00.000Z", "updated_at": "2026-11-26T14:30:12.388Z", "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}The account fields (bank, mobile or USDT) are a copy of your payment account at settlement time. settlement_fees is a rate in percent.
Top-up
Section titled “Top-up”topup.pending
Section titled “topup.pending”Sent when a top-up of your transfer balance is declared.
topup.success
Section titled “topup.success”The top-up was approved and credited to the transfer_balance balance.
topup.failed
Section titled “topup.failed”The top-up was declined.
Sample data (top-up)
Section titled “Sample data (top-up)”{ "reference": "tu_7a3f9c2e1d8b4a6c9e5f0d1b2c3a4e5f", "method": "bank_transfer", "amount": 500000, "transfer_balance": "orange_bf", "status": "success", "live_mode": true, "fees": "0.000", "created_at": "2026-11-25T16:20:00.000Z", "updated_at": "2026-11-26T08:05:47.120Z"}