API
Flow Endpoints
Create Virtual IBAN
This endpoint allows you to create a new Virtual IBAN associated with a main account. It allows you to generate a virtual identifier for collections, reconciliations, and categorizations, with a text description if desired.
Example request:
POST /api/gbs/banking/v4.0/accounts/{accountId}/virtual-ibans
Request parameters:
accountId– required; ID of the account on which to create the Virtual IBANdescription– optional; description of the Virtual IBAN in the JSON body
Body example:
{
"description": "My new virtual IBAN."
}
Example response:
{
"virtualIban": "IT16L03268223000VR000000042",
"parentAccountId": "14527670",
"status": "ACTIVE",
"activatedDate": "2019-07-04",
"deactivatedDate": null,
"description": "My new virtual IBAN."
}
Response parameters:
virtualIban– the created Virtual IBANparentAccountId– ID of the main accountstatus– status of the Virtual IBANactivatedDate– activation datedeactivatedDate– deactivation datedescription– assigned description
Get Virtual IBANs List
This endpoint returns the list of Virtual IBANs associated with an account, with the option to include inactive ones.
Example request:
GET /api/gbs/banking/v4.0/accounts/{accountId}/virtual-ibans?showInactive=true
Request parameters:
accountId– required; ID of the accountshowInactive– optional; if true, inactive Virtual IBANs are also included
Example response:
{
"list": [
{
"virtualIban": "IT16L03268223000VR000000042",
"parentAccountId": "14527670",
"status": "ACTIVE",
"activationDate": "2019-07-04",
"deactivationDate": null,
"description": "My new virtual IBAN."
}
]
}
Response parameters:
list– list of Virtual IBANsvirtualIban– virtual IBANparentAccountId– ID of the main accountstatus– status of the Virtual IBANactivationDate– activation datedeactivationDate– deactivation datedescription– description
Get Virtual IBAN
This endpoint retrieves information about a single Virtual IBAN identified by its value.
Example request:
GET /api/gbs/banking/v4.0/accounts/{accountId}/virtual-ibans/{virtualIban}
Request parameters:
accountId– required; ID of the accountvirtualIban– required; virtual IBAN to look up
Example response:
{
"virtualIban": "IT16L03268223000VR000000042",
"parentAccountId": "14527670",
"status": "ACTIVE",
"activationDate": "2019-07-04",
"deactivationDate": null,
"description": "My new virtual IBAN."
}
Response parameters:
virtualIban– virtual IBANparentAccountId– ID of the main accountstatus– status of the Virtual IBANactivationDate– activation datedeactivationDate– deactivation datedescription– description
Deactivate Virtual IBAN
This endpoint allows you to deactivate an existing Virtual IBAN.
Example request:
PUT /api/gbs/banking/v4.0/accounts/{accountId}/virtual-ibans/{virtualIban}/inactive
Request parameters:
accountId– required; ID of the accountvirtualIban– required; virtual IBAN to deactivate
Example response:
{
"result": "OK"
}
Response parameters:
result– outcome of the operation
Create Virtual IBAN Money Transfer
This endpoint supports money transfers using a Virtual IBAN as the source.
Example request:
POST /api/gbs/banking/v4.0/accounts/{accountId}/virtual-ibans/{virtualIban}/money-transfers
Body example:
{
"amount": 100,
"currency": "EUR",
"receiverIban": "IT00A0000000000000000000000",
"description": "Transfer from virtual IBAN"
}
Request parameters:
accountId– required; ID of the accountvirtualIban– required; source virtual IBANamount– transfer amountcurrency– currencyreceiverIban– recipient IBANdescription– transfer description
Example response:
{
"transferId": "123456789"
}
Response parameters:
transferId– transaction ID
Get Parent Account
Returns the information of the main account associated with a Virtual IBAN.
Example request:
GET /api/gbs/banking/v4.0/accounts/{accountId}/parent
Request parameters:
accountId– required; ID of the account
Example response:
{
"accountId": "14527670",
"iban": "IT00A0000000000000000000000",
"status": "ACTIVE"
}
Response parameters:
accountId– ID of the main accountiban– IBAN of the accountstatus– account status
Get Parent Account Transactions
Returns the list of transactions for the main account.
Example request:
GET /api/gbs/banking/v4.0/accounts/{accountId}/parent/transactions
Request parameters:
accountId– required; ID of the account
Example response:
{
"transactions": [
{
"transactionId": "987654321",
"amount": 150,
"currency": "EUR",
"date": "2024-02-01",
"description": "Payment received"
}
]
}
Response parameters:
transactions– list of transactionstransactionId– transaction identifieramount– amountcurrency– currencydate– transaction datedescription– description