Creating an organization
The method allows you to create an organization for the user
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/json
Body
The body of the user creation request
userIdstringRequiredExample:
User's email
6fb8b0d7-c40e-4692-ad85-b5f2208c2f78
namestringOptionalExample:
Organization's name
My organization
Responses
200Success
application/json
post
POST /partner/api/create-user-organization HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"userId": "6fb8b0d7-c40e-4692-ad85-b5f2208c2f78",
"name": "My organization"
}
200Success
{
"success": true,
"response": "2497027d-1f9c-46e1-92cf-76f7b046305e"
}
Last updated