# Products & pricing

URL: https://doc.securepayapi.com/products
Last updated: 2026-11-12

> Create products with prices, coupons and images, and sell them via hosted checkout.

Create products in your [dashboard](https://app.securepayapi.com/) to sell them through a
[hosted checkout](https://doc.securepayapi.com/hosted-checkout) page, or to organize what you offer.
Products are created in the dashboard only; there is no public API for them.

## Create a product

The dashboard calls them **Payment Links**. A product belongs to the cabinet
(**Live** or **Sandbox**) the dashboard is in when you create it, and each
cabinet lists only its own products. Each product has:

| Field | Rules | On the checkout page |
| --- | --- | --- |
| **Name** | Required, up to 200 characters | Shown |
| **Description** | Optional, up to 5,000 characters | The first 2,000 characters are shown |
| **Price** | Required, from 1.00 to 1,000,000,000, rounded to the cent | Charged as shown |
| **Currency** | Required: USD, EUR or GBP | The payment is made in this currency |
| **Images** | Up to 5; JPEG, PNG or WEBP, 2 MB each | The **first** one is shown and used for link previews |
| **Features** | Up to 20 lines | Shown; a line over 200 characters is dropped (the dashboard accepts up to 300) |
| **Coupons** | Up to 5 codes — see [Coupons](#coupons) | A discount-code field appears |
| **Category** | Optional: digital, physical, service or other | Not shown |
| **Unit label** | Optional, up to 50 characters | Not shown |
| **Tax behavior** | Optional: auto, inclusive or exclusive | No effect — the checkout applies no tax |
| **Metadata** | Up to 20 key/value pairs (key 80, value 500 characters) | Not shown, no effect |

Keep feature lines to **200 characters** and descriptions you want fully visible
to **2,000 characters**: those are the limits the checkout page applies.

Online payments in a currency other than USD depend on your processing setup;
make a test purchase before you share a EUR or GBP link widely.

## Coupons

Add discount codes to a product so customers can reduce the price at checkout:

- Each code is a **whole percentage off**, 1–100. The discount is rounded to the
  cent and the total never goes below zero.
- Codes are letters, digits, `_` and `-`, and are stored upper-cased; other
  characters (spaces, punctuation) are removed when you save. Customers can
  type a code in any case.
- Keep codes to **32 characters or fewer**. The dashboard accepts up to 50, but
  the checkout refuses a code longer than 32 when the customer pays — the
  discount appears on the page and the payment is then rejected.
- Up to **5 codes** per product; extra codes are dropped when you save.

Customers enter the code on the [hosted checkout](https://doc.securepayapi.com/hosted-checkout) page, and the
total is recalculated on our servers before payment.

> **Warning:**
A 100% code brings the total to 0.00, but the checkout still runs a card (or
Apple Pay) payment for that total, and a zero-amount payment is not guaranteed
to complete. Do not use a 100% code to give a product away.

## Status

Products are **active** or **archived**. Only active products can be purchased;
an archived product's checkout page answers 404 until you make it active again.
Archive a product to stop selling it without deleting it.

After creation, the status is the only thing you can change. To change the
price, currency, coupons or any other detail, create a new product and share
its new link. **Deleting** a product removes it and its images permanently, and
its link stops working.

> **Note:**
Prices and coupons are always applied server-side, so the amount a customer pays
can't be changed in the browser.
