JavaScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.valox.co/api/v1/source-of-funds', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
[ { "question": "<string>", "answers": [ "<string>" ] } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The locale for translating currency values (e.g., 'BR', 'UK')
Successfully retrieved the Source of Funds questions.
The text of the question.
The possible answers to the question.