Spending Controls
Set up rules and controls for card spending
Endpoints for managing spending controls, rules, and targets.
| Method | Endpoint | Description |
|---|
| GET | /v1/spending_controls | Gets all the Card spending controls |
| POST | /v1/spending_controls | Creates a spending control |
| GET | /v1/spending_controls/{id} | Get a spending control |
| PATCH | /v1/spending_controls/{spending_control_id} | Updates a spending control |
| DELETE | /v1/spending_controls/{id} | Deletes a spending control |
| Method | Endpoint | Description |
|---|
| PUT | /v1/spending_controls/{spending_control_id}/rules | Add or update a rule to a spending control |
| DELETE | /v1/spending_controls/{spending_control_id}/rules/{type} | Delete a rule of a spending control |
| Method | Endpoint | Description |
|---|
| GET | /v1/spending_controls/{spending_control_id}/targets | List spending control's targets |
| PATCH | /v1/spending_controls/{spending_control_id}/add_targets | Add target to a spending control |
| DELETE | /v1/spending_controls/{spending_control_id}/remove_targets | Remove targets to a spending control |