Connection Object
A Connection represents a linked bank account between a user and your application.
What a connection gives access to
Depending on the institution's type, a connected login gives access to one or more of these resources, each listed from the connection:
- Accounts (banks, cards, brokerages, pension funds): money-holding
accounts with balances, transactions and positions —
GET /v1/connections/{connectionId}/accounts. See the Account Object. - Tax profiles (tax authorities such as Chile's SII): the
taxpayers the login can act for, with their tax documents —
GET /v1/connections/{connectionId}/tax-profiles. See the Tax Profile Object. - Merchants (card payment processors such as Transbank): the
merchant codes the login can see, with their card sales —
GET /v1/connections/{connectionId}/merchants. See the Merchant Object.
Attributes
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier for the connection. Format: conn_ULID |
| status | string | Current state of the connection. See Connection Status |
| institutionId | string | Identifier of the connected bank (e.g., cl_banco_estado, cl_banco_chile) |
| createdAt | string | ISO 8601 timestamp when the connection was created |
| lastSyncAt | string | null | ISO 8601 timestamp of the last successful data sync. Null if never synced |
Example
json
{
"id": "conn_01HQ3K5J7X8Y9Z0A1B2C3D4E5F",
"status": "CONNECTED",
"institutionId": "cl_banco_estado",
"createdAt": "2024-01-15T10:30:00Z",
"lastSyncAt": "2024-01-15T10:32:00Z"
}