Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.
With Discount & Reward service, you can setup customer specific discounts and rewards. We support many type of rewards, like discounts,coupons, stamp/punch cards & bonus points:Type of discounts
% on product/productGroup/All products
Kr on product/productGroup/All products
Fixed price on product
Buy x and pay for y
Mix&Match (If you buy Popcorn, Movie and Drink, get package deal of 150 NOK)
Type of stamp and loyalty cards:
Buy x and get free product
Buy x and get discount on Y product
Additional possibilities:
Max nr of usage:
Customer can use the discount on 3 purchases
Max limit of number of product
Customer can only use the discount on maximum 3 products
Selected of stores
Discount can just be used in selected stores
Based on customer data
Discount can just be used by customer with zipcode: 0400
When
Discount can only be used every Mondays from 10am to 11 am
requirements: can be items or items group, customer data, total amount, date from/to valid etc
reward: type of reward given. We support different type of rewards like amount, percentage, quantity etc. Look at
the API Reference to see type of rewards in more detail
limitations: can be limit of how many discount that can be used on one purchase or on multiple purchases.
NB! Discount service needs the Point of sale or eCommerce application to send the data needed to do the calculation of
discounts. For example if you have items or items group as requirement with an EAN, then POS or eCommerce need to send
the same EAN to discount service
Discount service will return the shopping cart, where discount service will calculate the discount by adding discount
lines on items level. (Discount service will also return discount rules applicable based on shopping cart, so
POS/eCommerce can do local recalculations).
POS/eCommerce app needs to update the shopping cart with total amount and tax
Customers pays
POS/eCommerce claims discounts used by sending discountID & discount refs.
POS/eCommerce sends the final receipt by using create new receipt endpoint. This is optional.
Last modified on June 11, 2026
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Dintero Documentation","colors":{"primary":"#0000FF","light":"#3578e5","dark":"#3578e5"},"logo":{"light":"https://mintcdn.com/dintero-c3a7bfec/D0VX9t09zInvinnk/mintlify-docs/images/light.svg?fit=max\u0026auto=format\u0026n=D0VX9t09zInvinnk\u0026q=85\u0026s=b4717f47bb69fef03f724e6356c03726","dark":"https://mintcdn.com/dintero-c3a7bfec/D0VX9t09zInvinnk/mintlify-docs/images/dark.svg?fit=max\u0026auto=format\u0026n=D0VX9t09zInvinnk\u0026q=85\u0026s=54190188f57c764d58061d5a470ad0a4"},"favicon":"https://mintcdn.com/dintero-c3a7bfec/D0VX9t09zInvinnk/mintlify-docs/images/favicon.png?fit=max\u0026auto=format\u0026n=D0VX9t09zInvinnk\u0026q=85\u0026s=25b7eac359342dc0dabf40fe08ea8cad","api":{"params":{"expanded":"closed"},"examples":{"defaults":"required","languages":["curl","python","javascript","go","java"]},"url":"full"},"appearance":{"default":"light"},"background":{"color":{"dark":"#171717"}},"navbar":{"links":[{"icon":"/mintlify-docs/assets/icons/external-link.svg","href":"https://checkout.demo.dintero.com/","label":"Demo Store"}],"primary":{"type":"button","label":"Get Started","href":"https://onboarding.dintero.com/"}},"seo":{"metatags":{"canonical":"https://docs.dintero.com"}},"integrations":{"cookies":{"key":"cookie_consent","value":"accepted"}},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dintero-c3a7bfec","hasAudioNarration":false,"actualSubdomain":"dintero-c3a7bfec","customDomains":["docs.dintero.com"],"gitSource":{"type":"github","owner":"dintero","repo":"api-spec","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af339d41661757f0de2e92a","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":242},{"language":"default","tag":"Payments","count":169},{"language":"default","tag":"Loyalty \u0026 Virtual Cards","count":113},{"language":"default","tag":"Documentation","count":105},{"language":"default","tag":"Partners","count":42},{"language":"default","tag":"Order Management","count":40},{"language":"default","tag":"Developer Resources","count":37},{"language":"default","tag":"Plugins \u0026 Integrations","count":32},{"language":"default","tag":"Support","count":22},{"language":"default","tag":"Payment Methods","count":19}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@dintero.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"mintlify-docs/styles.css","content":".dark #topbar-cta-button span{color:#fff}.method-pill~div .group{margin-left:0!important}@media (min-width: 1280px){#content-container:has(#api-playground-2-operation-page){display:grid!important;grid-template-columns:1fr 28rem!important;gap:0 3rem!important}#content-container:has(#api-playground-2-operation-page)>#content-area{display:contents!important}#api-playground-2-operation-page{display:contents!important}#api-playground-2-operation-page>.space-y-4{display:contents!important}#content-container:has(#api-playground-2-operation-page)>#content-area>*{grid-column:1!important}#content-container:has(#api-playground-2-operation-page)>#content-area>#header{grid-column:1 / -1!important;grid-row:1!important}#api-playground-2-operation-page .border-standard.rounded-2xl{grid-column:1 / -1!important;grid-row:2!important;margin-top:1.5rem!important}#api-playground-2-operation-page .max-h-\\[30rem\\]{display:none!important}#api-playground-2-operation-page>.mdx-content{grid-column:1!important;grid-row:3!important}#content-container:has(#api-playground-2-operation-page)>#content-side-layout{grid-column:2!important;grid-row:3!important;position:sticky!important;top:9.5rem!important;align-self:start!important;max-height:calc(100vh - 11rem)!important;height:auto!important;width:28rem!important;max-width:28rem!important;margin-top:2rem!important;gap:2rem!important}#content-container:has(#api-playground-2-operation-page) #pagination{grid-row:4!important}#content-container:has(#api-playground-2-operation-page) #footer{margin-top:3rem!important;grid-row:5!important}}#content-container:has(#api-playground-2-operation-page) #header p,#content-container:has(#api-playground-2-operation-page) #header a{margin-top:0!important;margin-bottom:12px!important;padding-top:0!important;padding-bottom:0!important;font-size:16px}#content-container:has(#api-playground-2-operation-page) #header ol,#content-container:has(#api-playground-2-operation-page) #header ul,#content-container:has(#api-playground-2-operation-page) #header li{margin-top:6px!important;margin-bottom:8px!important;padding-top:0!important;padding-bottom:0!important;font-size:16px}#content-container:has(#api-playground-2-operation-page) #header h2,#content-container:has(#api-playground-2-operation-page) #header h3,#content-container:has(#api-playground-2-operation-page) #header h4{margin-top:16px!important}#content-container:has(#api-playground-2-operation-page) #header hr{margin:20px 0!important}#content-container h2{margin-bottom:6px}.product-link span{color:var(--tw-prose-links);text-decoration:none;font-weight:600;border-bottom:1px solid rgb(var(--primary));word-wrap:break-word}.dark .product-link span{border-bottom-color:rgb(var(--primary-light))}.product-link:hover span{border-bottom-width:2px}.dark img[src*=\"/mintlify-docs/assets/icons/\"][src*=\".svg\"]{filter:brightness(0) invert(1)}"},{"filePath":"mintlify-docs/logo-display-builder.css","content":":root{--default-radius:8px;--text-paragraph-lg-line-height:28px;--text-paragraph-lg-font-size:18px;--text-paragraph-md-line-height:24px;--text-paragraph-md-font-size:16px;--text-paragraph-sm-line-height:20px;--text-paragraph-sm-font-size:14px;--text-paragraph-xs-line-height:20px;--text-paragraph-xs-font-size:12px;--text-overline-letter-spacing:1px;--text-overline-text-transform:uppercase;--text-overline-font-weight:600;--shadow-xs:0px 1px 2px 0px rgba(16, 24, 40, 0.1);--shadow-sm:0px 1px 3px 0px rgba(16, 24, 40, 0.1),\n\t\t0px 1px 2px 0px rgba(16, 24, 40, 0.06);--shadow-md:0px 4px 6px -1px rgba(16, 24, 40, 0.1),\n\t\t0px 2px 4px -1px rgba(16, 24, 40, 0.06);--shadow-lg:0px 10px 15px -3px rgba(16, 24, 40, 0.1),\n\t\t0px 4px 6px -2px rgba(16, 24, 40, 0.05);--shadow-xlg:0px 8px 10px -6px rgba(16, 24, 40, 0.1),\n\t\t0px 20px 25px -5px rgba(16, 24, 40, 0.1);--blur-none:none;--blur-sm:blur(4px);--blur-md:blur(8px);--blur-lg:blur(12px);--blur-xl:blur(20px);--spacing-xxs:4px;--spacing-xs:8px;--spacing-sm:16px;--spacing-md:24px;--spacing-lg:32px;--spacing-xlg:40px;--spacing-xxlg:48px;--spacing-xxxlg:56px;--spacing-xxxxlg:64px;--border-radius-sm:4px;--border-radius-md:8px;--border-radius-lg:12px;--border-radius-xlg:16px;--border-radius-xxlg:20px;--color-primary-50:#f2f6ff;--color-primary-100:#d9e4ff;--color-primary-200:#bfd1ff;--color-primary-300:#a6baff;--color-primary-400:#6889fe;--color-primary-500:#0000ff;--color-primary-600:#0000df;--color-primary-700:#0000bf;--color-primary-800:#000080;--color-primary-900:#000040;--color-neutral-50:#fafafa;--color-neutral-100:#f5f5f5;--color-neutral-200:#e5e5e5;--color-neutral-300:#d4d4d4;--color-neutral-400:#a3a3a3;--color-neutral-500:#737373;--color-neutral-600:#525252;--color-neutral-700:#404040;--color-neutral-800:#262626;--color-neutral-900:#171717;--color-destructive-50:#fef2f2;--color-destructive-100:#fee2e2;--color-destructive-200:#fecaca;--color-destructive-300:#fca5a5;--color-destructive-400:#f87171;--color-destructive-500:#ef4444;--color-destructive-600:#dc2626;--color-destructive-700:#b91c1c;--color-destructive-800:#991b1b;--color-destructive-900:#7f1d1d;--color-success-50:#f0fdf4;--color-success-100:#dcfce7;--color-success-200:#bbf7d0;--color-success-300:#86efac;--color-success-400:#4ade80;--color-success-500:#22c55e;--color-success-600:#16a34a;--color-success-700:#15803d;--color-success-800:#166534;--color-success-900:#14532d;--color-warning-50:#fffbeb;--color-warning-100:#fef3c7;--color-warning-200:#fde68a;--color-warning-300:#fcd34d;--color-warning-400:#fbbf24;--color-warning-500:#f59e0b;--color-warning-600:#d97706;--color-warning-700:#b45309;--color-warning-800:#92400e;--color-warning-900:#78350f;--color-surface:white;--color-code-surface:var(--color-neutral-900)}@media (prefers-color-scheme: dark){:root{--color-surface:#1f1f1f;--color-code-surface:#0a0a0a;--color-neutral-50:#171717;--color-neutral-100:#1f1f1f;--color-neutral-200:#292929;--color-neutral-300:#404040;--color-neutral-400:#737373;--color-neutral-500:#a3a3a3;--color-neutral-600:#d4d4d4;--color-neutral-700:#e5e5e5;--color-neutral-800:#f5f5f5;--color-neutral-900:#fafafa;--color-primary-50:#0d0d33;--color-primary-100:#1a1a5c;--color-success-50:#0a1a0f;--color-success-100:#0f2a15;--shadow-xs:0px 1px 2px 0px rgba(0, 0, 0, 0.4);--shadow-sm:0px 1px 3px 0px rgba(0, 0, 0, 0.4), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);--shadow-md:0px 4px 6px -1px rgba(0, 0, 0, 0.4), 0px 2px 4px -1px rgba(0, 0, 0, 0.3);--shadow-lg:0px 10px 15px -3px rgba(0, 0, 0, 0.4), 0px 4px 6px -2px rgba(0, 0, 0, 0.2)}}"}],"page":{"pagePath":"docs/loyalty/discount-service","slug":"/docs/loyalty/discount-service","pageMetadata":{"id":"discount-service","title":"Discount and Reward Service","description":"Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.","sidebar_label":"Discount \u0026 Reward Service","href":"/docs/loyalty/discount-service"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`introduction-discount-\u0026-reward-service`,children:`Introduction - Discount \u0026 Reward service`}),`\n`,_jsx(_components.p,{children:`With Discount \u0026 Reward service, you can setup customer specific discounts and rewards. We support many type of rewards, like discounts,coupons, stamp/punch cards \u0026 bonus points:`}),`\n`,_jsx(_components.p,{children:`Type of discounts`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`% on product/productGroup/All products`}),`\n`,_jsx(_components.li,{children:`Kr on product/productGroup/All products`}),`\n`,_jsx(_components.li,{children:`Fixed price on product`}),`\n`,_jsx(_components.li,{children:`Buy x and pay for y`}),`\n`,_jsx(_components.li,{children:`Mix\u0026Match (If you buy Popcorn, Movie and Drink, get package deal of 150 NOK)`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Type of stamp and loyalty cards:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Buy x and get free product`}),`\n`,_jsx(_components.li,{children:`Buy x and get discount on Y product`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Additional possibilities:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Max nr of usage:\nCustomer can use the discount on 3 purchases`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Max limit of number of product\nCustomer can only use the discount on maximum 3 products`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Selected of stores\nDiscount can just be used in selected stores`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Based on customer data\nDiscount can just be used by customer with zipcode: 0400`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`When\nDiscount can only be used every Mondays from 10am to 11 am`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Buy minimum for x amount to get discount`}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`discount-object`,children:`Discount object`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/api-reference/rules/aid_discounts_post`,children:`discounts`}),` object is structured like this:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`discount information (name, links, picture ++)`}),`\n`,_jsx(_components.li,{children:`requirements: can be items or items group, customer data, total amount, date from/to valid etc`}),`\n`,_jsxs(_components.li,{children:[`reward: type of reward given. We support different type of rewards like amount, percentage, quantity etc. Look at\nthe `,_jsx(_components.a,{href:`/api-reference/rules/aid_discounts_post`,children:`API Reference`}),` to see type of rewards in more detail`]}),`\n`,_jsx(_components.li,{children:`limitations: can be limit of how many discount that can be used on one purchase or on multiple purchases.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`NB! Discount service needs the Point of sale or eCommerce application to send the data needed to do the calculation of\ndiscounts. For example if you have items or items group as requirement with an EAN, then POS or eCommerce need to send\nthe same EAN to discount service`})}),`\n`,_jsx(Heading,{level:`2`,id:`create-discounts-discount-rules-from-your-campaign-management-application`,children:`Create discounts (discount rules) from your campaign management application`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/rules/aid_discounts_post`,children:`Create new discounts`}),`. Look at the `,_jsx(_components.a,{href:`/api-reference/rules/aid_discounts_post`,children:`discounts`}),` examples codes to see multiple type of discounts.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/rules-customers/aid_discounts_did_customers_post`,children:`Add customers`}),` to the discount created by sending `,_jsx(_components.code,{children:`customer_ids`}),`. If the discount is for all your customers,\nPOST `,_jsx(_components.code,{children:`*`}),` instead of `,_jsx(_components.code,{children:`customer_ids`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`apply-\u0026-redeeming-discounts-for-pos-\u0026-ecommerce`,children:`Apply \u0026 redeeming discounts for POS \u0026 eCommerce.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/discountflow.png?fit=max\u0026auto=format\u0026n=TiCvqt4VXcXnNQNe\u0026q=85\u0026s=f790fad555896bc5a3dd389f18802846`,alt:`Flow`,\"data-og-width\":`6184`,width:`6184`,\"data-og-height\":`2702`,height:`2702`,\"data-path\":`docs/assets/discountflow.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/discountflow.png?w=280\u0026fit=max\u0026auto=format\u0026n=TiCvqt4VXcXnNQNe\u0026q=85\u0026s=8715453b04dc5497dc04b2aa0fdddf4e 280w, https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/discountflow.png?w=560\u0026fit=max\u0026auto=format\u0026n=TiCvqt4VXcXnNQNe\u0026q=85\u0026s=d51c8fdfccdaf50474ec2f233aa311a7 560w, https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/discountflow.png?w=840\u0026fit=max\u0026auto=format\u0026n=TiCvqt4VXcXnNQNe\u0026q=85\u0026s=b1b4495152a29491ee7be73e89bb8a75 840w, https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/discountflow.png?w=1100\u0026fit=max\u0026auto=format\u0026n=TiCvqt4VXcXnNQNe\u0026q=85\u0026s=9438cc6b84d9c615d5e3943356f1d58f 1100w, https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/discountflow.png?w=1650\u0026fit=max\u0026auto=format\u0026n=TiCvqt4VXcXnNQNe\u0026q=85\u0026s=e8548430d19e5e3ed8fef3408b1f271c 1650w, https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/discountflow.png?w=2500\u0026fit=max\u0026auto=format\u0026n=TiCvqt4VXcXnNQNe\u0026q=85\u0026s=9902da04d4b66b3d8098727caf492ea6 2500w`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Customers need to identify themselves (Can use phonenr, membership card, payment cards etc instead of CustomerID.)`}),`\n`,_jsxs(_components.li,{children:[`POS/eCommerce POST `,_jsx(_components.a,{href:`/api-reference/use-discounts/aid_discounts_available_for_receipt_post`,children:`shopping cart`}),` to Dintero.`]}),`\n`,_jsx(_components.li,{children:`Discount service will return the shopping cart, where discount service will calculate the discount by adding discount\nlines on items level. (Discount service will also return discount rules applicable based on shopping cart, so\nPOS/eCommerce can do local recalculations).`}),`\n`,_jsx(_components.li,{children:`POS/eCommerce app needs to update the shopping cart with total amount and tax`}),`\n`,_jsx(_components.li,{children:`Customers pays`}),`\n`,_jsx(_components.li,{children:`POS/eCommerce claims discounts used by sending discountID \u0026 discount refs.`}),`\n`,_jsxs(_components.li,{children:[`POS/eCommerce sends the final receipt by using `,_jsx(_components.a,{href:`/api-reference/receipts/aid_receipts_post`,children:`create new receipt`}),` endpoint. This is optional.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"id":"discount-service","title":"Discount and Reward Service","description":"Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.","sidebar_label":"Discount \u0026 Reward Service","href":"/docs/loyalty/discount-service"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Introduction - Discount \u0026 Reward service","slug":"introduction-discount-\u0026-reward-service","depth":2,"children":[]},{"title":"Discount object","slug":"discount-object","depth":2,"children":[]},{"title":"Create discounts (discount rules) from your campaign management application","slug":"create-discounts-discount-rules-from-your-campaign-management-application","depth":2,"children":[]},{"title":"Apply \u0026 redeeming discounts for POS \u0026 eCommerce.","slug":"apply-\u0026-redeeming-discounts-for-pos-\u0026-ecommerce","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dintero-c3a7bfec/0c27980f89959f8a/scripts/extract-refs.js","/_mintlify/custom/dintero-c3a7bfec/9be648d34348ecd1/scripts/openapi3/convert-to-oa3.js","/_mintlify/custom/dintero-c3a7bfec/acc74eb2f1533c09/scripts/openapi3/convert-to-oa3.test.js","/_mintlify/custom/dintero-c3a7bfec/d1577eed3797a41e/mintlify-docs/cookie-script.js","/_mintlify/custom/dintero-c3a7bfec/ad1f40ff54bd5bfe/mintlify-docs/logo-display-builder.js","/_mintlify/custom/dintero-c3a7bfec/9b750c905d163779/scripts/openapi3/build-operation-map.js","/_mintlify/custom/dintero-c3a7bfec/92de388c069f1bef/scripts/check-broken-links.js","/_mintlify/custom/dintero-c3a7bfec/8ad753e6099cf1b7/scripts/openapi3/build-operation-map.test.js"],"subdomain":"dintero-c3a7bfec","siteName":"Dintero Documentation","title":"Discount and Reward Service - Dintero Documentation","contextualStarterQuestions":[{"_id":"6aea1df6d2b7d1adb9c254b9","deploymentId":"69d66e893989d4678a7dfb08","questionText":"Can discounts be location-specific?","status":"active","generatedBy":"contextual","path":"docs/loyalty/discount-service","createdAt":"2026-11-03T17:46:30.729Z","updatedAt":"2026-11-03T17:46:30.729Z","__v":0},{"_id":"6aea1df6d2b7d1adb9c254b8","deploymentId":"69d66e893989d4678a7dfb08","questionText":"How do I set up stamp cards?","status":"active","generatedBy":"contextual","path":"docs/loyalty/discount-service","createdAt":"2026-11-03T17:46:30.729Z","updatedAt":"2026-11-03T17:46:30.729Z","__v":0},{"_id":"6aea1df6d2b7d1adb9c254b7","deploymentId":"69d66e893989d4678a7dfb08","questionText":"What discount types are supported?","status":"active","generatedBy":"contextual","path":"docs/loyalty/discount-service","createdAt":"2026-11-03T17:46:30.729Z","updatedAt":"2026-11-03T17:46:30.729Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-11T06:30:55.110Z","gitLastModified":"2026-06-11T06:29:40.000Z","originalFileLocation":"docs/loyalty/discount-service.md"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dintero Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Discount and Reward Service - Dintero Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dintero Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dintero.com/docs/loyalty/discount-service\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dintero-c3a7bfec.mintlify.site/_mintlify/api/og/v2?division=Discounts+%26+Rewards\u0026amp;title=Discount+and+Reward+Service\u0026amp;description=Configure+customer-specific+discounts%2C+coupons%2C+stamp+cards%2C+and+bonus+rewards+with+the+Dintero+Discount+and+Reward+Service+across+products+and+groups.\u0026amp;theme=32b11d411eb265d03df273ed\u0026amp;signature=3b20515961f0d3d4d8cf419153a69c1e4d9ff7c56be15f8370f1577de21d9cc9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Discount and Reward Service - Dintero Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dintero-c3a7bfec.mintlify.site/_mintlify/api/og/v2?division=Discounts+%26+Rewards\u0026amp;title=Discount+and+Reward+Service\u0026amp;description=Configure+customer-specific+discounts%2C+coupons%2C+stamp+cards%2C+and+bonus+rewards+with+the+Dintero+Discount+and+Reward+Service+across+products+and+groups.\u0026amp;theme=32b11d411eb265d03df273ed\u0026amp;signature=3b20515961f0d3d4d8cf419153a69c1e4d9ff7c56be15f8370f1577de21d9cc9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dintero Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0000FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dintero.com/docs/loyalty/discount-service\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/loyalty/discount-service.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dintero.com/#organization\",\"name\":\"Dintero Documentation\",\"url\":\"https://docs.dintero.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dintero-c3a7bfec/D0VX9t09zInvinnk/mintlify-docs/images/light.svg?fit=max\u0026auto=format\u0026n=D0VX9t09zInvinnk\u0026q=85\u0026s=b4717f47bb69fef03f724e6356c03726\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dintero.com#website\",\"name\":\"Dintero Documentation\",\"url\":\"https://docs.dintero.com\",\"publisher\":{\"@id\":\"https://docs.dintero.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dintero.com/docs/loyalty/discount-service#webpage\",\"url\":\"https://docs.dintero.com/docs/loyalty/discount-service\",\"name\":\"Discount and Reward Service\",\"description\":\"Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.\",\"dateModified\":\"2026-06-11T06:29:40.000Z\",\"isPartOf\":{\"@id\":\"https://docs.dintero.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dintero.com/docs/loyalty/discount-service#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dintero.com/docs/loyalty/discount-service#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dintero Documentation\",\"item\":\"https://docs.dintero.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Discount and Reward Service\",\"item\":\"https://docs.dintero.com/docs/loyalty/discount-service\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dintero.com/docs/loyalty/discount-service#article\",\"headline\":\"Discount and Reward Service\",\"name\":\"Discount and Reward Service\",\"description\":\"Configure customer-specific discounts, coupons, stamp cards, and bonus rewards with the Dintero Discount and Reward Service across products and groups.\",\"url\":\"https://docs.dintero.com/docs/loyalty/discount-service\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dintero.com/docs/loyalty/discount-service#webpage\"},\"dateModified\":\"2026-06-11T06:29:40.000Z\",\"publisher\":{\"@id\":\"https://docs.dintero.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dintero.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dintero Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Dintero Documentation","nav":{"global":null,"products":[{"product":"Payments","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/shopping-cart.svg","description":"Dintero Checkout and In-Person Payments","pages":[{"title":"Payments","href":"/docs"}]},{"product":"Loyalty \u0026 Virtual Cards","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/gift.svg","description":"Customer, discount, receipt, and gift card services","tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/sparkles.svg","pages":[{"title":"Loyalty \u0026 Virtual Cards","sidebarTitle":"Introduction","href":"/docs/loyalty/getting-started"},{"title":"API clients and application access","href":"/docs/loyalty/clients"},{"title":"Dintero API errors","href":"/docs/loyalty/errors"}]},{"group":"Auth Service","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/key.svg","pages":[{"title":"Authentication Service","href":"/docs/loyalty/auth-service"}]},{"group":"Customers \u0026 Users","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/user-group.svg","pages":[{"title":"Customer Service API","description":"Centralize customer profiles, identifiers, consents, and tags with the Dintero Customer Service so POS, ecommerce, and helpdesk apps share data in real time.","href":"/docs/loyalty/customer-service"}]},{"group":"Discounts \u0026 Rewards","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/tag.svg","pages":[{"title":"Discount and Reward Service","href":"/docs/loyalty/discount-service"}]},{"group":"Receipts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/receipt-tax.svg","pages":[{"title":"Receipt Service","description":"Centralize digital receipts from all sales channels with the Dintero Receipt Service and stream the data to BI, data warehouse, or campaigns via webhooks.","href":"/docs/loyalty/receipt-service"}]},{"group":"Gift Cards","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/gift.svg","pages":[{"title":"Create a gift card","href":"/docs/loyalty/wallet-create-gift-card"},{"title":"Pay with a wallet gift card","href":"/docs/loyalty/wallet-pay-with-gift-card"},{"title":"Batch create gift cards","href":"/docs/loyalty/wallet-batch-create-gift-card"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/clients/aid_auth_clients_get"}]}]},{"product":"Order Management","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/cube.svg","description":"Create and manage orders, captures, refunds, and draft orders","pages":[{"title":"Order Management","href":"/docs/order-management/overview"}]},{"product":"Partners","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/hand.svg","description":"Partner management and API access","pages":[{"title":"Partners","href":"/docs/partners/partners"}]},{"product":"Plugins \u0026 Integrations","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/puzzle.svg","description":"E-commerce plugins and POS integrations","pages":[{"title":"Plugins \u0026 Integrations","href":"/docs/integrations/plugins"}]},{"product":"API Specifications","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/code.svg","description":"All API Specifications","hidden":true,"pages":[{"title":"API Specifications","href":"/apps-directory-api/apps/api_apps_directory_app_id_type_sig_get"}]}]},"basePath":"","title":"Discount and Reward Service - Dintero Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DkE6VzSN.js","lightbox-handle-r17bVUz3.js"]}