GET
/
api
/
v1
/
ibans
/
available
Check IBAN Availability
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
  }
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

IBAN availability status for the user.

The response is of type object.