> ## 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.

# Get a Discount Code

> Retorna um código de desconto pelo ID.

## Parâmetros de caminho

<ParamField path="id" type="string" required>
  ID do código (`dcode_*`).
</ParamField>

<RequestExample>
  ```bash cURL theme={}
  curl -X GET "https://api.chargefy.io/v1/discount-codes/dcode_123" \
    -H "Authorization: Bearer {{API_KEY}}"
  ```
</RequestExample>

## Resposta

`200 OK` com o objeto `discount_code` completo.
