Create an owner
Learn how to create an owner.
Owners represent the legal owners of units and are used to route payments collected on behalf of owners.
The minimum information required to create an owner is:
- Their
email
. - The
business_type
, which can be eithercompany
orindividual
.
curl https://api.yorlet.com/v1/owners \
-H "Authorization: {{API_KEY}}" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"business_type": "individual"
}'
If you want to pre-fill information, you can provide more details when creating the Owner. See the create an owner API for a full list of parameters you can send.
curl https://api.yorlet.com/v1/owners/{{OWNER_ID}}/onboarding \
-H "Authorization: {{API_KEY}}" \
-H "Content-Type: application/json" \
-d '{
"type": "owner_onboarding"
}'
The response includes a
url
. Redirect to this link to send your user into the flow. URLs from the Onboarding Links are temporary and can only be used once because they grant access to the account holder’s personal information. Authenticate the user in your application before redirecting them to this URL.After the user completes the onboarding flow they will be redirected back to your site.
Check the Owner status and create another onboarding link to complete onboarding if needed.
Last modified 2yr ago