List bank accounts
GET
/accounts
const url = 'https://api.banklink.co.za/v1/accounts';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.banklink.co.za/v1/accounts \ --header 'Authorization: Bearer <token>'Returns all linked bank accounts for the authenticated organisation.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”List of accounts
Media typeapplication/json
object
data
required
Array<object>
object
id
required
Unique identifier for the bank profile
string format: uuid
bank
required
Bank identifier (e.g. “fnb”, “absa”)
string
account_number
required
Bank account number. Null until first sync completes.
string | null
has_credentials
Whether credentials are saved for unattended access
boolean
nickname
required
Display name for the account
string
last_synced_at
required
ISO 8601 timestamp of the last successful sync. Null if never synced.
string | null format: date-time
created_at
required
ISO 8601 timestamp when the account was linked
string format: date-time
cursor
required
Pagination cursor (always null for this endpoint)
string | null
Example
{ "data": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "bank": "fnb", "account_number": "62012345678", "nickname": "FNB Business Account", "last_synced_at": "2026-06-08T10:00:00.000Z", "created_at": "2026-06-01T08:00:00.000Z" } ]}Missing or invalid API key
Media typeapplication/json
object
error
required
object
code
required
Machine-readable error code
string
message
required
Human-readable error description
string
Example
{ "error": { "code": "unauthorized", "message": "Invalid or missing API key" }}