Validate Meter / Account
curl --request POST \
--url https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate \
--header 'Content-Type: application/json' \
--header 'secretKey: <api-key>' \
--data '
{
"productCode": "300",
"accountNumber": "0219927013063"
}
'import requests
url = "https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate"
payload = {
"productCode": "300",
"accountNumber": "0219927013063"
}
headers = {
"secretKey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {secretKey: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({productCode: '300', accountNumber: '0219927013063'})
};
fetch('https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'productCode' => '300',
'accountNumber' => '0219927013063'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"secretKey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate"
payload := strings.NewReader("{\n \"productCode\": \"300\",\n \"accountNumber\": \"0219927013063\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("secretKey", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate")
.header("secretKey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"productCode\": \"300\",\n \"accountNumber\": \"0219927013063\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["secretKey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"productCode\": \"300\",\n \"accountNumber\": \"0219927013063\"\n}"
response = http.request(request)
puts response.read_body{
"status": "00",
"message": "Customer validation successful",
"data": {
"customerName": "ADEWALE AYODEJI PETERS",
"accountNumber": "0219927013063",
"address": "14 ADEOLA ODEKU STREET, VI, LAGOS",
"tariff": "A1-R2"
}
}Remita VAS Vending
Validate Customer Meter / Account
Verify customer meter number, account number, or smartcard ID before initiating payment.
POST
/
vending
/
validate
Validate Meter / Account
curl --request POST \
--url https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate \
--header 'Content-Type: application/json' \
--header 'secretKey: <api-key>' \
--data '
{
"productCode": "300",
"accountNumber": "0219927013063"
}
'import requests
url = "https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate"
payload = {
"productCode": "300",
"accountNumber": "0219927013063"
}
headers = {
"secretKey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {secretKey: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({productCode: '300', accountNumber: '0219927013063'})
};
fetch('https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'productCode' => '300',
'accountNumber' => '0219927013063'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"secretKey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate"
payload := strings.NewReader("{\n \"productCode\": \"300\",\n \"accountNumber\": \"0219927013063\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("secretKey", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate")
.header("secretKey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"productCode\": \"300\",\n \"accountNumber\": \"0219927013063\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/vending/validate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["secretKey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"productCode\": \"300\",\n \"accountNumber\": \"0219927013063\"\n}"
response = http.request(request)
puts response.read_body{
"status": "00",
"message": "Customer validation successful",
"data": {
"customerName": "ADEWALE AYODEJI PETERS",
"accountNumber": "0219927013063",
"address": "14 ADEOLA ODEKU STREET, VI, LAGOS",
"tariff": "A1-R2"
}
}Perform real-time customer KYC and meter status validation. This endpoint verifies that the meter or account is active, returns the registered customer name, minimum/maximum vend amount, and account type (Prepaid / Postpaid).
Request Payload
| Field | Type | Required | Description |
|---|---|---|---|
productCode | string | Yes | The biller or product code (e.g. 300 for AEDC, 102 for IKEDC, 101 for EKEDC). |
accountNumber | string | Yes | The customer’s meter number, account number, or smartcard number. |
Sandbox Test Meters
| DisCo | Product Code | Meter Number | Expected Name |
|---|---|---|---|
| AEDC | 300 | 0219927013063 | Ade |
| IKEDC | 102 | 45702044269 | Adene Jonah |
| EKEDC | 101 | 12345678910 | Demo Customer |
Successful Response
{
"message": "Success",
"status": "00",
"data": {
"name": "Ade",
"accountNumber": "0219927013063",
"productCode": "300",
"minAmount": 500,
"maxAmount": 50000,
"address": "Abuja, FCT"
}
}
Authorizations
Body
application/json