get https://integrations.getravenbank.com/v1/cable/providers
Raven atlas api allows you to validate cable accounts by making a GET request to the endpoint /cable/providers
and parsing provider
as a query param, in the request body as shown in the example below
Example Requests
var axios = require('axios');
var config = {
method: 'get',
url: 'https://integrations.getravenbank.com/v1/cable/providers?provider=gotv',
headers: { }
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
Example Response
{
"status": "success",
"message": "Variation codes retrieved",
"data": [
{
"name": "GOtv Max N4,150",
"code": "gotv-max",
"amount": "4150.00"
},
{
"name": "GOtv Jolli N2,800",
"code": "gotv-jolli",
"amount": "2800.00"
},
{
"name": "GOtv Jinja N1,900",
"code": "gotv-jinja",
"amount": "1900.00"
},
{
"name": "GOtv Smallie - monthly N900",
"code": "gotv-smallie",
"amount": "900.00"
},
{
"name": "GOtv Smallie - quarterly N2,400",
"code": "gotv-smallie-3months",
"amount": "2400.00"
},
{
"name": "GOtv Smallie - yearly N7,000",
"code": "gotv-smallie-1year",
"amount": "7000.00"
},
{
"name": "GOtv Supa - monthly N5,500",
"code": "gotv-supa",
"amount": "5500.00"
}
]
}