Contracts
Create a contract.
Contracts are subscription objects in LedgerUp Engine.
post/v2/contracts
Request body
Example request
{
"currency_code": "USD",
"billing_interval": "month",
"starts_at": 1767225600,
"ends_at": 1767225600,
"payment_terms": "net_30"
}Response
Success.
Example response
{
"status": "active",
"billing_interval": "month",
"starts_at": 1767225600,
"ends_at": 1767225600,
"created_at": 1767225600,
"updated_at": 1767225600,
"canceled_at": 1767225600,
"cancel_at": 1767225600
}