RUBIES OPEN API

Mobile Data

Purchase Data:
Make payment for different bundles of data for all Telcos (MTN, Airtel, 9Mobile, Glo)

CT mobile data purchase

Purchase a Data bundle

HEADERS

Authorization

SK-000000001-PROD-EC7C2020E2894D89B071EDB91773A375686A20CE5A224FA392B26C89F6442E42

POST

https://openapi.rubiesbank.io/v1/ctmobiledatapurchase

BODY

raw

}


"reference": "97373973792023gdgd",
   "amount": "200",
   "productcode": "D-MFIN-5-200MB",
   "mobilenumber": "08066356007",
   "telco": "MTN"

{

1
2
3
4
5
6
7
8
9
10

wget --no-check-certificate --quiet \
 
--method POST \
 
--timeout=0 \
 
--header 'Authorization: SK-000000001-PROD-47296C056DB745908EC2367417600BFFE060F4E31DD342C6A372FC148DAFCD6D' \
 
--header 'Content-Type: application/json' \
 --body-data '{
 
 "request": "banklist"
}' \
Body

Header(9)

{
 "responsecode": "00" ,
 "banklist" : [
   {

     "bankname" : "ABBEY MORTGAGE BANK",
     "bankcode" : "070010"
   },
   {
     "bankname" : "ACCION MFB",
     "bankcode" : "090134"
   },
   {

     "bankname" : "AG MORTGAGE BANK PLC",
     "bankcode" : "100028"
   },
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const virtualAccount = await duplo.card.getAll({FilteringObject});
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->card->getAll();

CT mobile data product

List of Available Data bundles

HEADERS

Authorization

SK-000000001-PROD-AF7A381625B64781951855487ED90507DF671147F69044788B8F00067656F25E

POST

https://openapi.rubiesbank.io/v1/ctmobiledatapurchase

BODY

raw

}


"request": "dataproduct"

{

1
2
3
4
5
6
7
8
9
10

wget --no-check-certificate --quiet \
 
--method POST \
 
--timeout=0 \
 
--header 'Authorization: SK-000000001-PROD-47296C056DB745908EC2367417600BFFE060F4E31DD342C6A372FC148DAFCD6D' \
 
--header 'Content-Type: application/json' \
 --body-data '{
 
 "request": "banklist"
}' \
Body

Header(9)

{
 "responsecode": "00" ,
 "banklist" : [
   {

     "bankname" : "ABBEY MORTGAGE BANK",
     "bankcode" : "070010"
   },
   {
     "bankname" : "ACCION MFB",
     "bankcode" : "090134"
   },
   {

     "bankname" : "AG MORTGAGE BANK PLC",
     "bankcode" : "100028"
   },
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const virtualAccount = await duplo.card.getAll({FilteringObject});
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->card->getAll();

CT mobile data Query

Confirm the status of a data transaction

HEADERS

Authorization

SK-000000001-PROD-D8B344655C76468C894DA94ECE4EF9724A8AE63A882E46C7B9363C592DB0FAF1

POST

https://openapi.rubiesbank.io/v1/ctmobiledatapurchase

BODY

raw

}


"reference": "897373973792023gdgd"

{

1
2
3
4
5
6
7
8
9
10

wget --no-check-certificate --quiet \
 
--method POST \
 
--timeout=0 \
 
--header 'Authorization: SK-000000001-PROD-47296C056DB745908EC2367417600BFFE060F4E31DD342C6A372FC148DAFCD6D' \
 
--header 'Content-Type: application/json' \
 --body-data '{
 
 "request": "banklist"
}' \
Body

Header(9)

{
 "responsecode": "00" ,
 "banklist" : [
   {

     "bankname" : "ABBEY MORTGAGE BANK",
     "bankcode" : "070010"
   },
   {
     "bankname" : "ACCION MFB",
     "bankcode" : "090134"
   },
   {

     "bankname" : "AG MORTGAGE BANK PLC",
     "bankcode" : "100028"
   },
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const virtualAccount = await duplo.card.getAll({FilteringObject});
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->card->getAll();