# REST Resource: accounts.contracts

- [Resource: Contract](https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/accounts.contracts#Contract)
  - [JSON representation](https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/accounts.contracts#Contract.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/accounts.contracts#METHODS_SUMMARY)

## Resource: Contract

Youtube Affiliate Program contract. Contains information about the commission rates applied to creators in the program.

| JSON representation |
|---|
| ``` { "name": string, "defaultCommission": { object (`https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/CommissionRate`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the `Contract` resource. Format: `accounts/{account}/contracts/{contract}` |
| `defaultCommission` | ``object (`https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/CommissionRate`)`` Required. The default commission rate for the contract. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/accounts.contracts/create` | Creates a new contract. |
| ### `https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/accounts.contracts/get` | Retrieves the specified contract. |
| ### `https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/accounts.contracts/list` | Lists the contracts for a given account. |
| ### `https://developers.google.com/merchant/api/reference/rest/youtube_v1alpha/accounts.contracts/patch` | Updates a given contract. |