Background
This page will breakdown the particulars on how a Zero Hash platform can retrieve Revenue Account (also referred to as "spread account") information over rest API.
Revenue Account Definition: The account that all revenue/spreads funnels into in the event of a customer purchase or sale of a digital asset.
Revenue Account Technical Definition:
- participant_code: 00SCXM
- account_group: 00SCXM
- account_label: [platform's participant_code]
- account_type: available
- asset: USD
API
You can query the following endpoints and retrieve Revenue Account information.
GET /accounts
GET /accounts/:account_id
GET /accounts/:account_id/run_history
GET /accounts/:account_id/movements
Users can also use query parameters, ie account_label
= [platform's participant_code] on a GET /accounts
call, and the system will return the Revenue Account in the response.