When a merchant is created, we need to know who owns the company, along with their share of the company.
You can fill out this on admin.yourpay.io or via our API wich you can find here.
If you choose to fill out this form using our API, you need to enter some parameters. “share” is how many percent of the company, the inserted person owns.
Note: Merchant_tken can be found under “account” on admin.yourpay.io
Your can use our console to try our functions before integrating them into your own system by pressing the “try console” button in the top right corner.
From here, you can insert your parameters and click “send request” to test if everything works. Use this function for every owner in the company above 17,5%.
Notice: it is important that you save the document identifier for each owner and document type, since you will need this in the next step.
When you have finished registering all owners you need to confirm this, by using our “submit owners” API found here.
Here you can use the same method as before, but you only need to insert the merchant_token. If you get a “success” in our response you are ready to move on to the next step.