Javascript
const url = 'https://api.gnosispay.com/api/v1/ibans/available'; const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); }
{ "data": { "available": true } }
Returns whether the user is eligible to enable an IBAN on their account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
IBAN availability status for the user.
The response is of type object.
object