Suborganizations
The Suborganizations API enables you to retrieve and create Suborganizations within your Rebill account.
GET/v2/suborganization/all
Get suborganizations
Retrieve the list of all your suborganizations.
Optional Query Parameters
take
number
skip
number
Loading...
Response
[
{
"id": "20a0b2c7-fbf2-404a-b8ee-6acab39ff4f2",
"name": "Example SAS",
"alias": "example-sas",
"address": {
"street": "Riverside St.",
"city": "New York City",
"state": "FL",
"country": "USA",
"zipCode": "90210",
"number": "102",
"floor": "2",
"apt": "B",
"description": "Home / Office"
},
"checkoutUrl": "example-sas.com",
"logoUrl": "example-sas.jpg",
"compliance": false,
"parent": "example-sas",
"statementDescriptor": "example-SAS",
"createdAt": "2024-03-19T14:35:17.597Z",
"metadata": {
"key": "value"
}
}
]
POST/v2/suborganization
Create suborganization
Create a suborganization.
Required Body Parameters
organization
object
required
statementDescriptor
string
metadata
object
Loading...
Response
{
"id": "xxxxxxx-fa84-40ec-9cbe-ea0316027cd9"
}