RUBIES OPEN API

Airtime

Purchase Airtime for all Mobile Telcos

  • mtn
  • airtel
  • 9mobile
  • glo

CT Airtime Purchase

Purchase Airtime: reference: is always unique

HEADERS

Authorization

SK-000000001-PROD-AF7A381625B64781951855487ED90507DF671147F69044788B8F00067656F25E

Content-Type

application/json

POST

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

BODY

raw

}


"reference": "973739ddd73792023g33dgdd",
   "amount": "100",
   "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 airtime query

Confirm the status of an airtime purchase

HEADERS

Authorization

SK-0000000010000000008-PROD-EDC7193011DF45808ACE04B369652830B33FE15B5EC94C85A4280EC61D74A2FC

Content-Type

application/json

POST

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

BODY

raw

}


"reference": "973739ddd73792023g33dgdd"

{

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();
What’s Next ?
Bills Payment