Check Balance
This endpoint returns a JSON object containing the balance of the API Key/Account.
https://api.rahnmonitor.co.za/returncreditbalancePath Parameters
| Parameter | Type | Description | Required? | Default |
|---|---|---|---|---|
| apikey | string | API Key for RahnMonitor | Yes |
Request Samples
import axios from "axios";
const url = "https://api.rahnmonitor.co.za/returncreditbalance?apikey=MYAPIKEY";
const data = async () => {
try {
const { data } = await axios.get(url,
{
headers: {
"Content-Type": "application/json",
},
}
);
return data;
} catch (err) {
throw new Error(err.message);
}
};
console.log(data);Sample Response Schema
MIME Type: application/json
{
'creditbalance': 425.00
}