JavaScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.gnosispay.com/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 } }
Retrieves the current daily spending limit for the authenticated user’s Safe account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully retrieved the current daily spending limit.
Show child attributes