Skip to main content
POST
Consulter une facture

Bill Inquiry

Retrieves bill information (amount due) or meter details before a bill payment / top-up.
This step is optional but recommended: it lets you display the bill (or meter status) to your user before paying. The payment endpoint performs an internal inquiry anyway.

Endpoint

Headers

Request Body

Parameters

Available billing services

Response

Successful Response

For Woyofal (prepaid top-up), bills[0] represents the meter: montant is 0 (the customer chooses the amount at payment), and meterStatus / address / nom describe the meter.

bills[] fields

Error Response

Error Codes

Request Example

Authorizations

Authorization
string
header
required

Entrez votre clé API comme: Bearer <API_KEY>

Body

application/json

Référence à consulter

serviceCode
enum<string>
required

Code du biller

Available options:
SENEAU_SN_BILL,
SENELEC_SN_BILL,
WOYOFAL_SN_BILL
Example:

"SENELEC_SN_BILL"

reference_client
string
required

Numéro de compteur / police / référence client

Example:

"210278816"

Response

Facture(s) trouvée(s)

success
boolean
Example:

true

referenceClient
string
Example:

"210278816"

bills
object[]