Bank information on account creation endpoint

We announce an important change that involves the deprecation of the current bic attribute in the account creation endpoint.

Inclusion of the bank data in the account creation endpoint

Starting today, Thursday, 2nd, 2023, successful requests to the endpoint of account creation (https://api.sandbox.devengo.com/v1/accounts) will receive additional data for the bank connected with the created account:

"bank": {
  "name": "PFS",
  "bic": "PFSSESM1XXX"
}

This change puts the bank information returned in this endpoint in line with the rest of the endpoints of the system, making it easier and more consistent to parse and manage.

Complete response:

{
  "id": "acc_fYpgX5Ytdxzexuf61lFmw",
  "status": "active",
  "name": "Devengo account",
  "bank": {
    "name": "PFS",
    "bic": "PFSSESM1XXX"
  },
  "number": "ES6621000418401234567891",
  "bic": "PFSSESM1XXX",
  "currency": "EUR",
  "balance": {
    "total": {
      "cents": 125000,
      "currency": "EUR"
    },
    "available": {
      "cents": 100000000,
      "currency": "EUR"
    }
  },
  "metadata": {}
}

Deprecation and removal of the current bic attribute in the account creation endpoint 

The current bic attribute in the root object is therefore deprecated with immediate effect and will be definitely removed on March 6th, 2023.