securepayAPIDocs

Products & pricing

Create products in your dashboard to sell them through a 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:

FieldRulesOn the checkout page
NameRequired, up to 200 charactersShown
DescriptionOptional, up to 5,000 charactersThe first 2,000 characters are shown
PriceRequired, from 1.00 to 1,000,000,000, rounded to the centCharged as shown
CurrencyRequired: USD, EUR or GBPThe payment is made in this currency
ImagesUp to 5; JPEG, PNG or WEBP, 2 MB eachThe first one is shown and used for link previews
FeaturesUp to 20 linesShown; a line over 200 characters is dropped (the dashboard accepts up to 300)
CouponsUp to 5 codes — see CouponsA discount-code field appears
CategoryOptional: digital, physical, service or otherNot shown
Unit labelOptional, up to 50 charactersNot shown
Tax behaviorOptional: auto, inclusive or exclusiveNo effect — the checkout applies no tax
MetadataUp 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 page, and the total is recalculated on our servers before payment.

Caution

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.

© 2026 Lumiria LLC · securepayAPI is operated by Lumiria LLC.