> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# SubscriptionContractDTO

> The Stigg contract this subscription is linked to, when any.



**Kind**: `object`

## Fields

**`billingId`**: `String`

The billing-provider (Received) contract id, used to open the embedded contract page; null until synced

---

**`contractId`**: `String!`

The Stigg contract ref ID (the key used to fetch/update/delete the contract)

---

**`id`**: `String!`

The persisted Stigg contract id

---

**`name`**: `String`

The contract name

---

**`refId`**: `String!`

The Stigg contract ref ID



## Related topics

- [Attach subscriptions to contract](https://docs.stigg.io/api-reference/contracts/attach-subscriptions-to-contract.md)
- [Detach subscription from contract](https://docs.stigg.io/api-reference/contracts/detach-subscription-from-contract.md)
- [ContractSubscriptionRef](https://docs.stigg.io/graphql-reference/types/ContractSubscriptionRef.md)
- [ContractSubscriptionInput](https://docs.stigg.io/graphql-reference/types/ContractSubscriptionInput.md)
- [Create contract](https://docs.stigg.io/api-reference/contracts/create-contract.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.