Skip to content
On this page

Get SMS Credibalance GET METHOD

js
const apikey = "1W3N4KHD28YCBL8M7WDG0L11N73FP28JKD5SOKD2D4KXJKCKMF"

const config = {
    method: "GET",
    headers: {
        Authorization: `Bearer ${apikey}`,
        Accept: "application/json",
    }, 
};

url = `https://api.icsms.net/creditbalance/${username}/`

fetch(url, config)
.then(res=>{
    res.json()
}).then(data=>{
    console.log(data)
})