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/jsonBody
The body of the user creation request
userIdstringRequiredExample:
User's email
ff72f744-beda-4cc4-8b44-2b3deb584f99namestringOptionalExample:
Organization's name
My organizationResponses
200Success
application/json
Successful response
successbooleanRequired
Request success indicator
responsestringRequiredExample:
ID of the created organization
2a06421c-edae-4df1-9851-17d6479449e2post/partner/api/create-user-organization
POST /partner/api/create-user-organization HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"userId": "ff72f744-beda-4cc4-8b44-2b3deb584f99",
"name": "My organization"
}200Success
{
"success": true,
"response": "2a06421c-edae-4df1-9851-17d6479449e2"
}Last updated