Initiate Payment & Generate RRR
curl --request POST \
--url https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/biller/initiate \
--header 'Content-Type: application/json' \
--header 'secretKey: <api-key>' \
--data '
{
"billerId": "SPECSELECTRICITY",
"billPaymentProductId": "9676615755",
"amount": 1000,
"currency": "NGN",
"payerName": "Ayodeji Peters",
"payerEmail": "ayodeji@example.com",
"payerPhone": "08012345678",
"clientReference": "init_hdl_1790800000",
"customFields": [
{
"variable_name": "account_number",
"value": "0219927013063"
}
]
}
'import requests
url = "https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/biller/initiate"
payload = {
"billerId": "SPECSELECTRICITY",
"billPaymentProductId": "9676615755",
"amount": 1000,
"currency": "NGN",
"payerName": "Ayodeji Peters",
"payerEmail": "ayodeji@example.com",
"payerPhone": "08012345678",
"clientReference": "init_hdl_1790800000",
"customFields": [
{
"variable_name": "account_number",
"value": "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({
billerId: 'SPECSELECTRICITY',
billPaymentProductId: '9676615755',
amount: 1000,
currency: 'NGN',
payerName: 'Ayodeji Peters',
payerEmail: 'ayodeji@example.com',
payerPhone: '08012345678',
clientReference: 'init_hdl_1790800000',
customFields: [{variable_name: 'account_number', value: '0219927013063'}]
})
};
fetch('https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/biller/initiate', 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/biller/initiate",
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([
'billerId' => 'SPECSELECTRICITY',
'billPaymentProductId' => '9676615755',
'amount' => 1000,
'currency' => 'NGN',
'payerName' => 'Ayodeji Peters',
'payerEmail' => 'ayodeji@example.com',
'payerPhone' => '08012345678',
'clientReference' => 'init_hdl_1790800000',
'customFields' => [
[
'variable_name' => 'account_number',
'value' => '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/biller/initiate"
payload := strings.NewReader("{\n \"billerId\": \"SPECSELECTRICITY\",\n \"billPaymentProductId\": \"9676615755\",\n \"amount\": 1000,\n \"currency\": \"NGN\",\n \"payerName\": \"Ayodeji Peters\",\n \"payerEmail\": \"ayodeji@example.com\",\n \"payerPhone\": \"08012345678\",\n \"clientReference\": \"init_hdl_1790800000\",\n \"customFields\": [\n {\n \"variable_name\": \"account_number\",\n \"value\": \"0219927013063\"\n }\n ]\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/biller/initiate")
.header("secretKey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"billerId\": \"SPECSELECTRICITY\",\n \"billPaymentProductId\": \"9676615755\",\n \"amount\": 1000,\n \"currency\": \"NGN\",\n \"payerName\": \"Ayodeji Peters\",\n \"payerEmail\": \"ayodeji@example.com\",\n \"payerPhone\": \"08012345678\",\n \"clientReference\": \"init_hdl_1790800000\",\n \"customFields\": [\n {\n \"variable_name\": \"account_number\",\n \"value\": \"0219927013063\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/biller/initiate")
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 \"billerId\": \"SPECSELECTRICITY\",\n \"billPaymentProductId\": \"9676615755\",\n \"amount\": 1000,\n \"currency\": \"NGN\",\n \"payerName\": \"Ayodeji Peters\",\n \"payerEmail\": \"ayodeji@example.com\",\n \"payerPhone\": \"08012345678\",\n \"clientReference\": \"init_hdl_1790800000\",\n \"customFields\": [\n {\n \"variable_name\": \"account_number\",\n \"value\": \"0219927013063\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"status": "00",
"message": "RRR generated successfully",
"data": {
"rrr": "220799679350",
"paymentIdentifier": "init_hdl_1790800000",
"amount": 1000,
"billerName": "ABUJA ELECTRICITY DISTRIBUTION COMPANY",
"serviceTypeName": "AEDC Prepaid"
}
}Remita RRR Collections
Initiate Payment & Generate RRR
Initiate a dynamic merchant biller payment with custom fields and generate an RRR invoice reference.
POST
/
biller
/
initiate
Initiate Payment & Generate RRR
curl --request POST \
--url https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/biller/initiate \
--header 'Content-Type: application/json' \
--header 'secretKey: <api-key>' \
--data '
{
"billerId": "SPECSELECTRICITY",
"billPaymentProductId": "9676615755",
"amount": 1000,
"currency": "NGN",
"payerName": "Ayodeji Peters",
"payerEmail": "ayodeji@example.com",
"payerPhone": "08012345678",
"clientReference": "init_hdl_1790800000",
"customFields": [
{
"variable_name": "account_number",
"value": "0219927013063"
}
]
}
'import requests
url = "https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/biller/initiate"
payload = {
"billerId": "SPECSELECTRICITY",
"billPaymentProductId": "9676615755",
"amount": 1000,
"currency": "NGN",
"payerName": "Ayodeji Peters",
"payerEmail": "ayodeji@example.com",
"payerPhone": "08012345678",
"clientReference": "init_hdl_1790800000",
"customFields": [
{
"variable_name": "account_number",
"value": "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({
billerId: 'SPECSELECTRICITY',
billPaymentProductId: '9676615755',
amount: 1000,
currency: 'NGN',
payerName: 'Ayodeji Peters',
payerEmail: 'ayodeji@example.com',
payerPhone: '08012345678',
clientReference: 'init_hdl_1790800000',
customFields: [{variable_name: 'account_number', value: '0219927013063'}]
})
};
fetch('https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/biller/initiate', 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/biller/initiate",
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([
'billerId' => 'SPECSELECTRICITY',
'billPaymentProductId' => '9676615755',
'amount' => 1000,
'currency' => 'NGN',
'payerName' => 'Ayodeji Peters',
'payerEmail' => 'ayodeji@example.com',
'payerPhone' => '08012345678',
'clientReference' => 'init_hdl_1790800000',
'customFields' => [
[
'variable_name' => 'account_number',
'value' => '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/biller/initiate"
payload := strings.NewReader("{\n \"billerId\": \"SPECSELECTRICITY\",\n \"billPaymentProductId\": \"9676615755\",\n \"amount\": 1000,\n \"currency\": \"NGN\",\n \"payerName\": \"Ayodeji Peters\",\n \"payerEmail\": \"ayodeji@example.com\",\n \"payerPhone\": \"08012345678\",\n \"clientReference\": \"init_hdl_1790800000\",\n \"customFields\": [\n {\n \"variable_name\": \"account_number\",\n \"value\": \"0219927013063\"\n }\n ]\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/biller/initiate")
.header("secretKey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"billerId\": \"SPECSELECTRICITY\",\n \"billPaymentProductId\": \"9676615755\",\n \"amount\": 1000,\n \"currency\": \"NGN\",\n \"payerName\": \"Ayodeji Peters\",\n \"payerEmail\": \"ayodeji@example.com\",\n \"payerPhone\": \"08012345678\",\n \"clientReference\": \"init_hdl_1790800000\",\n \"customFields\": [\n {\n \"variable_name\": \"account_number\",\n \"value\": \"0219927013063\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-demo.systemspecsng.com/services/connect-gateway/api/v1/biller/initiate")
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 \"billerId\": \"SPECSELECTRICITY\",\n \"billPaymentProductId\": \"9676615755\",\n \"amount\": 1000,\n \"currency\": \"NGN\",\n \"payerName\": \"Ayodeji Peters\",\n \"payerEmail\": \"ayodeji@example.com\",\n \"payerPhone\": \"08012345678\",\n \"clientReference\": \"init_hdl_1790800000\",\n \"customFields\": [\n {\n \"variable_name\": \"account_number\",\n \"value\": \"0219927013063\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"status": "00",
"message": "RRR generated successfully",
"data": {
"rrr": "220799679350",
"paymentIdentifier": "init_hdl_1790800000",
"amount": 1000,
"billerName": "ABUJA ELECTRICITY DISTRIBUTION COMPANY",
"serviceTypeName": "AEDC Prepaid"
}
}Initiate an institutional biller payment and dynamically generate a Remita Retrieval Reference (RRR) along with a
paymentIdentifier for instant settlement.
Successful Response
{
"status": "00",
"message": "Approved or completed successfully",
"data": {
"amount": 1000,
"paymentIdentifier": "890201735906",
"rrr": "250799679337"
}
}
Authorizations
Body
application/json