Skip to main content
GET
List

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

merchantId
string

Return only this merchant's contracts. Unique identifier for an organization

Pattern: ^org_[a-zA-Z0-9]+$
customerId
string

Return only this customer's contracts. Unique identifier for a customer

Pattern: ^cus_[a-zA-Z0-9]+$
status
enum<string>[]

Return contracts in any of these statuses. Repeat the parameter to pass several. Omit it to return every status.

draft and rejected hold while the contract was never approved. After approval the status follows the dates, on the customer's clock: scheduled before contractStart, active from it, and ended once contractEnd or terminatedAt has passed.

Available options:
draft,
rejected,
scheduled,
active,
ended
hasPendingChange
boolean

true: only contracts that wait for a decision. false: only the others.

limit
integer
default:50

Number of contracts to return.

Required range: 1 <= x <= 100
offset
integer
default:0

Number of contracts to skip.

Required range: x >= 0

Response

Contracts

data
object[]
required
pagination
object
required

Offset-based pagination response.