Brick API Documentation
API

Ledger / Disbursement History

Use the Ledger / Disbursement History endpoint to retrieve Send Money transactions for a selected date range and status filter. Finance and operations teams can use this data to reconcile payouts, investigate pending or failed transfers, and compare Brick transaction records with internal ledgers or reports.

Environment for Endpoint URL

Please Replace the environment in the URL with:

When the environment is sandbox, replace the {environment} with sandbox. so the URL will be https://sandbox.onebrick.io/v2/payments/gs

When the environment is production, replace the {environment} with api. so the URL will be https://api.onebrick.io/v2/payments/gs

Request parameters

Key ParametersData TypeDescription
publicAccessTokenStringOne time access-token generated using the auth token API
startDateDateStart date based on transaction created date. Format is YYYY-MM-DD
endDateDateEnd date based on transaction created date. Format is YYYY-MM-DD
statusStringcompleted or processing or pending or failed
searchStringLook for specific transaction ID or referenceId
pageIntegerWhich page of the data should be retrieved
sizeIntegerHow many records need to be retrieved per page. Maximum record is 2000 & default is 100 per page

Response parameters

Key ParametersData typeDescription
refIdStringReference ID given by end user
dateTimestampTransaction created date
accountHolderNameStringBeneficiary Account holder name
accountNumberIntegerBeneficiary Account number
bankNameStringBeneficiary bank name
descriptionStringDescription that filled related to fund transfer
amountBig DecimalTransaction amount
feesBig DecimalFees applied to Transaction
statusStringStatus of the transaction. either completed or processing or pending or failed
Last modified on