Add SHARE Protocol Split Contract as a Payee
This guide provides step by step instructions for using a split contract as a payee within your system.
At royalty split creation time your customers can enter the ID of a splits contract instead of an email address as a payment recipient. In your service, this call should be invoked during the Royalty Splits -> New Royalty Split -> Add Payee flow. When a customer is prompted to enter the email address of a payee, they can instead enter the contract ID as a payee.
Validate that the contract exists using the
contracts_get_by_id
endpoint.
Response
Note that success
is true, indicating that this payee represents a valid smart contract.
Store this contract ID in your system in the same way a payee referenced by email would be stored. This contract ID will be referenced again at payout time.
Last updated