RUBIES OPEN API

Funds Transfer

Collection for interbank transfers via NIP

  • Bank List
  • Name Enquiry
  • Fund Transfer
  • Transaction Query

Bank List

Provides a list of active banks and their codes on NIP

HEADERS

Authorization

SK-000000001-PROD-
47296C056DB745908EC2367417600BFFE060F4E31DD342C6A372FC148DAFCD6D

Content-Type

application/json

POST

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

BODY

raw

}


"request":"banklist"

{

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)

Date: Mon, 17 Feb 2020 15:35:35 GMT
Content-Type:
application/json
Content-Length:
7756
Connection:
keep-alive
x-amzn-RequestId:
22b27e35-f31a-42e0-9feb-149a1a45b6d3
Access-Control-Allow-Origin: *
x-amz-apigw-id:
IDDfIEwAvHcF4IA=
x-custom-header:
my custom header value
X-Amzn-Trace-Id:
Root=1-5e4ab2c7-42ff1e00f29b0100bdf0d700;Sampled=0
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const virtualAccount = await duplo.card.getAll({FilteringObject});
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->card->getAll();

Name Enquiry

Returns the name associated with an account number.

HEADERS

Authorization

SK-000000001-PROD-AF7A381625B64781951855487ED90507DF671147F69044788B8F00067656F25E

Content-Type

application/json

POST

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

BODY

raw

}


"accountnumber":"0012226121",
"bankcode":"000013"

{

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)

Date: Mon, 17 Feb 2020 15:35:35 GMT
Content-Type:
application/json
Content-Length:
7756
Connection:
keep-alive
x-amzn-RequestId:
22b27e35-f31a-42e0-9feb-149a1a45b6d3
Access-Control-Allow-Origin: *
x-amz-apigw-id:
IDDfIEwAvHcF4IA=
x-custom-header:
my custom header value
X-Amzn-Trace-Id:
Root=1-5e4ab2c7-42ff1e00f29b0100bdf0d700;Sampled=0
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const virtualAccount = await duplo.card.getAll({FilteringObject});
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->card->getAll();

Balance Enquiry

Provides available balance in an account

HEADERS

Authorization

xxx

Content-Type

application/json

POST

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

BODY

raw

}


         "accountnumber":"0000000008"

{

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)

Date: Mon, 17 Feb 2020 15:35:35 GMT
Content-Type:
application/json
Content-Length:
7756
Connection:
keep-alive
x-amzn-RequestId:
22b27e35-f31a-42e0-9feb-149a1a45b6d3
Access-Control-Allow-Origin: *
x-amz-apigw-id:
IDDfIEwAvHcF4IA=
x-custom-header:
my custom header value
X-Amzn-Trace-Id:
Root=1-5e4ab2c7-42ff1e00f29b0100bdf0d700;Sampled=0
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const virtualAccount = await duplo.card.getAll({FilteringObject});
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->card->getAll();

Transaction Enquiry

Provides the status of a transaction.

HEADERS

Authorization

SK-000000001-PROD-
47296C056DB745908EC2367417600BFFE060F4E31DD342C6A372FC148DAFCD6D

Content-Type

application/json

POST

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

BODY

raw

}


                          "reference": "N10T2JT3AT3111433131431000"

{

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)

Date: Mon, 17 Feb 2020 15:35:35 GMT
Content-Type:
application/json
Content-Length:
7756
Connection:
keep-alive
x-amzn-RequestId:
22b27e35-f31a-42e0-9feb-149a1a45b6d3
Access-Control-Allow-Origin: *
x-amz-apigw-id:
IDDfIEwAvHcF4IA=
x-custom-header:
my custom header value
X-Amzn-Trace-Id:
Root=1-5e4ab2c7-42ff1e00f29b0100bdf0d700;Sampled=0
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const virtualAccount = await duplo.card.getAll({FilteringObject});
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->card->getAll();

Fund Transfer

To transfer an amount from an account in a bank to other accounts within the bank or other banks

HEADERS

Authorization

SK-000000001-PROD-
47296C056DB745908EC2367417600BFFE060F4E31DD342C6A372FC148DAFCD6D

Content-Type

application/json

POST

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

BODY

raw

}


                          "reference": "N10T2JT3AT3111433131431000"

{

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)

Date: Mon, 17 Feb 2020 15:35:35 GMT
Content-Type:
application/json
Content-Length:
7756
Connection:
keep-alive
x-amzn-RequestId:
22b27e35-f31a-42e0-9feb-149a1a45b6d3
Access-Control-Allow-Origin: *
x-amz-apigw-id:
IDDfIEwAvHcF4IA=
x-custom-header:
my custom header value
X-Amzn-Trace-Id:
Root=1-5e4ab2c7-42ff1e00f29b0100bdf0d700;Sampled=0
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 ?
Virtual Account