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

# Cancel a Setup Intent

> Cancela um setup intent.

Cancela um `setup_intent` que ainda não foi concluído.

<ParamField path="id" type="string" required>
  ID do setup intent (`seti_*`).
</ParamField>

<ParamField body="cancellation_reason" type="string">
  `abandoned`, `requested_by_customer` ou `duplicate`.
</ParamField>

<RequestExample>
  ```bash cURL theme={}
  curl -X POST "https://api.chargefy.io/v1/setup-intents/seti_123/cancel" \
    -H "Authorization: Bearer {{API_KEY}}"
  ```
</RequestExample>

## Resposta

`200 OK` com `status: "canceled"`.
