Bank Transactions API
Access bank accounts and transactions.
Scope required: bank_transactions:read
List Bank Accounts
GET /bank-accountsReturns all bank accounts for your business.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
is_active | boolean | Filter by active status |
Example Request
curl -H "Authorization: Bearer rb_live_YOUR_API_KEY" \
"https://api.rebased.app/api/v1/external/bank-accounts"Example Response
{
"accounts": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Business Cheque Account",
"account_number_masked": "****1234",
"bsb": "062-000",
"institution": "Commonwealth Bank",
"currency": "AUD",
"current_balance": 50000.00,
"is_active": true,
"created_at": "2026-01-01T00:00:00Z"
}
],
"total": 1
}List Bank Transactions
GET /bank-transactionsReturns bank transactions for your business.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
bank_account_id | string | Filter by bank account ID |
from_date | date | Filter transactions from this date |
to_date | date | Filter transactions to this date |
is_reconciled | boolean | Filter by reconciliation status |
page | integer | Page number (default: 1) |
page_size | integer | Items per page (default: 50, max: 100) |
Example Request
curl -H "Authorization: Bearer rb_live_YOUR_API_KEY" \
"https://api.rebased.app/api/v1/external/bank-transactions?from_date=2026-02-01&is_reconciled=false"Example Response
{
"transactions": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"bank_account_id": "660e8400-e29b-41d4-a716-446655440000",
"bank_account_name": "Business Cheque Account",
"transaction_date": "2026-02-15",
"description": "Payment from Acme Corp",
"amount": 1100.00,
"type": "credit",
"reference": "INV-0001",
"category": null,
"is_reconciled": false,
"reconciled_at": null,
"created_at": "2026-02-15T10:30:00Z"
}
],
"total": 1,
"page": 1,
"page_size": 50,
"has_more": false
}Get Bank Transaction
GET /bank-transactions/{id}Returns a single bank transaction by ID.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string (UUID) | The transaction ID |
Bank Account Object
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
name | string | Account name |
account_number_masked | string | Masked account number (last 4 digits) |
bsb | string | BSB code (AU) |
institution | string | Bank name |
currency | string | Currency code |
current_balance | decimal | Current balance |
is_active | boolean | Whether the account is active |
created_at | datetime | When created |
Bank Transaction Object
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
bank_account_id | string | Bank account ID |
bank_account_name | string | Bank account name |
transaction_date | date | Transaction date |
description | string | Transaction description |
amount | decimal | Transaction amount (always positive) |
type | string | debit (money out) or credit (money in) |
reference | string | Reference number |
category | string | Transaction category |
is_reconciled | boolean | Whether reconciled |
reconciled_at | datetime | When reconciled |
created_at | datetime | When imported |
Last updated on