> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/payments/discounts.md).

# Discounts

Discounts — not in Cloud today; manage discounts at your payment provider.

**Where:** Payments → Discounts · `/projects/<project>/payments/discounts` — not in the Payments menu today

{% hint style="warning" %}
Cloud has no Discounts screen yet, and Norbix has no discount endpoints, so the SDK, the CLI and the API cannot do it either. The V2 code for this screen exists, but its routes are switched off (*restore when backend support returns*); the address `/projects/<project>/payments/discounts` opens the **404** page. Create coupons and promotion codes at your provider (for example **Stripe Dashboard → Product catalog → Coupons**).
{% endhint %}

This screen is meant for discounts — coupons and promotion codes that lower a price.

## Columns, search and filters

None — the screen is not shown. The Payments menu has only Payments (orders), Triggers, Integrations and Settings.

## What you can do here

* [Add or edit a discount](/codemash/cloud/payments/discounts/editor.md) — not available yet.
* [Delete a discount](/codemash/cloud/payments/discounts/delete.md) — not available yet.
* [Create a payment trigger](/codemash/cloud/payments/triggers/new.md) — react when your provider reports a change.

## Do it from code

There is no discount call. What Norbix can do today is react when your provider reports a change, with a [payment trigger](/codemash/cloud/payments/triggers/new.md) on events such as `checkout.session.completed`, `invoice.paid` (Stripe), `transaction.completed` (Paddle), `order_created` (Lemon Squeezy). List the events Norbix received:

```ts
const { list } = await norbix.hub.payments.getPaymentsWebhookLog({ limit: 20 });
for (const call of list) console.log(call.receivedOn, call.eventName, call.statusCode, call.description);
```

```sh
norbix hub payments webhook log get --limit 5
```

The client setup is on the [Payments page](/codemash/cloud/payments.md#use-it-from-code). API: [Get Payments Webhook Log](/codemash/api-reference/payments/webhooks/get-payments-webhook-log.md)
