Organisations

List Revenue Centres

Returns every revenue centre defined for the organisation. The response includes Trybe's system revenue centres (spa, deposit, membership fees, ...) and any custom centres the operator has added. The meta.has_custom_revenue_centres flag indicates whether the organisation has overridden the Trybe defaults.

get/shop/organisations/{organisationId}/revenue-centres

Path parameters

organisationIdstring uuid required

Identifier of the organisation. Organisations group sites together under a single billing/admin entity; the caller's API key must have access to the named organisation.

Response

The revenue centres were successfully retrieved.

Example response

{
  "data": [
    {
      "id": "spa",
      "key": "spa",
      "name": "Spa",
      "tax_percent": 20,
      "tax_configuration": {
        "name": "UK VAT"
      },
      "is_required": true
    }
  ],
  "meta": {
    "has_custom_revenue_centres": true
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.