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
| Field | Type | Description |
|---|---|---|
| id | integer (int32) | Unique identifier for the authorized user |
| string | Email address of the authorized user | |
| givenName | string | First name of the authorized user |
| familyName | string | Last name of the authorized user |
| department | string | Department or organizational unit the user belongs to |
| attachedPaymentCards | array | List of payment cards assigned to this authorized user |
| attachedFinancialAccounts | array | List of financial accounts this user has access to |
| financialAccount | object | Primary financial account associated with this user |
| isSync | boolean | Indicates whether the subProfile is synchronized |
| dateOfBirth | string (date-time) | Date of birth of the authorized user |
| financialName | string | (Deprecated) Name of the financial account |
| financialAccountId | string | (Deprecated) ID of the associated financial account |
Payment Card Object (attachedPaymentCards items)
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier for the payment card |
| formFactor | string | Card form factor: PHYSICAL, VIRTUAL, or BURNER |
| bin | string | Bank Identification Number (first 6 digits) |
| last4 | string | Last 4 digits of the card number |
| status | string | Current card status (e.g., ACTIVE, SUSPENDED, CLOSED) |
| financialAccountId | string | ID of the financial account linked to this card |
| isMainCard | boolean | Whether this is the primary card for the authorized user |
| network | string | Card network (e.g., VISA, MASTERCARD) |
| isEmailNotify | boolean | Whether email notifications are enabled for this card |
| isPushNotify | boolean | Whether push notifications are enabled for this card |
| financialAccount | object | Financial account details linked to this card |
| cardName | string | Display name assigned to the card |
| expirationDate | string | Card expiration date |
Financial Account Object (financialAccount / attachedFinancialAccounts items)
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier of the financial account |
| last4 | string | Last 4 digits of the account number |
| name | string | Display name of the financial account |
| type | string | Account type (extended info only) |
| accountStatus | string | Account status (extended info only) |
| routingNumber | string | Routing number of the financial account (extended info only) |
| clientName | string | Name 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
| Code | When it happens |
|---|---|
| 401 | Token missing, expired, or invalid |
| 403 | Caller is not a business customer or lacks permissions to view subProfiles |
| 500 | Internal 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
financialNameandfinancialAccountIdfields at the top level of each subProfile — usefinancialAccount.nameandfinancialAccount.idinstead. - 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
attachedPaymentCardsorattachedFinancialAccountsisnull— 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 accountGET /api/subProfiles/{id}— Retrieve details for a specific authorized user by IDPUT /api/subProfiles/{id}— Update an authorized user's informationDELETE /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"