Table of Contents
Account Balance
To get the remaining balance of your funds, you need to send a GET
request to the /api/balance
endpoint.
There are no required parameters for this endpoint.
Usage - fetch account balance
Here is an example of how you can get the remaining balance of your funds using Roamify eSIM API.
curl
curl --request GET \
--url 'https://api-dev.getroamify.com/api/balance' \
--header 'Authorization: Bearer Access Token' \
--header 'Content-Type: application/json'
Sample Response
{
"status": "success",
"data": {
"balance": 3723.35,
"currency": "USD"
}
}
Last updated on