Getting a list of organizations
The method allows you to get a list of organizations
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
Request body of the list of organizations
userIdstringOptionalExample:
User ID
5b41fb2b-9f7a-48cd-ae17-f48ceda2bd83
limitintegerOptional
Number of elements per page
offsetintegerOptional
Number of items to skip
Responses
200Success
application/json
post
POST /partner/api/get-user-organizations HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 70
{
"userId": "5b41fb2b-9f7a-48cd-ae17-f48ceda2bd83",
"limit": 1,
"offset": 1
}
200Success
{
"success": true,
"response": [
{
"id": "2f90da31-7c81-4ab2-a7fc-3089bb4be451",
"name": "custom name",
"createdAt": "2025-06-09T11:38:26.486Z"
}
]
}
Last updated