A ContractDeposit represents a security deposit or retainer associated with a plan contract (CoworkerContract). Each deposit is based on a Product and is charged to the member either on the first invoice generated for the contract, or on the next invoice for any contract that has IncludeSignupFee = true.
ContractDeposits are created automatically when a contract is signed for a plan (Tariff) that includes one or more TariffSignupProducts. Each TariffSignupProduct on the plan becomes a corresponding ContractDeposit on the new contract.
When Refundable = true, cancelling the parent contract automatically generates a credit note for the deposit amount. That credit note can then be applied — fully or partially — against any outstanding fees or damage charges raised via a separate invoice.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.
The authenticated user must be a full unrestricted administrator or have the ContractDeposit-Read role.
Path Parameters
The Id of the ContractDeposit record to retrieve.
Code Examples
curl -X GET \
"https://spaces.nexudus.com/api/billing/contractdeposits/87654321" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
200
Coworker Contract Quantity.
CoworkerContractFloorPlanDeskIds
Coworker Contract Floor Plan Desk Ids.
CoworkerContractFloorPlanDeskNames
Coworker Contract Floor Plan Desk Names.
CoworkerContractTariffName
Name of the tariff/plan associated with the parent contract.
CoworkerContractCoworkerId
Coworker Contract Coworker Id.
CoworkerContractCoworkerFullName
Full name of the member holding the parent contract.
CoworkerContractCoworkerBillingName
Billing name of the member holding the parent contract.
Name of the product this deposit is based on.
Default price of the underlying product (used when Price is not overridden).
ISO currency code of the underlying product.
Optional notes or internal comments about this deposit.
Deposit amount to charge. When set, overrides the default price of the linked product.
When true, cancelling the parent contract automatically generates a credit note for the deposit amount, which can be applied against outstanding fees or damages.
True once the deposit has been included in an invoice (either the first contract invoice or the next invoice when IncludeSignupFee = true on the contract).
True once a credit note has been issued for this refundable deposit following contract cancellation.
Date and time when the deposit was included in an invoice.
Unique record identifier.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
{
"CoworkerContractId": 0,
"CoworkerContractQuantity": null,
"CoworkerContractFloorPlanDeskIds": null,
"CoworkerContractFloorPlanDeskNames": null,
"CoworkerContractTariffName": null,
"CoworkerContractCoworkerId": null,
"CoworkerContractCoworkerFullName": null,
"CoworkerContractCoworkerBillingName": null,
"ProductId": 0,
"ProductName": null,
"ProductPrice": 0,
"ProductCurrencyCode": null,
"Notes": null,
"Price": null,
"Refundable": false,
"Invoiced": false,
"Credited": false,
"InvoicedOn": null,
"Id": 87654321,
"UpdatedOn": "2025-01-15T10:30:00Z",
"CreatedOn": "2025-01-10T08:00:00Z",
"UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"UpdatedBy": "admin@example.com",
"IsNew": false,
"SystemId": null,
"ToStringText": "ContractDeposit Example",
"LocalizationDetails": null,
"CustomFields": null
}