The Promotion Object
Promotions is enabled per organization
Promotions works only after WHITELABEL enables it for your organization. Ask your Technical Account Manager or Key Account Manager. See Promotions.
Attributes
A promotion is a discount with a date window and a set of conditions. It can’t be edited after you create it: the only change is to disable it.
The unique identifier of the promotion (UUID). Assigned by WHITELABEL.
Example: b7c1a4f2-6e0d-4a3b-9c55-1f2e7d8a0b31
The account the promotion applies to (UUID). One promotion belongs to one account. If you run the same campaign on several accounts, create it once per account.
Example: 493e9374-510a-4201-9e09-de669d75f256
The promotion name (MAX 255; MIN 3). The checkout uses it when it announces the discount.
Example: 10% off with credit cards - Mother’s Day
Shown with the name on the quote. Optional, up to 1000 characters.
The window in which the promotion runs. Always UTC.
How the promotion is redeemed.
What the customer saves.
The conditions a payment must meet. AND across keys, OR inside each key’s values list. Omit a key or send null for no condition on that dimension; an empty values list returns 400. An empty conditions object ({}) applies to every payment of the account.
Computed from schedule at the moment you read the promotion.
Possible values:
SCHEDULED=starts_atis in the future.ACTIVE= Running now. Payments that meet the conditions get a quote.EXPIRED=ends_athas passed.DISABLED= You disabled it. Final.
When the promotion was created (ISO 8601, UTC). When two promotions save the same amount, the oldest one applies.
When you disabled the promotion (ISO 8601, UTC). null while the promotion is not disabled. The only field that changes after creation.
How a promotion is chosen
One payment gets one promotion. When two or more match, WHITELABEL applies the one with the biggest saving for the customer, then the oldest, then the smallest id. A fixed discount is capped at the payment amount, and a charge of zero is valid. A promotion whose discount is zero doesn’t apply.
Example
{
"id": "b7c1a4f2-6e0d-4a3b-9c55-1f2e7d8a0b31",
"account_id": "493e9374-510a-4201-9e09-de669d75f256",
"name": "10% off with credit cards - Mother's Day",
"description": "Card deal, claimed monthly.",
"schedule": { "starts_at": "2026-10-01T03:00:00Z", "ends_at": "2026-11-01T02:59:59Z" },
"redemption": { "mode": "AUTOMATIC", "code": null },
"discount": { "type": "PERCENTAGE", "value": 10 },
"conditions": {
"bins": {
"values": ["457896", "40263412"],
"ranges": [{ "start": "45780000", "end": "45789999" }]
},
"payment_methods": { "values": ["CARD"] },
"card_types": { "values": ["CREDIT"] },
"countries": { "values": ["AR"] },
"amounts": { "values": [{ "currency": "USD", "min": 100.00, "max": 5000.00 }] }
},
"status": "SCHEDULED",
"created_at": "2026-09-14T12:04:18Z",
"disabled_at": null
}Example with a code
{
"id": "f3a2b1c0-8d9e-4f5a-b6c7-2e1d0f9a8b7c",
"account_id": "493e9374-510a-4201-9e09-de669d75f256",
"name": "Welcome 10% off",
"description": "For new customers.",
"schedule": { "starts_at": "2026-10-01T00:00:00Z", "ends_at": null },
"redemption": { "mode": "CODE", "code": "WELCOME10" },
"discount": { "type": "PERCENTAGE", "value": 10 },
"conditions": {},
"status": "ACTIVE",
"created_at": "2026-09-20T09:00:00Z",
"disabled_at": null
}