Virtual Account
Collection to create and manage virtual accounts
This is used to control the payment amount.
Fixed Amount:
Customer must pay the exact amount via bank transfer else bank transfer will fail.
Under Payment:
Customer is allowed to pay an amount less than the specified amount.
Over Payment:
Customer is allowed to pay an amount greater than the specified amount.
Variable Amount:
Customer is allowed to pay any amount ( could be useful for donations, collections etc)
{ "originatoraccountnumber": "0765390091",
"amount": "100.00",
"originatorname": "UCHECHUKWU JOSEPH",
"service": "RUBYPAY",
"narration": "TRF FRM UCHECHUKWU JOSEPH TO RUBYPAY-JOSEPH",
"craccountname": "RUBYPAY-JOSEPH",
"paymentreference": "000014200430123404299823865303",
"sessionid": "000014200430123404299823865303",
"bankname": "Access",
"craccount": "4460858848",
"bankcode": "000014"
}
SK-0000000017066353202-PROD-00B1E2681540444F9F54AF2D981C08746934A6923E944B398593187D017C9370
application/json
https://openapi.rubiesbank.io/v1/createvirtualaccount
raw
}
"virtualaccountname": "Merchant name",
"amount": "1",
"amountcontrol": "VARIABLEAMOUNT",
"daysactive": 0,
"minutesactive": 30,
"callbackurl": "https://enxned596fssr.x.pipedream.net",
"singleuse":"N"
{
1
2
3
4
5
6
7
8
9
10
Header(9)
SK-000000001-PROD-AF7A381625B64781951855487ED90507DF671147F69044788B8F00067656F25E
application/json
https://openapi.rubiesbank.io/v1/disablevirtualaccount
raw
}
"virtualaccount": "4460284327"
{
1
2
3
4
5
6
7
8
9
10
Header(9)
SK-000000001-PROD-AF7A381625B64781951855487ED90507DF671147F69044788B8F00067656F25E
application/json
https://openapi.rubiesbank.io/v1/listvirtualaccounts
raw
}
"request": "listaccounts",
"page":1
{
1
2
3
4
5
6
7
8
9
10
Header(9)
SK-0000000017066353202-PROD-8324645EA1A440A481DB21246474D6EFBAA693AB9780437A87A6B0146078BA29
application/json
https://openapi.rubiesbank.io/v1/updatecallbackurl
raw
}
"virtualaccount": "4460673934",
"callbackurl":"https://example.m.pipedream.net"
{
1
2
3
4
5
6
7
8
9
10
Header(9)
SK-000000001-PROD-AF7A381625B64781951855487ED90507DF671147F69044788B8F00067656F25E
application/json
https://openapi.rubiesbank.io/v1/confirmcallbacktransaction
raw
}
"paymentreference": "000013200217045801000061575825"
{
1
2
3
4
5
6
7
8
9
10
Header(9)
SK-000000001-PROD-AF7A381625B64781951855487ED90507DF671147F69044788B8F00067656F25E
application/json
https://openapi.rubiesbank.io/v1/checkpaymentstatus
raw
}
"virtualaccount": "4460284327",
"amount": "100"
{
1
2
3
4
5
6
7
8
9
10
Header(9)
SK-000000001-PROD-AF7A381625B64781951855487ED90507DF671147F69044788B8F00067656F25E
application/json
https://openapi.rubiesbank.io/v1/listtransactions
raw
}
"virtualaccount": "4460284327",
"page": "1"
{
1
2
3
4
5
6
7
8
9
10
Header(9)