Payouts
Use the Payouts API to send royalties, share revenues or fractionalize earnings among thousands of payees in realtime.
Create a payout
POST
/v1
Creates a payout to a smart contract recipient which contains a set of payees. Since payees are members of a smart contract, the caller does not need to specify individual payees. Instead, by specifying a smart contract ID, all payees within the contract are paid, even as this set of payees changes over time.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
idempotency_key
string
Optional. For idempotent requests, supply a unique identifier here. Repeated calls to the endpoint with the same key value are guaranteed to execute only once.
recipient_type
string
Only smart_contract
type is supported. This indicates that the payout receiver is a contract containing a set of payees.
recipient_id
string
The ID of the recipient. For type smart_contract
, this is the contract_id
value returned at contract upload time within the SHARE App.
amount
object
A dictionary with keys value
and currency
. Only USD
is supported at this time.
Response
Show payout details
POST
/v1
Shows the current status of a payout batch that has been started.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
batch_id
string
The ID of the payout batch.
Response
Last updated