> For the complete documentation index, see [llms.txt](https://developer.paddle.com/llms.txt).
>
> To search these docs, send a `GET` request to `https://paddle-docs-retrieval.kapa-paddle.workers.dev/?q=<question>` with a URL-encoded question. No authentication needed. It returns a JSON array of `{content, source_url}`, most relevant first.

# Discount can't be found

The discount code or ID on the transaction doesn't match any discount.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "transaction_discount_not_found",
    "detail": "Cannot find provided discount code/id",
    "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_discount_not_found"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `transaction_discount_not_found` |
| Error message | Cannot find provided discount code/id |

## Common causes

- The `discount_id` or `discount_code` you provided doesn't match a discount in this environment.

## Common solutions

- Verify the `discount_id` exists and isn't archived.
- Verify the `discount_code` is spelled correctly and is still active.
- Check you're working in the right environment. A discount created in sandbox doesn't exist in live, and the reverse.
