Ask us anything. We're here to help.

Retrieve Revenue Account Information via API

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:

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 /accountscall, and the system will return the Revenue Account in the response.