This method returns information about the provided meter number.
Access to this endpoint requires setup changes on your account. Contact the technical team for this configuration to be completed.
where xxxx is the meter number
{ "customerName":"string", "currency":"USD", "amount":3 }This method initiates a purchase request for electricity units to the provided meter number. On successful payment response, the tokens returned in the “AdditionalInformation” property should be sent to the customer to enable them load their meter with the response.
Access to this endpoint requires setup changes on your account. Contact the technical team for this configuration to be completed.
The table below provides information about the properties expected in the payload to be sent to this request:
| Property | DataType (maxSize) | Required | Description |
|---|---|---|---|
| Order | Object | Yes | Information about the operation to be performed |
| Order.customerFullName | String(180) | No | Full Name for customer |
| Order.customerPhoneNumber | String(180) | No | Phone Number of the customer |
| Order.transactionReference | String(20) | Yes | Reference transaction ID from source request to be used in reconciliations |
| Order.customerEmailAddress | String(180) | No | Email address of the customer |
| Order.currency | String(3) | Yes | Char 3 ISO currency code |
| Order.amount | Decimal(8,2) | Yes | Amount involved in the transaction |
| Destination | Object | Yes | Information about the beneficiary |
| Destination.meternumber | String | Yes | The meter number |
| Destination.phoneNumber | String(14) | Yes | phone number in international format (+243XXXX…) |
{
"order": {
"customerFullName": "string",
"customerPhoneNumber": "string",
"customerEmailAddress": "string",
"transactionReference": "string",
"amount": 0,
"currency": "USD”
},
"destination": {
"meterNumber": "string",
"phoneNumber": "string"
}
}{
"transactionId": "string",
"originatingTransactionId": "string”,
“statusCode”:”200”,
“statusDescription”:”SUCCESS”,
“additionalInformation”:{
“token”:[“098271047832190472”,” 098271047832199782”,” 098271047832109812”],
“deviceId”:” 45036882525”,
“KWH”:”50.76”,
“CustomerName”:”Fabrice K”
}Access to this endpoint requires setup changes on your account. Contact the technical team for this configuration to be completed.
where xxxx is the transactionId received in the transaction request
{
"transactionId": "string",
"originatingTransactionId": "string”,
“statusDescription”:”string”, //APPROVED,DECLINED,PENDING
“statusCode”:”200” ,
“additionalInformation”:{
“token”:[“098271047832190472”,” 098271047832199782”,” 098271047832109812”],
“deviceId”:” 45036882525”,
“KWH”:”50.76”,
“CustomerName”:”Fabrice K”
}
}Access to this endpoint requires setup changes on your account. Contact the technical team for this configuration to be completed.
where xxxx is the transactionId received in the transaction request
{
"transactionId": "string",
"originatingTransactionId": "string”,
“statusDescription”:”string”, //APPROVED,DECLINED,PENDING
“statusCode”:”200” ,
“transactionDate”:”string”,
“additionalInformation”:{
“token”:[“098271047832190472”,” 098271047832199782”,” 098271047832109812”],
“deviceId”:” 45036882525”,
“KWH”:”50.76”,
“CustomerName”:”Fabrice K”
}
}Access to this endpoint requires setup changes on your account. Contact the technical team for this configuration to be completed.
where xxxx is the transactionReference sent in the original transaction request
{
"transactionId": "string",
"originatingTransactionId": "string”,
“statusDescription”:”string”, //APPROVED,DECLINED,PENDING
“statusCode”:”200” ,
“transactionDate”:”string”,
“additionalInformation”:{
“token”:[“098271047832190472”,” 098271047832199782”,” 098271047832109812”],
“deviceId”:” 45036882525”,
“KWH”:”50.76”,
“CustomerName”:”Fabrice K”
}
}