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
ed83d19f-30ef-4b3f-bca9-edd2c7714b16
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": "ed83d19f-30ef-4b3f-bca9-edd2c7714b16",
"limit": 1,
"offset": 1
}
200Success
{
"success": true,
"response": [
{
"id": "a61799b2-cd0c-47fd-a7f0-216b2be184c7",
"name": "custom name",
"createdAt": "2025-06-09T13:18:11.464Z"
}
]
}
Last updated