/discounts Creates a new discount.
If successful, your response includes a copy of the new discount entity.
discount.write
permission.
Request body
truetrue) or not (false).Unique code that customers can use to redeem this discount at checkout. Use letters and numbers only, up to 32 characters. Not case-sensitive.
If omitted and enabled_for_checkout is true, Paddle generates a random 10-character code.
^[a-zA-Z0-9]{1,32}$flatDiscounts a checkout or transaction by a flat amount, for example -$100. Requirescurrency_code.flat_per_seatDiscounts a checkout or transaction by a flat amount per unit, for example -$100 per user. Requirescurrency_code.percentageDiscounts a checkout or transaction by a percentage of the total, for example -10%. Maximum 100%.
standardstandard.standardStandard discount. Can be considered part of your catalog and reused across transactions and subscriptions easily.customNon-catalog discount. Can be created via the API, or by Paddle for checkout recovery discounts. Not returned when listing or shown in the Paddle dashboard.
percentage discounts, must be an amount between 0.01 and 100. For flat and flat_per_seat discounts, amount in the lowest denomination for a currency.flat or flat_per_seat.USDUnited States DollarEUREuroGBPPound SterlingJPYJapanese YenAUDAustralian Dollar
+ Show all values− Hide values
CADCanadian DollarCHFSwiss FrancHKDHong Kong DollarSGDSingapore DollarSEKSwedish KronaARSArgentine PesoBRLBrazilian RealCLPChilean PesoCNYChinese YuanCOPColombian PesoCZKCzech KorunaDKKDanish KroneHUFHungarian ForintILSIsraeli ShekelINRIndian RupeeKRWSouth Korean WonMXNMexican PesoNOKNorwegian KroneNZDNew Zealand DollarPENPeruvian SolPLNPolish ZlotyRUBRussian RubleTHBThai BahtTRYTurkish LiraTWDNew Taiwan DollarUAHUkrainian HryvniaVNDVietnamese DongZARSouth African Rand
falsetrue) or not (false). If omitted, defaults to false.Number of subscription billing periods that this discount recurs for. Requires recur. null if this discount recurs forever.
Subscription renewals, midcycle changes, and one-time charges billed to a subscription aren't considered a redemption. times_used is not incremented in these cases.
Maximum number of times this discount can be redeemed. This is an overall limit for this discount, rather than a per-customer limit. null if this discount can be redeemed an unlimited amount of times.
Paddle counts a usage as a redemption on a checkout, transaction, or the initial application against a subscription. Transactions created for subscription renewals, midcycle changes, and one-time charges aren't considered a redemption.
null if this discount applies to all products and prices.2024-10-12T07:20:50.52ZRFC 3339 datetime string of when this discount expires. Discount can no longer be redeemed after this date has elapsed. null if this discount can be redeemed forever.
Expired discounts can't be redeemed against transactions or checkouts, but can be applied when updating subscriptions.
{"customer_reference_id":"abcd1234"}dsg_01js2gqehzccfkywgx1jk2mtspdsg_. null if not in a discount group.^dsg_[a-z\d]{26}$Response (201)
dsc_01gv5kpg05xp104ek2fmgjwttfdsc_.^dsc_[a-z\d]{26}$^[a-z0-9_]+$activeactiveEntity is active and can be used.archivedEntity is archived, so can't be used.
truetrue) or not (false).^[a-zA-Z0-9]{1,32}$flatDiscounts a checkout or transaction by a flat amount, for example -$100. Requirescurrency_code.flat_per_seatDiscounts a checkout or transaction by a flat amount per unit, for example -$100 per user. Requirescurrency_code.percentageDiscounts a checkout or transaction by a percentage of the total, for example -10%. Maximum 100%.
standardstandardStandard discount. Can be considered part of your catalog and reused across transactions and subscriptions easily.customNon-catalog discount. Can be created via the API, or by Paddle for checkout recovery discounts. Not returned when listing or shown in the Paddle dashboard.
percentage discounts, must be an amount between 0.01 and 100. For flat and flat_per_seat discounts, amount in the lowest denomination for a currency.flat or flat_per_seat.USDUnited States DollarEUREuroGBPPound SterlingJPYJapanese YenAUDAustralian Dollar
+ Show all values− Hide values
CADCanadian DollarCHFSwiss FrancHKDHong Kong DollarSGDSingapore DollarSEKSwedish KronaARSArgentine PesoBRLBrazilian RealCLPChilean PesoCNYChinese YuanCOPColombian PesoCZKCzech KorunaDKKDanish KroneHUFHungarian ForintILSIsraeli ShekelINRIndian RupeeKRWSouth Korean WonMXNMexican PesoNOKNorwegian KroneNZDNew Zealand DollarPENPeruvian SolPLNPolish ZlotyRUBRussian RubleTHBThai BahtTRYTurkish LiraTWDNew Taiwan DollarUAHUkrainian HryvniaVNDVietnamese DongZARSouth African Rand
falsetrue) or not (false).Number of subscription billing periods that this discount recurs for. Requires recur. null if this discount recurs forever.
Subscription renewals, midcycle changes, and one-time charges billed to a subscription aren't considered a redemption. times_used is not incremented in these cases.
Maximum number of times this discount can be redeemed. This is an overall limit for this discount, rather than a per-customer limit. null if this discount can be redeemed an unlimited amount of times.
Paddle counts a usage as a redemption on a checkout, transaction, or the initial application against a subscription. Transactions created for subscription renewals, midcycle changes, and one-time charges aren't considered a redemption.
null if this discount applies to all products and prices.2024-10-12T07:20:50.52ZRFC 3339 datetime string of when this discount expires. Discount can no longer be redeemed after this date has elapsed. null if this discount can be redeemed forever.
Expired discounts can't be redeemed against transactions or checkouts, but can be applied when updating subscriptions.
{"customer_reference_id":"abcd1234"}How many times this discount has been redeemed. Automatically incremented by Paddle.
Paddle counts a usage as a redemption on a checkout, transaction, or subscription. Transactions created for subscription renewals, midcycle changes, and one-time charges aren't considered a redemption.
dsg_01js2gqehzccfkywgx1jk2mtspdsg_. null if not in a discount group.^dsg_[a-z\d]{26}$2024-10-12T07:20:50.52Z2024-10-13T07:20:50.52Znull if this entity is not imported.9b95b0b8-e10f-441a-862e-1936a6d818abpaddle_classicb15ec92e-8688-40d4-a04d-f44cbec93355{ "description": "All orders (10% off)", "type": "percentage", "amount": "10", "code": "BF10OFF", "enabled_for_checkout": true, "recur": true, "maximum_recurring_intervals": 3, "expires_at": "2024-12-03T00:00:00Z", "discount_group_id": "dsg_01js2gqehzccfkywgx1jk2mtsp"}{ "data": { "id": "dsc_01hv6scyf7qdnzcdq01t2y8dx4", "status": "active", "description": "All orders (10% off)", "enabled_for_checkout": true, "code": "BF10OFF", "type": "percentage", "mode": "standard", "amount": "10", "currency_code": null, "recur": true, "maximum_recurring_intervals": 3, "usage_limit": null, "restrict_to": null, "expires_at": "2024-12-03T00:00:00Z", "times_used": 0, "discount_group_id": "dsg_01js2gqehzccfkywgx1jk2mtsp", "custom_data": null, "import_meta": null, "created_at": "2024-11-28T14:36:14.695Z", "updated_at": "2024-11-28T14:36:14.695Z" }, "meta": { "request_id": "1681f87f-9c36-4557-a1da-bbb622afa0cc" }}