Settlement & Payouts
How funds received across per-order blockchain deposit addresses are aggregated, converted, and disbursed to your settlement wallet or Indonesian bank accounts.
Automated deposit sweep architecture
When a customer pays an order, the transfer arrives at a unique on-chain deposit address. Hashpay's background sweep workers continuously monitor wallet balances:
- Immediate Ledger Credit — As soon as the transfer confirms on-chain, your merchant available balance (
balance) is credited immediately. You do not need to wait for gas sweeps before fulfilling customer orders. - Automated Gas & Aggregation Sweep — Background workers aggregate funds from individual deposit addresses into your central hot/cold treasury wallet based on configured economic gas thresholds.
Manual sweep trigger (api-key)
POST
/merchant/settlementMerchants can trigger an immediate on-demand sweep across all mature deposit addresses:
Trigger Manual Sweep
curl -X POST "https://api.hashpay.id/v2/mainnet/merchant/settlement" \
-H "api-key: sec_live_9f83b27a8e..."Outbound withdrawals (Disbursement to bank & crypto)
To withdraw accumulated revenue to your local Indonesian bank account (BCA, Mandiri, BRI, BNI) or external cold crypto wallet, use the disbursement endpoints authenticated with your Merchant JWT token:
- Calculate Quote & Fee —
GET /v2/mainnet/merchant/disbursement/calculate?amount=10000000&channel=BANKreturns precise exchange rates and bank gateway transfer fees. - Submit Withdrawal —
POST /v2/mainnet/merchant/disbursementcreates the withdrawal instruction with 2FA authorization.