API reference
Reference data
Rates, coins and limits, processing status and chain lookups.
- GET/v1/ratesCurrent USD rates
- GET/v1/tokensSupported coins and limits
- GET/v1/statusPayment processing status
- GET/v1/chain/transactions/{txid}On-chain transaction status
- GET/v1/chain/addresses/{address}Address validity, activation and balances
GET
/v1/ratesCurrent USD rates
Scope:
readKey: live or testResponses
- 200 OKJSON response
curl https://hisarpay.com/v1/rates \
-H "Authorization: Bearer $HISARPAY_API_KEY"GET
/v1/tokensSupported coins and limits
Scope:
readKey: live or testResponses
- 200 OKJSON response
curl https://hisarpay.com/v1/tokens \
-H "Authorization: Bearer $HISARPAY_API_KEY"GET
/v1/statusPayment processing status
Scope:
readKey: live or testResponses
- 200 OKJSON response
curl https://hisarpay.com/v1/status \
-H "Authorization: Bearer $HISARPAY_API_KEY"GET
/v1/chain/transactions/{txid}On-chain transaction status
Scope:
readKey: live or testPath parameters
txidstringrequiredTRON transaction id (64 hex characters).
pattern ^[0-9a-fA-F]{64}$
Responses
- 200 OKJSON response
curl https://hisarpay.com/v1/chain/transactions/9f2c51d7a0b3e4f5061728394a5b6c7d8e9f0a1b2c3d4e5f60718293a4b5c6d7 \
-H "Authorization: Bearer $HISARPAY_API_KEY"GET
/v1/chain/addresses/{address}Address validity, activation and balances
Scope:
readKey: live or testPath parameters
addressstringrequiredThe TRON address to look up.
≤ 64 chars
Responses
- 200 OKJSON response
curl https://hisarpay.com/v1/chain/addresses/TPayoutAddressSavedInDashboard001 \
-H "Authorization: Bearer $HISARPAY_API_KEY"