Get the list of Authorized users

Get List of Authorized Users

This endpoint retrieves a list of authorized users (subProfiles) associated with the authenticated business customer's primary account. Each record includes the authorized user's identity details, department, attached payment cards, and linked financial accounts. Use this endpoint to review and manage access permissions across your organization's banking application.

Endpoint

GET /api/subProfiles

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when you need to audit or display the full list of authorized users on a business account. It is particularly useful for administrative dashboards where account owners need to review who has access, what cards they hold, and which financial accounts they are linked to. Only business customers can have authorized users (subProfiles).

Response

200 OK

Returns an array of subProfile objects.

SubProfile Object

FieldTypeDescription
idinteger (int32)Unique identifier for the authorized user
emailstringEmail address of the authorized user
givenNamestringFirst name of the authorized user
familyNamestringLast name of the authorized user
departmentstringDepartment or organizational unit the user belongs to
attachedPaymentCardsarrayList of payment cards assigned to this authorized user
attachedFinancialAccountsarrayList of financial accounts this user has access to
financialAccountobjectPrimary financial account associated with this user
isSyncbooleanIndicates whether the subProfile is synchronized
dateOfBirthstring (date-time)Date of birth of the authorized user
financialNamestring(Deprecated) Name of the financial account
financialAccountIdstring(Deprecated) ID of the associated financial account

Payment Card Object (attachedPaymentCards items)

FieldTypeDescription
idstringUnique identifier for the payment card
formFactorstringCard form factor: PHYSICAL, VIRTUAL, or BURNER
binstringBank Identification Number (first 6 digits)
last4stringLast 4 digits of the card number
statusstringCurrent card status (e.g., ACTIVE, SUSPENDED, CLOSED)
financialAccountIdstringID of the financial account linked to this card
isMainCardbooleanWhether this is the primary card for the authorized user
networkstringCard network (e.g., VISA, MASTERCARD)
isEmailNotifybooleanWhether email notifications are enabled for this card
isPushNotifybooleanWhether push notifications are enabled for this card
financialAccountobjectFinancial account details linked to this card
cardNamestringDisplay name assigned to the card
expirationDatestringCard expiration date

Financial Account Object (financialAccount / attachedFinancialAccounts items)

FieldTypeDescription
idstringUnique identifier of the financial account
last4stringLast 4 digits of the account number
namestringDisplay name of the financial account
typestringAccount type (extended info only)
accountStatusstringAccount status (extended info only)
routingNumberstringRouting number of the financial account (extended info only)
clientNamestringName of the account holder (extended info only)
[
  {
    "id": 1042,
    "email": "[email protected]",
    "givenName": "Jane",
    "familyName": "Doe",
    "department": "Finance",
    "isSync": true,
    "dateOfBirth": "1990-04-15T00:00:00Z",
    "financialAccount": {
      "id": "fa_XXXXXXXXXXXXXXXXXX",
      "last4": "7823",
      "name": "Business Checking",
      "type": "CHECKING",
      "accountStatus": "ACTIVE",
      "routingNumber": "XXXXXXXXX",
      "clientName": "Acme Corp"
    },
    "attachedPaymentCards": [
      {
        "id": "card_XXXXXXXXXXXXXXXXXX",
        "formFactor": "VIRTUAL",
        "bin": "411111",
        "last4": "4242",
        "status": "ACTIVE",
        "financialAccountId": "fa_XXXXXXXXXXXXXXXXXX",
        "isMainCard": true,
        "network": "VISA",
        "isEmailNotify": true,
        "isPushNotify": false,
        "cardName": "Jane's Virtual Card",
        "expirationDate": "2027-08",
        "financialAccount": {
          "id": "fa_XXXXXXXXXXXXXXXXXX",
          "last4": "7823",
          "name": "Business Checking"
        }
      }
    ],
    "attachedFinancialAccounts": [
      {
        "id": "fa_XXXXXXXXXXXXXXXXXX",
        "last4": "7823",
        "name": "Business Checking",
        "type": "CHECKING",
        "accountStatus": "ACTIVE",
        "routingNumber": "XXXXXXXXX",
        "clientName": "Acme Corp"
      }
    ]
  }
]

Error Codes

CodeWhen it happens
401Token missing, expired, or invalid
403Caller is not a business customer or lacks permissions to view subProfiles
500Internal server error

Common Mistakes

  • Calling this endpoint with a personal customer token — subProfiles are only available for business accounts; a 403 will be returned.
  • Relying on the deprecated financialName and financialAccountId fields at the top level of each subProfile — use financialAccount.name and financialAccount.id instead.
  • Expecting a non-empty list when no authorized users have been created yet — the endpoint returns an empty array [] in that case, which is not an error.
  • Not handling the case where attachedPaymentCards or attachedFinancialAccounts is null — these fields are nullable and should be treated as an empty list when absent.

Related Endpoints

  • POST /api/subProfiles — Create a new authorized user on the business account
  • GET /api/subProfiles/{id} — Retrieve details for a specific authorized user by ID
  • PUT /api/subProfiles/{id} — Update an authorized user's information
  • DELETE /api/subProfiles/{id} — Remove an authorized user from the business account

Example

curl -X GET https://api.banking.netevia.dev/api/subProfiles \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json