Skip to content
Developer Docs

Beneficiary accounts

Endpoints to query the beneficiary accounts (IBANs) registered for your business.

The first beneficiary account is registered during onboarding and is automatically configured as the organisation's default account.

Each beneficiary account has a unique identifier called creditorAccountUuid, used to indicate which account will receive the funds associated with an operation.

The creditorAccountUuid can optionally be sent when registering Pagafactu or Zertipay operations. If not specified, Zertiban will automatically use the beneficiary account flagged as default (isDefault=true) for the business.

WARNING

Only beneficiary accounts in ACTIVE status can be used to generate new operations or receive payments.

List beneficiary accounts

GET/business-creditor-account/v1/business-creditor-accounts

shell
curl "https://nc-api-sandbox.zertiban.com/business-creditor-account/v1/business-creditor-accounts?offset=0&limit=10" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-tenant-id: {businessUuid}"

Query parameters

ParameterTypeDefaultDescription
offsetint0Starting position
limitintResults per page
q_statusenum (ACTIVE / DISABLED)Filters by status. Omitted returns all. Invalid enum → 400
q_isDefaultbooleanFilters by whether the account is the default. Omitted returns all. Unparseable value → 400

Default behaviour

If no filters are applied, the endpoint returns all registered beneficiary accounts, including those in DISABLED status.

200 response

json
{
  "total": 2,
  "results": [
    {
      "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "accountNumber": "ES91 2100 0418 ***** 4567",
      "type": "IBAN",
      "alias": "Cuenta principal cobros",
      "status": "ACTIVE",
      "isDefault": true,
      "aspsp": {
        "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "commercialName": "CaixaBank",
        "icon": "https://..."
      }
    }
  ]
}

Beneficiary account detail

GET/business-creditor-account/v1/business-creditor-accounts/{uuid}

shell
curl "https://nc-api-sandbox.zertiban.com/business-creditor-account/v1/business-creditor-accounts/{uuid}" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-tenant-id: {businessUuid}"

200 response

json
{
  "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "accountNumber": "ES91 2100 0418 ***** 4567",
  "type": "IBAN",
  "alias": "Cuenta principal cobros",
  "status": "ACTIVE",
  "isDefault": true,
  "aspsp": {
    "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "commercialName": "CaixaBank"
  }
}

Response fields

FieldTypeDescription
uuidUUIDcreditorAccountUuid used to associate operations with a specific beneficiary account
accountNumberStringMasked account number
typeStringAccount type. Possible value: IBAN
aliasStringIdentifying name configured for the account
statusStringAccount status (ACTIVE / DISABLED). Only ACTIVE accounts accept payments
isDefaultBooleanIndicates whether this is the business's default beneficiary account
aspsp.commercialNameStringCommercial name of the banking entity