Get Residuals Report for External Accounts Connections
This endpoint returns a residuals report of external account connections grouped by customer profile. The report provides visibility into which external accounts have been linked via third-party providers (such as Finicity or Plaid) within a specified date range. Results are paginated and can be filtered to specific profiles by ID.
Endpoint
GET /Report/residuals/externalAccountsConnections
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 a reconciliation or audit report of external account connections made by customers during a given time window. This is particularly useful for partners tracking ACH-linked accounts, monitoring third-party provider usage (Finicity or Plaid), or generating residual activity reports for billing or compliance purposes.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| from | string (date-time) | No | Start of the date range filter (ISO 8601 format, e.g. 2024-01-01T00:00:00Z) |
| to | string (date-time) | No | End of the date range filter (ISO 8601 format, e.g. 2024-01-31T23:59:59Z) |
| ids | array of integer (int32) | No | Filter results to a specific list of profile IDs |
| skip | integer (int32) | No | Number of records to skip for pagination. Default: 0 |
| take | integer (int32) | No | Maximum number of records to return. Default: 100 |
Response
200 OK
Returns an array of profile external account connection groups. Each item in the array represents a profile with all of its associated external account connections.
Top-level array item (profileexternalaccountconnectiongrouped):
| Field | Type | Description |
|---|---|---|
| id | integer (int32) | Unique identifier of the profile |
| name | string | null | Display name of the profile |
| connections | array | null | List of external account connection records associated with this profile |
Each item in connections (externalaccountconnection or profileexternalaccountconnection):
| Field | Type | Description |
|---|---|---|
| connectionDate | string (date-time) | Timestamp when the external account was connected |
| provider | string | null | Name of the external account provider (e.g., Finicity, Plaid) |
| id | integer (int32) | (profileexternalaccountconnection only) Profile identifier associated with the connection |
| name | string | null | (profileexternalaccountconnection only) Profile name associated with the connection |
[
{
"id": 1042,
"name": "Acme Corp",
"connections": [
{
"connectionDate": "2024-03-15T10:22:00Z",
"provider": "Plaid",
"id": 1042,
"name": "Acme Corp"
},
{
"connectionDate": "2024-03-20T14:05:00Z",
"provider": "Finicity"
}
]
},
{
"id": 1087,
"name": "Bright Path LLC",
"connections": [
{
"connectionDate": "2024-03-18T09:10:00Z",
"provider": "Plaid",
"id": 1087,
"name": "Bright Path LLC"
}
]
}
]Error Codes
| Code | When it happens |
|---|---|
| 400 | Missing required fields or validation error (e.g., malformed date-time format) |
| 401 | Token missing, expired, or invalid |
| 403 | Insufficient permissions to access report data |
| 404 | Resource not found |
| 500 | Internal server error |
Common Mistakes
- Providing
fromortoin a non-ISO 8601 date-time format — always useYYYY-MM-DDTHH:mm:ssZformat. - Omitting the
Authorization: Bearerheader or using an expired token, resulting in a 401 error. - Passing a
takevalue that is very large without also settingskip, which may result in slow responses for high-volume datasets — use pagination to iterate through results. - Passing
idsas a comma-separated string instead of repeated query parameters (e.g., useids=1042&ids=1087notids=1042,1087).
Related Endpoints
GET /Report/residuals/cards— Retrieve residuals report for card activityGET /Report/residuals/accounts— Retrieve residuals report for financial accountsPOST /api/auth/v2— Obtain a Bearer token for authenticationPOST /api/auth/refresh— Refresh an existing Bearer token
Example
curl -X GET "https://api.banking.netevia.dev/Report/residuals/externalAccountsConnections?from=2024-03-01T00%3A00%3A00Z&to=2024-03-31T23%3A59%3A59Z&skip=0&take=100" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"