The method allows you to create an organization for the user
Last updated 7 months ago
User's email
Request success indicator
ID of the created organization
const response = await fetch('https://ocp.payonchain.org/partner/api/create-user-organization', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "userId": "8efa4a83-86c9-4eb9-899a-27ce1079a2f8" }), }); const data = await response.json();
{ "success": false, "response": "e3b5315a-1de9-4b12-9c76-fb79fe4edf33" }