Brick API Documentation
Brick API

Regular Disbursement

Server

Create standard Brick Send Money payouts to bank accounts or supported Ewallet destinations. Use Regular Disbursement when real-time BI-FAST routing is not required or unavailable.


Regular Disbursement

POST
https://sandbox.onebrick.io
/v2/payments/gs/disbursements
publicAccessToken (header)

Create a regular disbursement to a bank account or supported Ewallet destination. Use this endpoint for standard payout workflows where BI-FAST is not required, not available, or not selected by your routing rules. Submit a unique reference ID and recipient details, then reconcile completion through callbacks, ledger records, or the disbursement status endpoints.

Testing in Sandbox Environment (Testing Mode)

To simulate various transaction statuses, use the sample inputs below when calling the Disbursement API in the sandbox environment:

Regular Disbursement

Bank Short CodeBank Account NumberBank Account Holder NameAmountExpected Status
MANDIRI112233445PROD ONLYRp29.999Completed
BRI112233445PROD ONLYRp10.000 - Rp500.000.000Processing
MANDIRI112233445PROD ONLYRp39.999Failed
SINARMAS112233445PROD ONLYRp10.000 - Rp500.000.000Failed with error 503 (Bank Under Maintenance)

Important Notes for Sandbox Testing:

  • Bank Account Number: Any number with more than 8 digits is acceptable.
  • Account Holder Name: Must always be exactly "PROD ONLY".
  • Amount: Must fall within the range of Rp10.000 to Rp500.000.000.
  • These values are hardcoded in our sandbox environment to help simulate specific response statuses.

Regular Disbursement › Request Body

referenceId
​string · required

A unique reference ID as a unique identifier

Default: test-1
description
​string · required

An arbitrary string attached to the object. Often useful for displaying to users what the transaction was for. Description length limit is 1000 chars.

Default: test-disbursement-1
amount
​integer · int32 · required

Amount that you would like to send

Default: 29999
​object · required
recipientEmail
​string

Regular Disbursement › Responses

200

No data returned