# SpendCapCreate

> The SpendCapCreate object in the Guv API.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `scope` * | object |  |
| `amount` * | [Money](/docs/api/objects/money/) |  |
| `on_cap` | [OnCapAction](/docs/api/objects/on-cap-action/) |  |
| `warn_at` | array of integer |  |
| `acknowledge_no_pause` | boolean | Required true when `on_cap` is `notify_only`. |

\* always present

## Example

```json
{
  "scope": {
    "type": "workspace",
    "project": "string",
    "environment": "string"
  },
  "amount": {
    "amount": "7.42",
    "currency": "GBP",
    "display": "£7.42"
  },
  "on_cap": "sleep_non_production",
  "warn_at": [
    1
  ],
  "acknowledge_no_pause": false
}
```

## Used by

- [Create a spend cap](/docs/api/spend/#create-a-spend-cap)
