Contracts
List contract lines.
get/v2/contracts/{contract_id}/lines
Request
- Base URLhttps://docs.ledgerup.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
contract_idstring required
Query parameters
limitinteger
Maximum number of records to return. Defaults to 100.
starting_afterstring
Cursor resource id from the previous page.
Response
Success.
Example response
{
"data": [
{
"quantity": "1",
"status": "active",
"starts_at": 1767225600,
"ends_at": 1767225600,
"billing_timing": "arrears",
"proration": "prorate",
"created_at": 1767225600,
"updated_at": 1767225600,
"canceled_at": 1767225600,
"cancel_at": 1767225600
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.