Skip to main content
GET
/
api
/
v1
/
accounts
/
daily-limit
Get current daily spending limit
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.valox.co/api/v1/accounts/daily-limit', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "data": {
    "dailyLimit": 2500,
    "dailyRemaining": 1000
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully retrieved the current daily spending limit.

data
object
required