Skip to content

List revenue contracts

GET/revenue/contracts

Returns all revenue contracts for the tenant. Use to populate contract selectors in subscription creation, amendment workflows, or renewal forecast dashboards.

Request

Query parameters

NameTypeRequiredDescription
statusstringNo

Filter contracts by lifecycle status.

One of: "draft", "active", "amended", "expired", "terminated"

pageintegerNo

Page number for paginated results.

Default: 1

Responses

200 Paginated list of revenue contracts

Content type application/json, object.

FieldTypeRequiredDescription
dataarray of object · RevenueContractV1No
data[].idintegerNo

Auto-incremented primary key.

data[].namestringNo

Descriptive name of the contract.

data[].statusstringNo

Current lifecycle status of the contract.

One of: "draft", "active", "amended", "expired", "terminated"

data[].start_datestring (date)No

Contract commencement date.

data[].end_datestring (date), nullableNo

Contract expiry date. Null for open-ended contracts.

data[].total_valuenumber (float)No

Total contract value in the specified currency.

data[].currencystringNo

ISO 4217 three-letter currency code (e.g. USD, GHS, EUR).

Max length: 3

data[].billing_frequencystringNo

How often billing events are generated for this contract.

One of: "monthly", "quarterly", "annually", "one_off"

data[].customer_idinteger, nullableNo

ID of the associated customer record.

data[].notesstring, nullableNo
data[].created_atstring (date-time)No
data[].updated_atstring (date-time)No
metaobject · PaginationMetaNo
meta.current_pageintegerNo
meta.per_pageintegerNo
meta.totalintegerNo

Example

{
  "data": [
    {
      "id": 12,
      "name": "Acme Corp Enterprise Agreement 2026",
      "status": "active",
      "start_date": "2026-01-01",
      "end_date": "2026-12-31",
      "total_value": 48000.0,
      "currency": "USD",
      "billing_frequency": "monthly",
      "created_at": "2025-12-15T10:00:00Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 15,
    "total": 34
  }
}

Example request

curl -X GET "https://{tenant}.faciotech.net/api/v1/revenue/contracts" \
  -H "Accept: application/json"
Loading