Brick API Documentation
string · datestring · datestringstringinteger · int32integer · int32integer
Ledger / Disbursement History
GET
https://sandbox.onebrick.io/v2/payments/general
/ledger
This API enable you to get transactions from certain interval and do transaction reconciliation in real time
query Parameters
startDateFrom when the transaction should be retrieved. Format is YYYY-MM-DD
endDateUntil when the transaction should be retrieved. format is YYYY-MM-DD
statusStatus of transaction. either completed or processing or pending or failed. always lower case
searchLook for specific transaction ID or referenceId
pageWhich page of the data should be retrieved
sizehow many records need to be retrieved per page. Maximum record is 2000 & default is 100 per page
Ledger / Disbursement History › Responses
200
statusDefault: 0
object
object
error