Scope: nft:ordersFor Non-crypto model programs with customer rewards turned on; a Crypto Wallet program gets 400 NOT_PARTNER_SETTLED, and a program with rewards off gets 403 REWARDS_NOT_ENABLED.The customer’s progress on the VIP ladder. A customer you have never sold to gets zeros, not a 404. Create an order answers accepted before the pack opens, so read this after the order’s nft_order.updated reaches in_vault.
string
required
Your own id for the customer, as you sent it as customer on Create an order. 1-128 characters of A-Z a-z 0-9 _ . : -, not dots alone.
Response
object
Show rewards
string
The id you asked for.
number
Lifetime XP: 1 per $1 of the packs the customer opened, at their price on your statement. Never resets; reward packs earn none.
object | null
The highest tier reached: id, name and xp (the tier’s floor). Null below Bronze. A tier is never lost.
object | null
The next tier: id, name, xp and xp_needed (XP still to go). Null at Obsidian.
object | null
The next reward pack on the way: xp (where it pays), xp_needed, pack_type and pack_name. Null below Bronze, and once the customer has passed this tier’s three milestones (the next reward is then the next tier’s pack).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CatchBack Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b","dark":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_white.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=e3c457633020dab4b98738040c7ae111"},"favicon":"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://catchbackcards.com"}},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"mailto:support@catchbackcards.com","label":"Support"}],"primary":{"type":"button","label":"Launch App","href":"https://catchbackcards.com"}},"footer":{"socials":{"x":"https://x.com/catchback_cards","instagram":"https://www.instagram.com/catchback_cards","discord":"https://discord.gg/6WjMbRgPMq"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"CatchBack Website","icon":"globe","href":"https://catchbackcards.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"catchbackcards","hasAudioNarration":false,"actualSubdomain":"catchbackcards","customDomains":[],"gitSource":{"type":"github","owner":"josephhhzhanggg","repo":"catchback-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10be0e9ffae5051c403d99"},"entitlements":{},"buildId":"6b135a218406ff52311ea455","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Partner API","count":65},{"language":"default","tag":"API Reference","count":50},{"language":"default","tag":"Documentation","count":21},{"language":"default","tag":"Shipments","count":14},{"language":"default","tag":"Non-crypto model endpoints","count":11},{"language":"default","tag":"Non-crypto","count":11},{"language":"default","tag":"Concepts","count":8},{"language":"default","tag":"Packs \u0026 orders","count":8},{"language":"default","tag":"Keys \u0026 revenue","count":8},{"language":"default","tag":"Features","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"turbopuffer-dual-write","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":"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},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"partner-api/v2/endpoints/get-customer-rewards","slug":"/partner-api/v2/endpoints/get-customer-rewards","pageMetadata":{"title":"Get a customer's rewards","api":"GET /api/partner/v2/customers/{customer}/rewards","description":"Non-crypto model with rewards on: a customer's XP, tier, next tier and next reward, and how many reward packs wait to open.","href":"/partner-api/v2/endpoints/get-customer-rewards"},"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: \"Non-crypto model with rewards on: a customer’s XP, tier, next tier and next reward, and how many reward packs wait to open.\"\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`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Scope: `,_jsx(_components.code,{children:`nft:orders`})]}),`\n`,_jsxs(_components.p,{children:[`For `,_jsx(_components.a,{href:`/partner-api/v2/settlement`,children:`Non-crypto model`}),` programs with `,_jsx(_components.a,{href:`/partner-api/v2/rewards`,children:`customer rewards`}),` turned on; a Crypto Wallet program gets `,_jsx(_components.code,{children:`400 NOT_PARTNER_SETTLED`}),`, and a program with rewards off gets `,_jsx(_components.code,{children:`403 REWARDS_NOT_ENABLED`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The customer’s progress on the VIP ladder. A customer you have never sold to gets zeros, not a `,_jsx(_components.code,{children:`404`}),`. `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/create-order`,children:`Create an order`}),` answers `,_jsx(_components.code,{children:`accepted`}),` before the pack opens, so read this after the order’s `,_jsx(_components.code,{children:`nft_order.updated`}),` reaches `,_jsx(_components.code,{children:`in_vault`}),`.`]}),`\n`,_jsx(ParamField,{path:`customer`,type:`string`,required:true,id:`param-customer`,children:_jsxs(_components.p,{children:[`Your own id for the customer, as you sent it as `,_jsx(_components.code,{children:`customer`}),` on `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/create-order`,children:`Create an order`}),`. 1-128 characters of `,_jsx(_components.code,{children:`A-Z a-z 0-9 _ . : -`}),`, not dots alone.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`rewards`,type:`object`,id:`param-rewards`,children:_jsxs(Expandable,{title:`rewards`,children:[_jsx(ResponseField,{name:`customer`,type:`string`,id:`param-customer-1`,children:`The id you asked for.`}),_jsx(ResponseField,{name:`xp`,type:`number`,id:`param-xp`,children:`Lifetime XP: 1 per $1 of the packs the customer opened, at their price on your statement. Never resets; reward packs earn none.`}),_jsxs(ResponseField,{name:`tier`,type:`object | null`,id:`param-tier`,children:[`The highest tier reached: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),` and `,_jsx(_components.code,{children:`xp`}),` (the tier’s floor). Null below Bronze. A tier is never lost.`]}),_jsxs(ResponseField,{name:`next_tier`,type:`object | null`,id:`param-next-tier`,children:[`The next tier: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`xp`}),` and `,_jsx(_components.code,{children:`xp_needed`}),` (XP still to go). Null at Obsidian.`]}),_jsxs(ResponseField,{name:`next_milestone`,type:`object | null`,id:`param-next-milestone`,children:[`The next reward pack on the way: `,_jsx(_components.code,{children:`xp`}),` (where it pays), `,_jsx(_components.code,{children:`xp_needed`}),`, `,_jsx(_components.code,{children:`pack_type`}),` and `,_jsx(_components.code,{children:`pack_name`}),`. Null below Bronze, and once the customer has passed this tier’s three milestones (the next reward is then the next tier’s pack).`]}),_jsxs(ResponseField,{name:`unopened_reward_packs`,type:`integer`,id:`param-unopened-reward-packs`,children:[`Reward packs waiting to open. List them with `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/list-customer-reward-packs`,children:`List a customer’s reward packs`}),`.`]})]})}),`\n`,_jsxs(_components.p,{children:[`Tier ids are `,_jsx(_components.code,{children:`bronze`}),`, `,_jsx(_components.code,{children:`silver`}),`, `,_jsx(_components.code,{children:`gold`}),`, `,_jsx(_components.code,{children:`emerald`}),`, `,_jsx(_components.code,{children:`diamond`}),`, `,_jsx(_components.code,{children:`sapphire`}),`, `,_jsx(_components.code,{children:`ruby`}),` and `,_jsx(_components.code,{children:`obsidian`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_PARTNER_SETTLED`})}),_jsx(_components.td,{children:`Your program pays through customer wallets`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_CUSTOMER`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`customer`}),` isn’t 1-128 characters of `,_jsx(_components.code,{children:`A-Z a-z 0-9 _ . : -`}),`, or is only dots`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REWARDS_NOT_ENABLED`})}),_jsx(_components.td,{children:`Rewards aren’t turned on for your program. Ask your CatchBack contact`})]})]})]})]})}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":{"title":"Get a customer's rewards","api":"GET /api/partner/v2/customers/{customer}/rewards","description":"Non-crypto model with rewards on: a customer's XP, tier, next tier and next reward, and how many reward packs wait to open.","href":"/partner-api/v2/endpoints/get-customer-rewards"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Scope: `,_jsx(_components.code,{children:`nft:orders`})]}),`\n`,_jsxs(_components.p,{children:[`For `,_jsx(_components.a,{href:`/partner-api/v2/settlement`,children:`Non-crypto model`}),` programs with `,_jsx(_components.a,{href:`/partner-api/v2/rewards`,children:`customer rewards`}),` turned on; a Crypto Wallet program gets `,_jsx(_components.code,{children:`400 NOT_PARTNER_SETTLED`}),`, and a program with rewards off gets `,_jsx(_components.code,{children:`403 REWARDS_NOT_ENABLED`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The customer’s progress on the VIP ladder. A customer you have never sold to gets zeros, not a `,_jsx(_components.code,{children:`404`}),`. `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/create-order`,children:`Create an order`}),` answers `,_jsx(_components.code,{children:`accepted`}),` before the pack opens, so read this after the order’s `,_jsx(_components.code,{children:`nft_order.updated`}),` reaches `,_jsx(_components.code,{children:`in_vault`}),`.`]}),`\n`,_jsx(ParamField,{path:`customer`,type:`string`,required:true,id:`param-customer`,children:_jsxs(_components.p,{children:[`Your own id for the customer, as you sent it as `,_jsx(_components.code,{children:`customer`}),` on `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/create-order`,children:`Create an order`}),`. 1-128 characters of `,_jsx(_components.code,{children:`A-Z a-z 0-9 _ . : -`}),`, not dots alone.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`rewards`,type:`object`,id:`param-rewards`,children:_jsxs(Expandable,{title:`rewards`,children:[_jsx(ResponseField,{name:`customer`,type:`string`,id:`param-customer-1`,children:`The id you asked for.`}),_jsx(ResponseField,{name:`xp`,type:`number`,id:`param-xp`,children:`Lifetime XP: 1 per $1 of the packs the customer opened, at their price on your statement. Never resets; reward packs earn none.`}),_jsxs(ResponseField,{name:`tier`,type:`object | null`,id:`param-tier`,children:[`The highest tier reached: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),` and `,_jsx(_components.code,{children:`xp`}),` (the tier’s floor). Null below Bronze. A tier is never lost.`]}),_jsxs(ResponseField,{name:`next_tier`,type:`object | null`,id:`param-next-tier`,children:[`The next tier: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`xp`}),` and `,_jsx(_components.code,{children:`xp_needed`}),` (XP still to go). Null at Obsidian.`]}),_jsxs(ResponseField,{name:`next_milestone`,type:`object | null`,id:`param-next-milestone`,children:[`The next reward pack on the way: `,_jsx(_components.code,{children:`xp`}),` (where it pays), `,_jsx(_components.code,{children:`xp_needed`}),`, `,_jsx(_components.code,{children:`pack_type`}),` and `,_jsx(_components.code,{children:`pack_name`}),`. Null below Bronze, and once the customer has passed this tier’s three milestones (the next reward is then the next tier’s pack).`]}),_jsxs(ResponseField,{name:`unopened_reward_packs`,type:`integer`,id:`param-unopened-reward-packs`,children:[`Reward packs waiting to open. List them with `,_jsx(_components.a,{href:`/partner-api/v2/endpoints/list-customer-reward-packs`,children:`List a customer’s reward packs`}),`.`]})]})}),`\n`,_jsxs(_components.p,{children:[`Tier ids are `,_jsx(_components.code,{children:`bronze`}),`, `,_jsx(_components.code,{children:`silver`}),`, `,_jsx(_components.code,{children:`gold`}),`, `,_jsx(_components.code,{children:`emerald`}),`, `,_jsx(_components.code,{children:`diamond`}),`, `,_jsx(_components.code,{children:`sapphire`}),`, `,_jsx(_components.code,{children:`ruby`}),` and `,_jsx(_components.code,{children:`obsidian`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_PARTNER_SETTLED`})}),_jsx(_components.td,{children:`Your program pays through customer wallets`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_CUSTOMER`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`customer`}),` isn’t 1-128 characters of `,_jsx(_components.code,{children:`A-Z a-z 0-9 _ . : -`}),`, or is only dots`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`REWARDS_NOT_ENABLED`})}),_jsx(_components.td,{children:`Rewards aren’t turned on for your program. Ask your CatchBack contact`})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://sandbox.catchbackcards.com/api/partner/v2/customers/user-1842/rewards\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CATCHBACK_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rewards\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user-1842\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"xp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`23150`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Gold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"xp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_tier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"emerald\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Emerald\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"xp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"xp_needed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`76850`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_milestone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"xp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"xp_needed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`16850`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"pack_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"silver\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"pack_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Silver\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"unopened_reward_packs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\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":{"title":"Get a customer's rewards","api":"GET /api/partner/v2/customers/{customer}/rewards","description":"Non-crypto model with rewards on: a customer's XP, tier, next tier and next reward, and how many reward packs wait to open.","href":"/partner-api/v2/endpoints/get-customer-rewards"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://sandbox.catchbackcards.com/api/partner/v2/customers/user-1842/rewards\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$CATCHBACK_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"rewards\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"customer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user-1842\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"xp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">23150\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"gold\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Gold\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"xp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">20000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"next_tier\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"emerald\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Emerald\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"xp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">100000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"xp_needed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">76850\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"next_milestone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"xp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">40000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"xp_needed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">16850\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"pack_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"silver\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"pack_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Silver\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"unopened_reward_packs\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get a customer's rewards","path":"/api/partner/v2/customers/{customer}/rewards","servers":[{"url":"https://catchbackcards.com"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"customer":{"schema":[{"type":"string","description":"Your own id for the customer, as you sent it as `customer` on Create an order . 1-128 characters of `A-Z a-z 0-9 _ . : -` , not dots alone.","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"rewards":[{"type":"object","properties":{"customer":[{"type":"string","description":"The id you asked for."}],"xp":[{"type":"number","description":"Lifetime XP: 1 per $1 of the packs the customer opened, at their price on your statement. Never resets; reward packs earn none."}],"tier":[{"type":"object","properties":{},"description":"The highest tier reached: `id` , `name` and `xp` (the tier’s floor). Null below Bronze. A tier is never lost."}],"next_tier":[{"type":"object","properties":{},"description":"The next tier: `id` , `name` , `xp` and `xp_needed` (XP still to go). Null at Obsidian."}],"next_milestone":[{"type":"object","properties":{},"description":"The next reward pack on the way: `xp` (where it pays), `xp_needed` , `pack_type` and `pack_name` . Null below Bronze, and once the customer has passed this tier’s three milestones (the next reward is then the next tier’s pack)."}],"unopened_reward_packs":[{"type":"integer","description":"Reward packs waiting to open. List them with List a customer’s reward packs ."}]}}]}}],"examples":{"example":{"value":{"rewards":{"customer":"\u003cstring>","xp":123,"tier":{},"next_tier":{},"next_milestone":{},"unopened_reward_packs":123}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"catchbackcards","siteName":"CatchBack Documentation","title":"Get a customer's rewards - CatchBack Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-05T00:26:15.999Z","originalFileLocation":"partner-api/v2/endpoints/get-customer-rewards.mdx"},"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=\"dark\"}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=\"Non-crypto model with rewards on: a customer\u0026#x27;s XP, tier, next tier and next reward, and how many reward packs wait to open.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CatchBack 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/catchbackcards/mlIgZutg782HIdAn/_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/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/catchbackcards/mlIgZutg782HIdAn/_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/catchbackcards/mlIgZutg782HIdAn/_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/catchbackcards/mlIgZutg782HIdAn/_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/catchbackcards/mlIgZutg782HIdAn/_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/catchbackcards/mlIgZutg782HIdAn/_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/catchbackcards/mlIgZutg782HIdAn/_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/catchbackcards/mlIgZutg782HIdAn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a customer\u0026#x27;s rewards - CatchBack Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Non-crypto model with rewards on: a customer\u0026#x27;s XP, tier, next tier and next reward, and how many reward packs wait to open.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CatchBack Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://catchbackcards.mintlify.site/_mintlify/api/og/v2?division=Non-crypto+model+endpoints\u0026amp;title=Get+a+customer%27s+rewards\u0026amp;description=Non-crypto+model+with+rewards+on%3A+a+customer%27s+XP%2C+tier%2C+next+tier+and+next+reward%2C+and+how+many+reward+packs+wait+to+open.\u0026amp;theme=779a40f3f67beacb233f5a4b\u0026amp;signature=1c89734e737beb59db8b50846cc9a097df45d73dccbb49533d2914e4bedd4202\">\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=\"Get a customer\u0026#x27;s rewards - CatchBack Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Non-crypto model with rewards on: a customer\u0026#x27;s XP, tier, next tier and next reward, and how many reward packs wait to open.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://catchbackcards.mintlify.site/_mintlify/api/og/v2?division=Non-crypto+model+endpoints\u0026amp;title=Get+a+customer%27s+rewards\u0026amp;description=Non-crypto+model+with+rewards+on%3A+a+customer%27s+XP%2C+tier%2C+next+tier+and+next+reward%2C+and+how+many+reward+packs+wait+to+open.\u0026amp;theme=779a40f3f67beacb233f5a4b\u0026amp;signature=1c89734e737beb59db8b50846cc9a097df45d73dccbb49533d2914e4bedd4202\">\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/catchbackcards/mlIgZutg782HIdAn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CatchBack Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/partner-api/v2/endpoints/get-customer-rewards.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://catchbackcards.mintlify.app/#organization\",\"name\":\"CatchBack Documentation\",\"url\":\"https://catchbackcards.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/catchbackcards/t6yI8GaEaBqQQEpE/logo/catchback_logo_dark.png?fit=max\u0026auto=format\u0026n=t6yI8GaEaBqQQEpE\u0026q=85\u0026s=c0a46c19893e31a50cd0f4716d47686b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://catchbackcards.mintlify.app#website\",\"name\":\"CatchBack Documentation\",\"url\":\"https://catchbackcards.mintlify.app\",\"publisher\":{\"@id\":\"https://catchbackcards.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards#webpage\",\"url\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards\",\"name\":\"Get a customer's rewards\",\"description\":\"Non-crypto model with rewards on: a customer's XP, tier, next tier and next reward, and how many reward packs wait to open.\",\"dateModified\":\"2026-12-05T00:26:15.999Z\",\"isPartOf\":{\"@id\":\"https://catchbackcards.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Non-crypto model endpoints\",\"item\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-vault\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a customer's rewards\",\"item\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards#apireference\",\"headline\":\"Get a customer's rewards\",\"name\":\"Get a customer's rewards\",\"description\":\"Non-crypto model with rewards on: a customer's XP, tier, next tier and next reward, and how many reward packs wait to open.\",\"url\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards\",\"mainEntityOfPage\":{\"@id\":\"https://catchbackcards.mintlify.app/partner-api/v2/endpoints/get-customer-rewards#webpage\"},\"dateModified\":\"2026-12-05T00:26:15.999Z\",\"publisher\":{\"@id\":\"https://catchbackcards.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://catchbackcards.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CatchBack Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CatchBack Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/partner-api/v2/endpoints/get-customer-rewards.md","siteName":"CatchBack Documentation","nav":{"global":{"anchors":[{"anchor":"CatchBack Website","icon":"globe","href":"https://catchbackcards.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/about-catchback/overview"}]},{"tab":"Partner API","groups":[{"group":"Get started","pages":[{"title":"Partner API v2","sidebarTitle":"Overview","href":"/partner-api/v2/overview"},{"title":"Integration models","href":"/partner-api/v2/integration-models"},{"title":"MCP server","href":"/partner-api/v2/mcp"},{"title":"Sandbox","href":"/partner-api/v2/quickstart"},{"title":"Authentication and keys","href":"/partner-api/v2/authentication"}]},{"group":"Concepts","pages":[{"title":"Orders and statuses","href":"/partner-api/v2/orders"},{"title":"Verify a pull","href":"/partner-api/v2/verify-a-pull"},{"title":"Odds","href":"/partner-api/v2/odds"},{"title":"Custom packs","href":"/partner-api/v2/custom-packs"},{"title":"Webhooks","href":"/partner-api/v2/webhooks"},{"title":"Idempotency","href":"/partner-api/v2/idempotency"},{"title":"Errors","href":"/partner-api/v2/errors"},{"title":"Limits and compliance","href":"/partner-api/v2/limits-and-compliance"}]},{"group":"Crypto Wallet model","pages":[{"title":"Payments","href":"/partner-api/v2/payments"},{"title":"Sell-back","href":"/partner-api/v2/sell-back"},{"title":"Shipping","href":"/partner-api/v2/shipping"},{"title":"Chains, tokens and metadata","href":"/partner-api/v2/chains-and-metadata"}]},{"group":"Non-crypto model","pages":[{"title":"Non-crypto model","href":"/partner-api/v2/settlement"},{"title":"Customer rewards","href":"/partner-api/v2/rewards"}]},{"group":"Packs \u0026 orders","pages":[{"title":"List packs","api":"GET /api/partner/v2/catalog/packs","href":"/partner-api/v2/endpoints/list-packs"},{"title":"Get a pack's odds and pool","api":"GET /api/partner/v2/catalog/packs/pool","href":"/partner-api/v2/endpoints/get-pack-pool"},{"title":"List custom pack cards","api":"GET /api/partner/v2/catalog/custom/cards","href":"/partner-api/v2/endpoints/list-custom-pack-cards"},{"title":"Price a custom pack","api":"POST /api/partner/v2/custom-packs/price","href":"/partner-api/v2/endpoints/price-custom-pack"},{"title":"Create an order","api":"POST /api/partner/v2/orders","href":"/partner-api/v2/endpoints/create-order"},{"title":"List orders","api":"GET /api/partner/v2/orders","href":"/partner-api/v2/endpoints/list-orders"},{"title":"Get an order","api":"GET /api/partner/v2/orders/{id}","href":"/partner-api/v2/endpoints/get-order"},{"title":"Verify an order's pull","api":"GET /api/partner/v2/orders/{id}/verification","href":"/partner-api/v2/endpoints/get-order-verification"}]},{"group":"Tokens \u0026 sell-back","pages":[{"title":"List a wallet's tokens","api":"GET /api/partner/v2/wallets/{address}/tokens","href":"/partner-api/v2/endpoints/list-wallet-tokens"},{"title":"Get a token","api":"GET /api/partner/v2/tokens/{tokenId}","href":"/partner-api/v2/endpoints/get-token"},{"title":"Quote a sell-back","api":"POST /api/partner/v2/tokens/{tokenId}/quote","href":"/partner-api/v2/endpoints/create-sellback-quote"},{"title":"Burn without gas","api":"POST /api/partner/v2/tokens/{tokenId}/burn","href":"/partner-api/v2/endpoints/relay-burn"},{"title":"List sell-back quotes","sidebarTitle":"List quotes","api":"GET /api/partner/v2/quotes","href":"/partner-api/v2/endpoints/list-quotes"},{"title":"Get a quote","api":"GET /api/partner/v2/quotes/{quoteId}","href":"/partner-api/v2/endpoints/get-quote"},{"title":"Token metadata","api":"GET /api/partner-nfts/metadata/{chainId}/{tokenId}","href":"/partner-api/v2/endpoints/get-token-metadata"}]},{"group":"Shipments","pages":[{"title":"Estimate a shipment","api":"POST /api/partner/v2/shipments/estimate","href":"/partner-api/v2/endpoints/estimate-shipment"},{"title":"Create a shipment","api":"POST /api/partner/v2/shipments","href":"/partner-api/v2/endpoints/create-shipment"},{"title":"Estimate a one-token shipment","api":"POST /api/partner/v2/tokens/{tokenId}/shipment/estimate","href":"/partner-api/v2/endpoints/estimate-token-shipment"},{"title":"Create a one-token shipment","api":"POST /api/partner/v2/tokens/{tokenId}/shipment","href":"/partner-api/v2/endpoints/create-token-shipment"},{"title":"List shipments","api":"GET /api/partner/v2/shipments","href":"/partner-api/v2/endpoints/list-shipments"},{"title":"Get a shipment","api":"GET /api/partner/v2/shipments/{id}","href":"/partner-api/v2/endpoints/get-shipment"},{"title":"Renew a shipment","api":"POST /api/partner/v2/shipments/{id}/renew","href":"/partner-api/v2/endpoints/renew-shipment"}]},{"group":"Webhook endpoints","pages":[{"title":"Register a webhook","api":"POST /api/partner/v2/webhooks","href":"/partner-api/v2/endpoints/register-webhook"},{"title":"Get your webhook","api":"GET /api/partner/v2/webhooks","href":"/partner-api/v2/endpoints/list-webhooks"},{"title":"Delete a webhook","api":"DELETE /api/partner/v2/webhooks/{id}","href":"/partner-api/v2/endpoints/delete-webhook"},{"title":"Test a webhook","api":"POST /api/partner/v2/webhooks/{id}/test","href":"/partner-api/v2/endpoints/test-webhook"}]},{"group":"Keys \u0026 revenue","pages":[{"title":"Get your key","api":"GET /api/partner/v2/keys","href":"/partner-api/v2/endpoints/get-key"},{"title":"Rotate your key","api":"POST /api/partner/v2/keys/rotate","href":"/partner-api/v2/endpoints/rotate-key"},{"title":"Revoke the previous key","api":"POST /api/partner/v2/keys/revoke-previous","href":"/partner-api/v2/endpoints/revoke-previous-key"},{"title":"Get your revenue statement","api":"GET /api/partner/v2/revenue","href":"/partner-api/v2/endpoints/get-revenue"}]},{"group":"Non-crypto model endpoints","pages":[{"title":"Get a customer's vault","api":"GET /api/partner/v2/customers/{customer}/vault","href":"/partner-api/v2/endpoints/get-customer-vault"},{"title":"Get a customer's card","api":"GET /api/partner/v2/customers/{customer}/cards/{card_id}","href":"/partner-api/v2/endpoints/get-customer-card"},{"title":"Sell back a customer's card","api":"POST /api/partner/v2/customers/{customer}/cards/{card_id}/sellback","href":"/partner-api/v2/endpoints/sell-back-customer-card"},{"title":"Estimate a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments/estimate","href":"/partner-api/v2/endpoints/estimate-customer-shipment"},{"title":"Create a customer shipment","api":"POST /api/partner/v2/customers/{customer}/shipments","href":"/partner-api/v2/endpoints/create-customer-shipment"},{"title":"List a customer's shipments","api":"GET /api/partner/v2/customers/{customer}/shipments","href":"/partner-api/v2/endpoints/list-customer-shipments"},{"title":"Get your statement","api":"GET /api/partner/v2/settlement","description":"Non-crypto model: what you owe against your credit limit, your daily limits, and one month of statement entries.","href":"/partner-api/v2/endpoints/get-settlement"},{"title":"Get a customer's rewards","api":"GET /api/partner/v2/customers/{customer}/rewards","href":"/partner-api/v2/endpoints/get-customer-rewards"},{"title":"List a customer's reward packs","api":"GET /api/partner/v2/customers/{customer}/reward-packs","description":"Non-crypto model with rewards on: the tier and milestone packs a customer has earned, newest first.","href":"/partner-api/v2/endpoints/list-customer-reward-packs"},{"title":"Open a customer's reward pack","api":"POST /api/partner/v2/customers/{customer}/reward-packs/{pack_id}/open","href":"/partner-api/v2/endpoints/open-customer-reward-pack"},{"title":"Set a customer's tier","api":"POST /api/partner/v2/customers/{customer}/tier","href":"/partner-api/v2/endpoints/set-customer-tier"}]},{"group":"Sandbox","pages":[{"title":"Simulate a payment","api":"POST /api/partner/v2/sandbox/payments/{intentId}","href":"/partner-api/v2/endpoints/sandbox-pay"},{"title":"Run the background work","api":"POST /api/partner/v2/sandbox/tick","href":"/partner-api/v2/endpoints/sandbox-tick"},{"title":"Mark a shipment shipped or delivered","sidebarTitle":"Simulate shipping","api":"POST /api/partner/v2/sandbox/shipments/{id}","href":"/partner-api/v2/endpoints/sandbox-ship"}]},{"group":"Going live","pages":[{"title":"Go-live checklist","href":"/partner-api/v2/go-live-checklist"},{"title":"Changelog","href":"/partner-api/v2/changelog"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/packs/list-packs"}]}]},"basePath":"","title":"Get a customer's rewards - CatchBack Documentation","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","SectionHeading-S4Jc_qPe.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js"]}