API reference
Withdrawals
Withdrawals from your balance to trusted saved addresses. Details in the guide →
- POST/v1/withdrawalsSend a payout from your balance to a trusted saved address
- GET/v1/withdrawalsList withdrawals
- GET/v1/withdrawals/{id}Withdrawal status
/v1/withdrawalsSend a payout from your balance to a trusted saved address
withdrawalsKey: live onlyThe address must be saved and trusted. The same idempotency_key returns the existing withdrawal with 200.
Request body
tokenstringrequiredValues:
TRXUSDTamountstringrequiredpattern ^(0|[1-9]\d{0,11})(\.\d{1,6})?$
to_addressstringrequiredidempotency_keystringrequired1–255 chars
Responses
- 200 OKReturns the Withdrawal object
- 201 CreatedReturns the Withdrawal object
curl -X POST https://hisarpay.com/v1/withdrawals \
-H "Authorization: Bearer $HISARPAY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"token": "USDT",
"amount": "250",
"to_address": "TPayoutAddressSavedInDashboard001",
"idempotency_key": "payout-2026-10-23-001"
}'/v1/withdrawalsList withdrawals
Filters can be combined. q finds a withdrawal by its id or the beginning of it, its destination address or transaction id, or by part of its note.
withdrawalsKey: live onlyQuery parameters
statusstringoptionalComma-separated: pending_review, queued, processing, completed, failed, rejected
sourcestringoptionalComma-separated: panel, api, auto, admin
tokenstringoptionalCoin: TRX or USDT.
Values:
TRXUSDTcreated_fromstringoptionalCreated at or after. A day like 2026-12-01 (UTC) or a time like 2026-12-01T09:30:00Z
created_tostringoptionalCreated before. A day is taken in whole
qstringoptionalSearch text
≤ 100 chars
limitintegeroptionalPage size.
1–100
beforestring (uuid)optionalnext_before from the previous response, for the next page.
Responses
- 200 OKJSON response
2 fields
dataarray<Withdrawal>next_beforestring | number· nullable
curl "https://hisarpay.com/v1/withdrawals?limit=20" \
-H "Authorization: Bearer $HISARPAY_API_KEY"/v1/withdrawals/{id}Withdrawal status
withdrawalsKey: live onlyPath parameters
idstring (uuid)requiredThe record id.
Responses
- 200 OKReturns the Withdrawal object
curl https://hisarpay.com/v1/withdrawals/0b6a3f52-3c1d-4a7e-8f4b-1d2c3e4f5a6b \
-H "Authorization: Bearer $HISARPAY_API_KEY"