Brick API Documentation
Brick API

Ledger

Server

Retrieve transaction ledger records for finance reconciliation, operational review, and payout history. Ledger data helps match Brick transactions with internal orders, settlement reports, and accounting records.


Ledger / Disbursement History

GET
https://sandbox.onebrick.io
/v2/payments/gs/ledger
publicAccessToken (header)

Retrieve ledger records for a selected date or time interval to reconcile Brick transactions in near real time. Use this endpoint to compare disbursements, top-ups, settlements, and operational balance movements against your internal financial records. The response is intended for finance dashboards, accounting exports, and transaction investigations.

Ledger / Disbursement History › query Parameters

startDate
​string · date

From when the transaction should be retrieved. Format is YYYY-MM-DD

endDate
​string · date

Until when the transaction should be retrieved. format is YYYY-MM-DD

status
​string

Status of transaction. either completed or processing or pending or failed. always lower case

search
​string

Look for specific transaction ID or referenceId

page
​integer · int32

Which page of the data should be retrieved

size
​integer · int32

how many records need to be retrieved per page. Maximum record is 2000 & default is 100 per page

Ledger / Disbursement History › Responses

200

status
​integer
Default: 0
​object
​object
error
​