{ "publisherErrorMessage": "Unable to grant the award because the player ID is invalid."}
{ "publisherErrorMessage": "Unable to grant the award because the inventory service is unavailable."}
Awards
Grant Award Callback
Note: This is a callback API. Appcharge calls this endpoint on your server when specific events occur.
Notifies your system to grant an award to a customer.
Appcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid publisherPurchaseId, Appcharge redirects the customer to the success page confirming their purchase.
Warning:
The playerEmail, createdByIp, and zipCode properties are deprecated. They will continue to be included in callback payloads for backward compatibility until November 27, 2026, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won’t be supported or accessible.
Publisher purchase ID for this transaction. Return this value after granting the award so Appcharge can confirm fulfillment and pair it with the Appcharge orderId for reconciliation. Learn more in Before you begin.
Example:
"222673459829966773354378"
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Appcharge Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/appcharge/LP68Z9e4BqjRM7JL/images/c9328f3ecab47b345295f099ba5370fb9f8af9d9b810b5bbaacffe018ae883f9-small-full_logo_black-1.png?fit=max\u0026auto=format\u0026n=LP68Z9e4BqjRM7JL\u0026q=85\u0026s=fa40fc4719da41be52a4031c81431015","dark":"https://mintcdn.com/appcharge/LP68Z9e4BqjRM7JL/images/c9328f3ecab47b345295f099ba5370fb9f8af9d9b810b5bbaacffe018ae883f9-small-full_logo_black-1.png?fit=max\u0026auto=format\u0026n=LP68Z9e4BqjRM7JL\u0026q=85\u0026s=fa40fc4719da41be52a4031c81431015"},"favicon":"https://mintcdn.com/appcharge/Gmzl86FePs5bNqWW/37aab0e3a083878ed9a9408108c4c5dd3bd71394a5a22d825da46ea6c7f976de-small-color_1.png?fit=max\u0026auto=format\u0026n=Gmzl86FePs5bNqWW\u0026q=85\u0026s=728c92d9826f046d1271f99fb184b4d7","api":{"playground":{"display":"simple"}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://publishers.appcharge.com/hc/en-us","label":"Help Center"},{"href":"https://appcharge.instatus.com/","label":"Status"}],"primary":{"type":"button","label":"Publisher Dashboard","href":"https://dashboard.appcharge.com/"}},"footer":{"socials":{"instagram":"https://www.instagram.com/appchargehq","linkedin":"https://www.linkedin.com/company/appcharge/posts?feedView=all"}},"styling":{"codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"appcharge","hasAudioNarration":false,"actualSubdomain":"appcharge","customDomains":["docs.appcharge.com"],"gitSource":{"type":"github","owner":"appcharge","repo":"developer-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aec4f8edd9d9f5b04d73887","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":220},{"language":"default","tag":"Web Store","count":172},{"language":"default","tag":"Guides","count":109},{"language":"default","tag":"Offers","count":81},{"language":"default","tag":"Events Center","count":55},{"language":"default","tag":"Offer Components","count":48},{"language":"default","tag":"Offers V2 API","count":48},{"language":"default","tag":"Checkout","count":47},{"language":"default","tag":"Offer Designs","count":35},{"language":"default","tag":"Events V2","count":33}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/checkout/awards/grant-award-callback","slug":"/api-reference/checkout/awards/grant-award-callback","pageMetadata":{"title":"Grant Award Callback","description":"> **Note:** This is a callback API. Appcharge calls this endpoint on your server when specific events occur.\n\nNotifies your system to grant an award to a customer.\n\nAppcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid `publisherPurchaseId`, Appcharge redirects the customer to the success page confirming their purchase.\n\n> **Warning:**\nThe `playerEmail`, `createdByIp`, and `zipCode` properties are deprecated. They will continue to be included in callback payloads for backward compatibility until **November 27, 2026**, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won't be supported or accessible.\n","openapi":"openapi-grant-award.json post /{YOUR_GRANT_AWARD_ENDPOINT}","href":"/api-reference/checkout/awards/grant-award-callback"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n blockquote: \"blockquote\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.blockquote, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Note:\"\n }), \" This is a callback API. Appcharge calls this endpoint on your server when specific events occur.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Notifies your system to grant an award to a customer.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Appcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid \", _jsx(_components.code, {\n children: \"publisherPurchaseId\"\n }), \", Appcharge redirects the customer to the success page confirming their purchase.\"]\n }), \"\\n\", _jsxs(_components.blockquote, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Warning:\"\n }), \"\\nThe \", _jsx(_components.code, {\n children: \"playerEmail\"\n }), \", \", _jsx(_components.code, {\n children: \"createdByIp\"\n }), \", and \", _jsx(_components.code, {\n children: \"zipCode\"\n }), \" properties are deprecated. They will continue to be included in callback payloads for backward compatibility until \", _jsx(_components.strong, {\n children: \"November 27, 2026\"\n }), \", but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won’t be supported or accessible.\"]\n }), \"\\n\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Grant Award Callback","description":"> **Note:** This is a callback API. Appcharge calls this endpoint on your server when specific events occur.\n\nNotifies your system to grant an award to a customer.\n\nAppcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid `publisherPurchaseId`, Appcharge redirects the customer to the success page confirming their purchase.\n\n> **Warning:**\nThe `playerEmail`, `createdByIp`, and `zipCode` properties are deprecated. They will continue to be included in callback payloads for backward compatibility until **November 27, 2026**, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won't be supported or accessible.\n","openapi":"openapi-grant-award.json post /{YOUR_GRANT_AWARD_ENDPOINT}","href":"/api-reference/checkout/awards/grant-award-callback"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Grant Award - Paid Order`,numberOfLines:`61`,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:`61`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://{YOUR_GRANT_AWARD_ENDPOINT}'`}),_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:` 'Content-Type: application/json'`}),_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:` 'x-publisher-token: \u003cx-publisher-token>'`}),_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:` 'signature: \u003csignature>'`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderId\": \"12345678\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"purchaseId\": \"abc123xyz789\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"appChargePaymentId\": \"pay_9876543210\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"purchaseDateAndTimeUtc\": \"2024-07-21T14:17:27.329Z\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"playerId\": \"player_12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bundleName\": \"Starter Pack\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bundleId\": \"684044555ed01178ed2c0b3b\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sku\": \"starterpack\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"products\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 1000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sku\": \"prod22224448763533\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Gold Coins\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"priceInDollar\": 999,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"priceInCents\": 999,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"subTotal\": 850,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tax\": 149,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"taxRate\": 17.5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"taxInDollar\": 149,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"currency\": \"USD\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"currencyExchangeCost\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"action\": \"purchase\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"actionStatus\": \"completed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"originalPriceInDollar\": 1499,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentPriceInDollar\": 999,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentMethod\": \"card\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"countryCode2\": \"US\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"priceTotalInDollar\": 1148,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"playerEmail\": \"john.doe@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sessionMetadata\": \"{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"userId\": \"12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"level\":10`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"receiptId\": \"receipt_abc123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"estimatedPublisherNetAmount\": 850.50,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"estimatedAppchargeFee\": 148.50,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pricePointMetadata\": 999,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"createdByIp\": \"192.168.1.1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"zipCode\": \"10001\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"awardFlow\": \"auto\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"promoCodeName\": \"SUMMER2024\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"discount\": 100.0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"discountRatePoints\": \"10\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"storeMetadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"productsSequenceIndex\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"offerType\": \"Bundle\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"utms\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"utmSource\": \"Facebook\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"utmMedium\": \"email\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"utmCampaign\": \"spring_sale\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Grant Award - Free Order`,numberOfLines:`54`,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:`54`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://{YOUR_GRANT_AWARD_ENDPOINT}'`}),_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:` 'Content-Type: application/json'`}),_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:` 'x-publisher-token: \u003cx-publisher-token>'`}),_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:` 'signature: \u003csignature>'`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderId\": \"662345678\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"purchaseId\": \"6abc123xyz789\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"appChargePaymentId\": \"pay_6876543210\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"purchaseDateAndTimeUtc\": \"\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"playerId\": \"player_12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bundleName\": \"First Daily Bonus\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bundleId\": \"664044555ed01178ed2c0b36\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sku\": \"first-daily-bonus\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"products\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 400,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sku\": \"prod62224448763536\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Gold Coins\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"priceInDollar\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"priceInCents\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"subTotal\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tax\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"taxRate\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"taxInDollar\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"currency\": \"USD\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"currencyExchangeCost\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"action\": \"bonus\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"actionStatus\": \"completed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"originalPriceInDollar\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentPriceInDollar\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentMethod\": \"\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"playerIp\": \"192.0.2.1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"priceTotalInDollar\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"playerEmail\": \"john.doe@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sessionMetadata\": \"{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"userId\": \"12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"level\":10`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"receiptId\": \"receipt_6abc123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"estimatedPublisherNetAmount\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"estimatedAppchargeFee\": 148.50,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"createdByIp\": \"192.168.1.1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"zipCode\": \"10001\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"awardFlow\": \"auto\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"discount\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"discountRatePoints\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"storeMetadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"productsSequenceIndex\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"offerType:\" \"PopUp\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Grant Award - Paid Order`,numberOfLines:`3`,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:`3`,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:` \"publisherPurchaseId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"222673459829966773354378\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Grant Award - Free Order`,numberOfLines:`3`,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:`3`,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:` \"publisherPurchaseId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"662673459829966773354378\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`3`,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:`3`,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:` \"publisherErrorMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unable to grant the award because the player ID is invalid.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`500`,numberOfLines:`3`,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:`3`,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:` \"publisherErrorMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unable to grant the award because the inventory service is unavailable.\"`})]}),`\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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Grant Award Callback","description":"> **Note:** This is a callback API. Appcharge calls this endpoint on your server when specific events occur.\n\nNotifies your system to grant an award to a customer.\n\nAppcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid `publisherPurchaseId`, Appcharge redirects the customer to the success page confirming their purchase.\n\n> **Warning:**\nThe `playerEmail`, `createdByIp`, and `zipCode` properties are deprecated. They will continue to be included in callback payloads for backward compatibility until **November 27, 2026**, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won't be supported or accessible.\n","openapi":"openapi-grant-award.json post /{YOUR_GRANT_AWARD_ENDPOINT}","href":"/api-reference/checkout/awards/grant-award-callback"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Grant Award - Paid Order","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=\"61\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://{YOUR_GRANT_AWARD_ENDPOINT}'\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\"> 'Content-Type: application/json'\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\"> 'x-publisher-token: \u0026#x3C;x-publisher-token>'\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\"> 'signature: \u0026#x3C;signature>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"orderId\": \"12345678\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"purchaseId\": \"abc123xyz789\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"appChargePaymentId\": \"pay_9876543210\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"purchaseDateAndTimeUtc\": \"2024-07-21T14:17:27.329Z\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"playerId\": \"player_12345\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"bundleName\": \"Starter Pack\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"bundleId\": \"684044555ed01178ed2c0b3b\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"sku\": \"starterpack\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"products\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"amount\": 1000,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"sku\": \"prod22224448763533\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Gold Coins\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"priceInDollar\": 999,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"priceInCents\": 999,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"subTotal\": 850,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"tax\": 149,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"taxRate\": 17.5,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"taxInDollar\": 149,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"currency\": \"USD\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"currencyExchangeCost\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"action\": \"purchase\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"actionStatus\": \"completed\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"originalPriceInDollar\": 1499,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"paymentPriceInDollar\": 999,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"paymentMethod\": \"card\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"countryCode2\": \"US\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"priceTotalInDollar\": 1148,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"playerEmail\": \"john.doe@example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"sessionMetadata\": \"{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"userId\": \"12345\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"level\":10\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"receiptId\": \"receipt_abc123\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"estimatedPublisherNetAmount\": 850.50,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"estimatedAppchargeFee\": 148.50,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"pricePointMetadata\": 999,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"createdByIp\": \"192.168.1.1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"zipCode\": \"10001\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"awardFlow\": \"auto\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"promoCodeName\": \"SUMMER2024\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"discount\": 100.0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"discountRatePoints\": \"10\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"storeMetadata\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"productsSequenceIndex\": 1,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"offerType\": \"Bundle\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"utms\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"utmSource\": \"Facebook\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"utmMedium\": \"email\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"utmCampaign\": \"spring_sale\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Grant Award - Free Order","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=\"54\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://{YOUR_GRANT_AWARD_ENDPOINT}'\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\"> 'Content-Type: application/json'\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\"> 'x-publisher-token: \u0026#x3C;x-publisher-token>'\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\"> 'signature: \u0026#x3C;signature>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"orderId\": \"662345678\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"purchaseId\": \"6abc123xyz789\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"appChargePaymentId\": \"pay_6876543210\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"purchaseDateAndTimeUtc\": \"\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"playerId\": \"player_12345\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"bundleName\": \"First Daily Bonus\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"bundleId\": \"664044555ed01178ed2c0b36\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"sku\": \"first-daily-bonus\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"products\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"amount\": 400,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"sku\": \"prod62224448763536\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Gold Coins\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"priceInDollar\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"priceInCents\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"subTotal\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"tax\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"taxRate\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"taxInDollar\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"currency\": \"USD\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"currencyExchangeCost\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"action\": \"bonus\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"actionStatus\": \"completed\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"originalPriceInDollar\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"paymentPriceInDollar\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"paymentMethod\": \"\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"playerIp\": \"192.0.2.1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"priceTotalInDollar\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"playerEmail\": \"john.doe@example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"sessionMetadata\": \"{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"userId\": \"12345\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"level\":10\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"receiptId\": \"receipt_6abc123\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"estimatedPublisherNetAmount\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"estimatedAppchargeFee\": 148.50,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"createdByIp\": \"192.168.1.1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"zipCode\": \"10001\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"awardFlow\": \"auto\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"discount\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"discountRatePoints\": \"0\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"storeMetadata\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"productsSequenceIndex\": 1,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"offerType:\" \"PopUp\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Grant Award - Paid Order","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=\"3\">\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\"> \"publisherPurchaseId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"222673459829966773354378\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Grant Award - Free Order","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=\"3\">\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\"> \"publisherPurchaseId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"662673459829966773354378\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","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=\"3\">\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\"> \"publisherErrorMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Unable to grant the award because the player ID is invalid.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"500","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=\"3\">\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\"> \"publisherErrorMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Unable to grant the award because the inventory service is unavailable.\"\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":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"grant-award","description":"> **Note:** This is a callback API. Appcharge calls this endpoint on your server when specific events occur.\n\nNotifies your system to grant an award to a customer.\n\nAppcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid `publisherPurchaseId`, Appcharge redirects the customer to the success page confirming their purchase.\n\n> **Warning:**\nThe `playerEmail`, `createdByIp`, and `zipCode` properties are deprecated. They will continue to be included in callback payloads for backward compatibility until **November 27, 2026**, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won't be supported or accessible.\n","tags":["Orders"],"parameters":["5fdfa0cb-2d39-4304-8c48-0fc6bc43a0c9","acbcb1ec-c7c3-497a-be0f-fd2437708456"],"requestBody":"de3deebc-ddcf-4e03-a8fc-31c690b36970","responses":{"200":"b692a2b9-82e1-4fb6-9902-3b6ae0cb3288","400":"e5739914-55a5-4d89-bea4-3b337fac4bcb","500":"6983abb4-b33b-42f4-98c4-1dfabd570218"},"x-mint":{"content":"\u003cNote>This is a callback API. Appcharge calls this endpoint on your server when specific events occur.\u003c/Note>\n\nNotifies your system to grant an award to a customer.\n\nAppcharge calls this endpoint after a customer payment is finalized or when a free offer is collected.\n\nWhen your server responds with a valid `publisherPurchaseId`, Appcharge redirects the customer to the success page confirming their purchase.\n\n\u003cWarning>Your server must return a valid `publisherPurchaseId` value to confirm the award has been sucessfully granted. If the property is missing or invalid, the award is marked as unsuccessful, and an alert is triggered.\u003c/Warning>"},"method":"post","type":"path","servers":[],"security":[],"path":"/{YOUR_GRANT_AWARD_ENDPOINT}","baseUrlOptions":[],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"61","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'https://{YOUR_GRANT_AWARD_ENDPOINT}'"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'Content-Type: application/json'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'x-publisher-token: \u003cx-publisher-token>'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'signature: \u003csignature>'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -d"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" '{"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"orderId\": \"12345678\","}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"purchaseId\": \"abc123xyz789\","}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"appChargePaymentId\": \"pay_9876543210\","}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"purchaseDateAndTimeUtc\": \"2024-07-21T14:17:27.329Z\","}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"playerId\": \"player_12345\","}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"bundleName\": \"Starter Pack\","}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"bundleId\": \"684044555ed01178ed2c0b3b\","}}}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"sku\": \"starterpack\","}}}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"products\": ["}}}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" {"}}}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"amount\": 1000,"}}}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"sku\": \"prod22224448763533\","}}}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"name\": \"Gold Coins\""}}}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }"}}}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" ],"}}}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"priceInDollar\": 999,"}}}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"priceInCents\": 999,"}}}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"subTotal\": 850,"}}}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"tax\": 149,"}}}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"taxRate\": 17.5,"}}}},"\n",{"type":"span","key":"52","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"taxInDollar\": 149,"}}}},"\n",{"type":"span","key":"54","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"currency\": \"USD\","}}}},"\n",{"type":"span","key":"56","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"currencyExchangeCost\": 0,"}}}},"\n",{"type":"span","key":"58","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"action\": \"purchase\","}}}},"\n",{"type":"span","key":"60","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"actionStatus\": \"completed\","}}}},"\n",{"type":"span","key":"62","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"originalPriceInDollar\": 1499,"}}}},"\n",{"type":"span","key":"64","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"paymentPriceInDollar\": 999,"}}}},"\n",{"type":"span","key":"66","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"paymentMethod\": \"card\","}}}},"\n",{"type":"span","key":"68","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"countryCode2\": \"US\","}}}},"\n",{"type":"span","key":"70","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"priceTotalInDollar\": 1148,"}}}},"\n",{"type":"span","key":"72","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"playerEmail\": \"john.doe@example.com\","}}}},"\n",{"type":"span","key":"74","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"sessionMetadata\": \"{"}}}},"\n",{"type":"span","key":"76","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"userId\": \"12345\","}}}},"\n",{"type":"span","key":"78","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"level\":10"}}}},"\n",{"type":"span","key":"80","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }\","}}}},"\n",{"type":"span","key":"82","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"receiptId\": \"receipt_abc123\","}}}},"\n",{"type":"span","key":"84","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"estimatedPublisherNetAmount\": 850.50,"}}}},"\n",{"type":"span","key":"86","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"estimatedAppchargeFee\": 148.50,"}}}},"\n",{"type":"span","key":"88","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"pricePointMetadata\": 999,"}}}},"\n",{"type":"span","key":"90","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"createdByIp\": \"192.168.1.1\","}}}},"\n",{"type":"span","key":"92","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"zipCode\": \"10001\","}}}},"\n",{"type":"span","key":"94","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"awardFlow\": \"auto\","}}}},"\n",{"type":"span","key":"96","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"promoCodeName\": \"SUMMER2024\","}}}},"\n",{"type":"span","key":"98","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"discount\": 100.0,"}}}},"\n",{"type":"span","key":"100","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"discountRatePoints\": \"10\","}}}},"\n",{"type":"span","key":"102","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"storeMetadata\": {"}}}},"\n",{"type":"span","key":"104","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"productsSequenceIndex\": 1,"}}}},"\n",{"type":"span","key":"106","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"offerType\": \"Bundle\","}}}},"\n",{"type":"span","key":"108","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"utms\": {"}}}},"\n",{"type":"span","key":"110","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"utmSource\": \"Facebook\","}}}},"\n",{"type":"span","key":"112","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"utmMedium\": \"email\","}}}},"\n",{"type":"span","key":"114","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"utmCampaign\": \"spring_sale\""}}}},"\n",{"type":"span","key":"116","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }"}}}},"\n",{"type":"span","key":"118","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }"}}}},"\n",{"type":"span","key":"120","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }'"}}}},"\n"]}}}},"filename":"Grant Award - Paid Order"},{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"54","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'https://{YOUR_GRANT_AWARD_ENDPOINT}'"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'Content-Type: application/json'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'x-publisher-token: \u003cx-publisher-token>'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'signature: \u003csignature>'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -d"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" '{"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"orderId\": \"662345678\","}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"purchaseId\": \"6abc123xyz789\","}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"appChargePaymentId\": \"pay_6876543210\","}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"purchaseDateAndTimeUtc\": \"\","}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"playerId\": \"player_12345\","}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"bundleName\": \"First Daily Bonus\","}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"bundleId\": \"664044555ed01178ed2c0b36\","}}}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"sku\": \"first-daily-bonus\","}}}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"products\": ["}}}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" {"}}}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"amount\": 400,"}}}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"sku\": \"prod62224448763536\","}}}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"name\": \"Gold Coins\""}}}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }"}}}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" ],"}}}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"priceInDollar\": 0,"}}}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"priceInCents\": 0,"}}}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"subTotal\": 0,"}}}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"tax\": 0,"}}}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"taxRate\": 0,"}}}},"\n",{"type":"span","key":"52","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"taxInDollar\": 0,"}}}},"\n",{"type":"span","key":"54","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"currency\": \"USD\","}}}},"\n",{"type":"span","key":"56","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"currencyExchangeCost\": 0,"}}}},"\n",{"type":"span","key":"58","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"action\": \"bonus\","}}}},"\n",{"type":"span","key":"60","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"actionStatus\": \"completed\","}}}},"\n",{"type":"span","key":"62","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"originalPriceInDollar\": 0,"}}}},"\n",{"type":"span","key":"64","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"paymentPriceInDollar\": 0,"}}}},"\n",{"type":"span","key":"66","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"paymentMethod\": \"\","}}}},"\n",{"type":"span","key":"68","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"playerIp\": \"192.0.2.1\","}}}},"\n",{"type":"span","key":"70","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"priceTotalInDollar\": 0,"}}}},"\n",{"type":"span","key":"72","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"playerEmail\": \"john.doe@example.com\","}}}},"\n",{"type":"span","key":"74","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"sessionMetadata\": \"{"}}}},"\n",{"type":"span","key":"76","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"userId\": \"12345\","}}}},"\n",{"type":"span","key":"78","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"level\":10"}}}},"\n",{"type":"span","key":"80","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }\","}}}},"\n",{"type":"span","key":"82","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"receiptId\": \"receipt_6abc123\","}}}},"\n",{"type":"span","key":"84","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"estimatedPublisherNetAmount\": 0,"}}}},"\n",{"type":"span","key":"86","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"estimatedAppchargeFee\": 148.50,"}}}},"\n",{"type":"span","key":"88","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"createdByIp\": \"192.168.1.1\","}}}},"\n",{"type":"span","key":"90","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"zipCode\": \"10001\","}}}},"\n",{"type":"span","key":"92","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"awardFlow\": \"auto\","}}}},"\n",{"type":"span","key":"94","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"discount\": 0,"}}}},"\n",{"type":"span","key":"96","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"discountRatePoints\": \"0\","}}}},"\n",{"type":"span","key":"98","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"storeMetadata\": {"}}}},"\n",{"type":"span","key":"100","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"productsSequenceIndex\": 1,"}}}},"\n",{"type":"span","key":"102","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"offerType:\" \"PopUp\""}}}},"\n",{"type":"span","key":"104","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }"}}}},"\n",{"type":"span","key":"106","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }'"}}}},"\n"]}}}},"filename":"Grant Award - Free Order"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"publisherPurchaseId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"222673459829966773354378\""}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Grant Award - Paid Order"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"publisherPurchaseId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"662673459829966773354378\""}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Grant Award - Free Order"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"publisherErrorMessage\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Unable to grant the award because the player ID is invalid.\""}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"400"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"publisherErrorMessage\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Unable to grant the award because the inventory service is unavailable.\""}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"500"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"5fdfa0cb-2d39-4304-8c48-0fc6bc43a0c9":{"name":"x-publisher-token","in":"header","schema":{"type":"string","description":"Publisher token.","uniqueKey":"","typeLabel":"string"},"description":"Publisher token."},"acbcb1ec-c7c3-497a-be0f-fd2437708456":{"name":"signature","in":"header","schema":{"type":"string","description":"[Signature](/../../api-reference/appcharge-publisher-secure-communication).","uniqueKey":"","typeLabel":"string"},"description":"[Signature](/../../api-reference/appcharge-publisher-secure-communication)."}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"type":"string","description":"Order ID in the Publisher Dashboard.","example":"68e25eebdcb1278","uniqueKey":"orderId","typeLabel":"string"},"purchaseId":{"type":"string","description":"Purchase ID. Temporary identifier assigned before the `orderId` is credited, typically for troubleshooting failed orders.","example":"pr_750b85591e1643685718e5443xyz789","uniqueKey":"purchaseId","typeLabel":"string"},"appChargePaymentId":{"type":"string","description":"Payment ID.","example":"68e25eebd76543210","uniqueKey":"appChargePaymentId","typeLabel":"string"},"purchaseDateAndTimeUtc":{"type":"string","format":"date-time","description":"Date and time of the purchase in UTC.","example":"2024-07-21T14:17:27.329Z","uniqueKey":"purchaseDateAndTimeUtc","typeLabel":"string\u003cdate-time>"},"playerId":{"type":"string","description":"Player ID returned in the player authentication process.","example":"8533676467","uniqueKey":"playerId","typeLabel":"string"},"bundleName":{"type":"string","description":"Offer name.","example":"Starter Pack","uniqueKey":"bundleName","typeLabel":"string"},"bundleId":{"type":"string","description":"Offer ID.","example":"684044555ed01178ed2c0b3b","uniqueKey":"bundleId","typeLabel":"string"},"sku":{"type":"string","description":"Offer ID you provided.","example":"starterpack","uniqueKey":"sku","typeLabel":"string"},"products":{"type":"array","description":"Product details.","items":{"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the purchased product (minimum 0).","example":1000,"uniqueKey":"products.items.[INDEX].amount","typeLabel":"integer"},"sku":{"type":"string","description":"Product ID.","example":"prod22224448763533","uniqueKey":"products.items.[INDEX].sku","typeLabel":"string"},"name":{"type":"string","description":"Product name.","example":"Gold Coins","uniqueKey":"products.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"products.items.[INDEX]","typeLabel":"object"},"uniqueKey":"products","typeLabel":"object[]"},"priceInDollar":{"type":"integer","format":"int32","description":"Price before taxes in USD cents. Converted in real time.","example":999,"uniqueKey":"priceInDollar","typeLabel":"integer\u003cint32>"},"priceInCents":{"type":"integer","format":"int32","description":"Total price paid in the lowest unit of the local currency.","example":999,"uniqueKey":"priceInCents","typeLabel":"integer\u003cint32>"},"subTotal":{"type":"integer","format":"int32","description":"Price paid before taxes in the lowest unit of the local currency.","example":850,"uniqueKey":"subTotal","typeLabel":"integer\u003cint32>"},"tax":{"type":"integer","format":"int32","description":"Tax amount in the lowest unit of the local currency.","example":149,"uniqueKey":"tax","typeLabel":"integer\u003cint32>"},"taxRate":{"type":"number","format":"float","description":"Tax rate (percentage).","example":17.5,"uniqueKey":"taxRate","typeLabel":"number\u003cfloat>"},"taxInDollar":{"type":"integer","format":"int32","description":"Tax amount in USD cents.","example":149,"uniqueKey":"taxInDollar","typeLabel":"integer\u003cint32>"},"currency":{"type":"string","description":"ISO 4217 currency code.","example":"USD","uniqueKey":"currency","typeLabel":"string"},"currencyExchangeCost":{"type":"number","format":"float","description":"Currency exchange cost in USD cents.","example":0,"uniqueKey":"currencyExchangeCost","typeLabel":"number\u003cfloat>"},"action":{"type":"string","enum":["purchase","bonus"],"description":"Customer action.","example":"purchase","uniqueKey":"action","typeLabel":"enum\u003cstring>"},"actionStatus":{"type":"string","enum":["completed"],"description":"Action status.","example":"completed","uniqueKey":"actionStatus","typeLabel":"enum\u003cstring>"},"originalPriceInDollar":{"type":"integer","format":"int32","description":"Base price of the offer in USD cents. If `pricePointMetadata` is provided and you're using Appcharge's Web Store, its value overrides this one.","example":1499,"uniqueKey":"originalPriceInDollar","typeLabel":"integer\u003cint32>"},"paymentPriceInDollar":{"type":"integer","format":"int32","description":"Base price of the offer in USD cents.","example":999,"uniqueKey":"paymentPriceInDollar","typeLabel":"integer\u003cint32>"},"paymentMethod":{"type":"string","description":"Payment method.","example":"card","uniqueKey":"paymentMethod","typeLabel":"string"},"countryCode2":{"type":"string","description":"Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. Required if `playerIp` is not provided. Example: `US`.","example":"US","uniqueKey":"countryCode2","typeLabel":"string"},"playerIp":{"type":"string","description":"Player IP address in [IPv4](https://en.wikipedia.org/wiki/IPv4) format. Required if `countryCode2` is not provided. Example: `192.0.2.1`.","uniqueKey":"playerIp","typeLabel":"string"},"priceTotalInDollar":{"type":"integer","format":"int32","description":"Price paid including taxes. Converted in real time to USD cents.","example":1148,"uniqueKey":"priceTotalInDollar","typeLabel":"integer\u003cint32>"},"playerEmail":{"type":"string","description":"**Deprecated.** Player's email address.","example":"john.doe@example.com","deprecated":true,"uniqueKey":"playerEmail","typeLabel":"string"},"sessionMetadata":{"type":"string","description":"An object for passing data.","example":{"userId":"12345","level":10},"uniqueKey":"sessionMetadata","typeLabel":"string"},"receiptId":{"type":"string","description":"Receipt ID.","example":"receipt_abc123","uniqueKey":"receiptId","typeLabel":"string"},"estimatedPublisherNetAmount":{"type":"number","format":"float","description":"Estimated Publisher net amount in USD cents.","example":850.5,"uniqueKey":"estimatedPublisherNetAmount","typeLabel":"number\u003cfloat>"},"estimatedAppchargeFee":{"type":"number","format":"float","description":"Estimated Appcharge fee in USD cents.","example":148.5,"uniqueKey":"estimatedAppchargeFee","typeLabel":"number\u003cfloat>"},"pricePointMetadata":{"type":"integer","format":"int32","description":"Base price of the price point in USD cents.","example":999,"uniqueKey":"pricePointMetadata","typeLabel":"integer\u003cint32>"},"createdByIp":{"type":"string","description":"**Deprecated.** IP address in [IPv4](https://en.wikipedia.org/wiki/IPv4) format from which the order was made.","example":"192.168.1.1","deprecated":true,"uniqueKey":"createdByIp","typeLabel":"string"},"zipCode":{"oneOf":[{"type":"string","description":"**Deprecated.** Zip code (US/Canada only).","example":"10001","deprecated":true,"uniqueKey":"zipCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Deprecated.** Zip code (US/Canada only).","example":"10001","deprecated":true,"uniqueKey":"zipCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"zipCode","typeLabel":"string | null"},"awardFlow":{"type":"string","enum":["auto","manual_retry"],"description":"Award flow. Automatic or manual retry via the Publisher Dashboard.","example":"auto","uniqueKey":"awardFlow","typeLabel":"enum\u003cstring>"},"promoCodeName":{"type":"string","description":"Promo code name.","example":"SUMMER2024","uniqueKey":"promoCodeName","typeLabel":"string"},"discount":{"type":"number","format":"float","description":"Discount amount in the currency the order was placed in.","example":100,"uniqueKey":"discount","typeLabel":"number\u003cfloat>"},"discountRatePoints":{"type":"number","description":"Discount rate (percentage).","example":"10","uniqueKey":"discountRatePoints","typeLabel":"number"},"storeMetadata":{"type":"object","description":"Details on offer-related metadata.","properties":{"productsSequenceIndex":{"type":"integer","description":"The index of the offer.","example":1,"uniqueKey":"storeMetadata.productsSequenceIndex","typeLabel":"integer"},"offerType":{"type":"string","description":"Offer type.","enum":["PopUp","Bundle","SpecialOffer","RollingOffer","CheckoutLink"],"uniqueKey":"storeMetadata.offerType","typeLabel":"enum\u003cstring>"},"utms":{"description":"UTM data.","type":"object","properties":{"utmSource":{"type":"string","description":"The source of the traffic (e.g., Facebook).","example":"Facebook","uniqueKey":"storeMetadata.utms.utmSource","typeLabel":"string"},"utmMedium":{"type":"string","description":"The marketing channel used (e.g., email).","example":"email","uniqueKey":"storeMetadata.utms.utmMedium","typeLabel":"string"},"utmCampaign":{"type":"string","description":"The marketing campaign identifier (e.g., spring_sale).","example":"spring_sale","uniqueKey":"storeMetadata.utms.utmCampaign","typeLabel":"string"}},"uniqueKey":"storeMetadata.utms","typeLabel":"object"}},"uniqueKey":"storeMetadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"orderId":"68e25eebdcb1278","purchaseId":"pr_750b85591e1643685718e5443xyz789","appChargePaymentId":"68e25eebd76543210","purchaseDateAndTimeUtc":"2024-07-21T14:17:27.329Z","playerId":"8533676467","bundleName":"Starter Pack","bundleId":"684044555ed01178ed2c0b3b","sku":"starterpack","products":[{"amount":1000,"sku":"prod22224448763533","name":"Gold Coins"}],"priceInDollar":999,"priceInCents":999,"subTotal":850,"tax":149,"taxRate":17.5,"taxInDollar":149,"currency":"USD","currencyExchangeCost":0,"action":"purchase","actionStatus":"completed","originalPriceInDollar":1499,"paymentPriceInDollar":999,"paymentMethod":"card","countryCode2":"US","playerIp":"\u003cstring>","priceTotalInDollar":1148,"playerEmail":"john.doe@example.com","sessionMetadata":{"userId":"12345","level":10},"receiptId":"receipt_abc123","estimatedPublisherNetAmount":850.5,"estimatedAppchargeFee":148.5,"pricePointMetadata":999,"createdByIp":"192.168.1.1","zipCode":"10001","awardFlow":"auto","promoCodeName":"SUMMER2024","discount":100,"discountRatePoints":"10","storeMetadata":{"productsSequenceIndex":1,"utms":{"utmSource":"Facebook","utmMedium":"email","utmCampaign":"spring_sale"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b692a2b9-82e1-4fb6-9902-3b6ae0cb3288":{"description":"Successfully granted award to customer.","content":{"application/json":{"schema":{"type":"object","required":["publisherPurchaseId"],"properties":{"publisherPurchaseId":{"type":"string","description":"Publisher purchase ID for this transaction. Return this value after granting the award so Appcharge can confirm fulfillment and pair it with the Appcharge `orderId` for reconciliation. Learn more in [Before you begin](/../../api-reference/checkout/awards/introduction#before-you-begin).","example":"222673459829966773354378","isRequired":true,"uniqueKey":"publisherPurchaseId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"publisherPurchaseId":"222673459829966773354378"}}},"exampleType":"generated"}},"exampleType":"generated"},"e5739914-55a5-4d89-bea4-3b337fac4bcb":{"description":"Award request failed because of a client error. The response body must include `publisherErrorMessage`.","content":{"application/json":{"schema":{"type":"object","required":["publisherErrorMessage"],"example":{"publisherErrorMessage":"Unable to grant the award because the inventory service is unavailable."},"properties":{"publisherErrorMessage":{"type":"string","description":"Explanation of why the award request failed. Required when your endpoint returns a `4XX` or `5XX` response.","example":"Unable to grant the award because the inventory service is unavailable.","isRequired":true,"uniqueKey":"publisherErrorMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"publisherErrorMessage":"Unable to grant the award because the player ID is invalid."},"examples":{"400":{"title":"400","value":{"publisherErrorMessage":"Unable to grant the award because the player ID is invalid."}}},"exampleType":"examples"}},"exampleType":"examples"},"6983abb4-b33b-42f4-98c4-1dfabd570218":{"description":"Award request failed because of a server error. The response body must include `publisherErrorMessage`.","content":{"application/json":{"schema":{"type":"object","required":["publisherErrorMessage"],"example":{"publisherErrorMessage":"Unable to grant the award because the inventory service is unavailable."},"properties":{"publisherErrorMessage":{"type":"string","description":"Explanation of why the award request failed. Required when your endpoint returns a `4XX` or `5XX` response.","example":"Unable to grant the award because the inventory service is unavailable.","isRequired":true,"uniqueKey":"publisherErrorMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"publisherErrorMessage":"Unable to grant the award because the inventory service is unavailable."},"examples":{"500":{"title":"500","value":{"publisherErrorMessage":"Unable to grant the award because the inventory service is unavailable."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{}},"originalFileLocation":"api-reference/checkout/awards/openapi-grant-award.json"},"subdomain":"appcharge","siteName":"Appcharge Documentation","title":"Grant Award Callback - Appcharge Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-13T13:31:57.377Z","originalFileLocation":"api-reference/checkout/awards/grant-award-callback.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=\"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=\"\u0026gt; Note: This is a callback API. Appcharge calls this endpoint on your server when specific events occur. Notifies your system to grant an award to a customer. Appcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid publisherPurchaseId, Appcharge redirects the customer to the success page confirming their purchase. \u0026gt; Warning: The playerEmail, createdByIp, and zipCode properties are deprecated. They will continue to be included in callback payloads for backward compatibility until November 27, 2026, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won\u0026#x27;t be supported or accessible.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Appcharge 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/appcharge/0w9V6Ni8x9HU7P8z/_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/appcharge/0w9V6Ni8x9HU7P8z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/appcharge/0w9V6Ni8x9HU7P8z/_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/appcharge/0w9V6Ni8x9HU7P8z/_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/appcharge/0w9V6Ni8x9HU7P8z/_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/appcharge/0w9V6Ni8x9HU7P8z/_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/appcharge/0w9V6Ni8x9HU7P8z/_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/appcharge/0w9V6Ni8x9HU7P8z/_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/appcharge/0w9V6Ni8x9HU7P8z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Grant Award Callback - Appcharge Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"\u0026gt; Note: This is a callback API. Appcharge calls this endpoint on your server when specific events occur. Notifies your system to grant an award to a customer. Appcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid publisherPurchaseId, Appcharge redirects the customer to the success page confirming their purchase. \u0026gt; Warning: The playerEmail, createdByIp, and zipCode properties are deprecated. They will continue to be included in callback payloads for backward compatibility until November 27, 2026, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won\u0026#x27;t be supported or accessible.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Appcharge Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://appcharge.mintlify.site/_mintlify/api/og/v2?division=Awards\u0026amp;title=Grant+Award+Callback\u0026amp;description=%3E+**Note%3A**+This+is+a+callback+API.+Appcharge+calls+this+endpoint+on+your+server+when+specific+events+occur.%0A%0ANotifies+your+system+to+grant+an+award+to+a+custom\u0026amp;theme=83c8bc8c581ad54d2d8fe6e7\u0026amp;signature=57819e16670caee32f7efeec3a99797d01a78291f6e3ded82d4130bdde898cde\">\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=\"Grant Award Callback - Appcharge Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"\u0026gt; Note: This is a callback API. Appcharge calls this endpoint on your server when specific events occur. Notifies your system to grant an award to a customer. Appcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid publisherPurchaseId, Appcharge redirects the customer to the success page confirming their purchase. \u0026gt; Warning: The playerEmail, createdByIp, and zipCode properties are deprecated. They will continue to be included in callback payloads for backward compatibility until November 27, 2026, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won\u0026#x27;t be supported or accessible.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://appcharge.mintlify.site/_mintlify/api/og/v2?division=Awards\u0026amp;title=Grant+Award+Callback\u0026amp;description=%3E+**Note%3A**+This+is+a+callback+API.+Appcharge+calls+this+endpoint+on+your+server+when+specific+events+occur.%0A%0ANotifies+your+system+to+grant+an+award+to+a+custom\u0026amp;theme=83c8bc8c581ad54d2d8fe6e7\u0026amp;signature=57819e16670caee32f7efeec3a99797d01a78291f6e3ded82d4130bdde898cde\">\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/appcharge/0w9V6Ni8x9HU7P8z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Appcharge Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/checkout/awards/grant-award-callback.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.appcharge.com/#organization\",\"name\":\"Appcharge Documentation\",\"url\":\"https://docs.appcharge.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/appcharge/LP68Z9e4BqjRM7JL/images/c9328f3ecab47b345295f099ba5370fb9f8af9d9b810b5bbaacffe018ae883f9-small-full_logo_black-1.png?fit=max\u0026auto=format\u0026n=LP68Z9e4BqjRM7JL\u0026q=85\u0026s=fa40fc4719da41be52a4031c81431015\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.appcharge.com#website\",\"name\":\"Appcharge Documentation\",\"url\":\"https://docs.appcharge.com\",\"publisher\":{\"@id\":\"https://docs.appcharge.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback#webpage\",\"url\":\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback\",\"name\":\"Grant Award Callback\",\"description\":\"> Note: This is a callback API. Appcharge calls this endpoint on your server when specific events occur. Notifies your system to grant an award to a customer. Appcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid publisherPurchaseId, Appcharge redirects the customer to the success page confirming their purchase. > Warning: The playerEmail, createdByIp, and zipCode properties are deprecated. They will continue to be included in callback payloads for backward compatibility until November 27, 2026, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won't be supported or accessible.\",\"dateModified\":\"2026-10-13T13:31:57.377Z\",\"isPartOf\":{\"@id\":\"https://docs.appcharge.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Checkout\",\"item\":\"https://docs.appcharge.com/api-reference/checkout/checkout-session/create-checkout-session\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Awards\",\"item\":\"https://docs.appcharge.com/api-reference/checkout/awards/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Grant Award Callback\",\"item\":\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback#apireference\",\"headline\":\"Grant Award Callback\",\"name\":\"Grant Award Callback\",\"description\":\"> Note: This is a callback API. Appcharge calls this endpoint on your server when specific events occur. Notifies your system to grant an award to a customer. Appcharge calls this endpoint after a customer payment is finalized or when a free offer is collected. When your server responds with a valid publisherPurchaseId, Appcharge redirects the customer to the success page confirming their purchase. > Warning: The playerEmail, createdByIp, and zipCode properties are deprecated. They will continue to be included in callback payloads for backward compatibility until November 27, 2026, but we recommend removing any logic that reads or stores these values as soon as possible. After this date, these properties will be removed from the payload and won't be supported or accessible.\",\"url\":\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback\",\"mainEntityOfPage\":{\"@id\":\"https://docs.appcharge.com/api-reference/checkout/awards/grant-award-callback#webpage\"},\"dateModified\":\"2026-10-13T13:31:57.377Z\",\"publisher\":{\"@id\":\"https://docs.appcharge.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.appcharge.com#website\"}}]}\u003c/script>","siteName":"Appcharge Documentation","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Appcharge to Publisher Secure Communication","href":"/api-reference/appcharge-publisher-secure-communication"},{"title":"Supported Environments and Limitations","href":"/api-reference/supported-environments-and-limitations"},{"title":"API Versioning Policy","href":"/api-reference/versioning-policy"},{"group":"Sandbox Account","pages":[{"title":"About the Sandbox Account","href":"/api-reference/sandbox-account/about-the-sandbox-account"},{"title":"Sandbox Payment Methods","href":"/api-reference/sandbox-account/payment-methods"}]},{"title":"About Session Metadata","href":"/api-reference/about-session-metadata"}]},{"group":"What's New","pages":[{"title":"Release Notes","href":"/api-reference/whats-new/release-notes"},{"title":"Deprecation Notices","href":"/api-reference/whats-new/deprecation-notices"}]},{"group":"Web Store","pages":[{"group":"Player Authentication","pages":[{"title":"Introduction","href":"/api-reference/webstore/player-authentication/introduction"},{"title":"Authenticate Player Callback","openapi":"openapi-authenticate-player-callback.json POST /{YOUR_AUTHENTICATE_PLAYER_ENDPOINT}","href":"/api-reference/webstore/player-authentication/authenticate-player-callback"},{"title":"Initiate Game Auth Callback","openapi":"openapi-initiate-game-auth-callback.json POST /{YOUR_INITIATE_GAME_AUTH_ENDPOINT}","href":"/api-reference/webstore/player-authentication/initiate-game-auth-callback"}]},{"group":"Offer Components","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/introduction"},{"group":"Offer Designs","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/introduction"},{"group":"Special Offers","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/special-offers/introduction"},{"title":"Create Special Offer Design","openapi":"openapi-special-offer-design.json POST /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/special-offers/create-special-offer-design"},{"title":"Update Special Offer Design","openapi":"openapi-special-offer-design.json PUT /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/special-offers/update-special-offer-design"},{"title":"Delete Special Offer Design","openapi":"openapi-special-offer-design.json DELETE /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/special-offers/delete-special-offer-design"}]},{"group":"Bundles","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/bundles/introduction"},{"title":"Create Bundle Design","openapi":"openapi-bundle-design.json POST /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/bundles/create-bundle-design"},{"title":"Update Bundle Design","openapi":"openapi-bundle-design.json PUT /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/bundles/update-bundle-design"},{"title":"Delete Bundle Design","openapi":"openapi-bundle-design.json DELETE /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/bundles/delete-bundle-design"}]},{"group":"Daily Bonuses","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/daily-bonuses/introduction"},{"title":"Create Daily Bonus Design","openapi":"openapi-daily-bonus-design.json POST /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/daily-bonuses/create-daily-bonus-design"},{"title":"Update Daily Bonus Design","openapi":"openapi-daily-bonus-design.json PUT /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/daily-bonuses/update-daily-bonus-design"},{"title":"Delete Daily Bonus Design","openapi":"openapi-daily-bonus-design.json DELETE /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/daily-bonuses/delete-daily-bonus-design"}]},{"group":"Reward Calendars","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/reward-calendars/introduction"},{"title":"Create Reward Calendar Design","openapi":"openapi-reward-calendar-design.json POST /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/reward-calendars/create-reward-calendar-design"},{"title":"Update Reward Calendar Design","openapi":"openapi-reward-calendar-design.json PUT /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/reward-calendars/update-reward-calendar-design"},{"title":"Delete Reward Calendar Design","openapi":"openapi-reward-calendar-design.json DELETE /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/reward-calendars/delete-reward-calendar-design"}]},{"group":"Triggered Popups","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/introduction"},{"group":"Post Purchase Popups","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/post-purchase-popups/introduction"},{"title":"Create Post Purchase Popup Design","openapi":"openapi-post-purchase-popup-design.json POST /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/post-purchase-popups/create-post-purchase-popup-design"},{"title":"Update Post Purchase Popup Design","openapi":"openapi-post-purchase-popup-design.json PUT /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/post-purchase-popups/update-post-purchase-popup-design"},{"title":"Delete Post Purchase Popup Design","openapi":"openapi-post-purchase-popup-design.json DELETE /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/post-purchase-popups/delete-post-purchase-popup-design"}]},{"group":"Store Refresh Popups","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/store-refresh-popups/introduction"},{"title":"Create Store Refresh Popup Design","openapi":"openapi-store-refresh-popup-design.json POST /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/store-refresh-popups/create-store-refresh-popup-design"},{"title":"Update Store Refresh Popup Design","openapi":"openapi-store-refresh-popup-design.json PUT /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/store-refresh-popups/update-store-refresh-popup-design"},{"title":"Delete Store Refresh Popup Design","openapi":"openapi-store-refresh-popup-design.json DELETE /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/triggered-popups/store-refresh-popups/delete-store-refresh-popup-design"}]}]},{"group":"Rolling Offers","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/rolling-offers/introduction"},{"title":"Create Rolling Offer Design","openapi":"openapi-rolling-offer-design.json POST /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/rolling-offers/create-rolling-offer-design"},{"title":"Update Rolling Offer Design","openapi":"openapi-rolling-offer-design.json PUT /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/rolling-offers/update-rolling-offer-design"},{"title":"Delete Rolling Offer Design","openapi":"openapi-rolling-offer-design.json DELETE /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/rolling-offers/delete-rolling-offer-design"}]},{"group":"Progress Bars","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/offer-designs/progress-bars/introduction"},{"title":"Create Progress Bar Design","openapi":"openapi-progress-bar-design.json POST /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/progress-bars/create-progress-bar-design"},{"title":"Update Progress Bar Design","openapi":"openapi-progress-bar-design.json PUT /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/progress-bars/update-progress-bar-design"},{"title":"Delete Progress Bar Design","openapi":"openapi-progress-bar-design.json DELETE /components/v1/offer-design/{externalId}","href":"/api-reference/webstore/offer-components/offer-designs/progress-bars/delete-progress-bar-design"}]},{"title":"Get All Offer Designs","openapi":"openapi-offer-designs-api.json GET /components/v1/offer-design","href":"/api-reference/webstore/offer-components/offer-designs/get-all-offer-designs"}]},{"group":"Products","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/products/introduction"},{"title":"Create Product","openapi":"openapi-products-api.json POST /components/v1/product","href":"/api-reference/webstore/offer-components/products/create-product"},{"title":"Get Product","openapi":"openapi-products-api.json GET /components/v1/product/{externalId}","href":"/api-reference/webstore/offer-components/products/get-product"},{"title":"Get All Products","openapi":"openapi-products-api.json GET /components/v1/product","href":"/api-reference/webstore/offer-components/products/get-all-products"},{"title":"Update Product","openapi":"openapi-products-api.json PUT /components/v1/product/{externalId}","href":"/api-reference/webstore/offer-components/products/update-product"},{"title":"Delete Product","openapi":"openapi-products-api.json DELETE /components/v1/product/{externalId}","href":"/api-reference/webstore/offer-components/products/delete-product"}]},{"group":"Badges","pages":[{"title":"Introduction","href":"/api-reference/webstore/offer-components/badges/introduction"},{"title":"Create Badge","openapi":"openapi-badges-api.json POST /components/v1/badge","href":"/api-reference/webstore/offer-components/badges/create-badge"},{"title":"Get Badge","openapi":"openapi-badges-api.json GET /components/v1/badge/{externalId}","href":"/api-reference/webstore/offer-components/badges/get-badge"},{"title":"Get All Badges","openapi":"openapi-badges-api.json GET /components/v1/badge","href":"/api-reference/webstore/offer-components/badges/get-all-badges"},{"title":"Update Badge","openapi":"openapi-badges-api.json PUT /components/v1/badge/{externalId}","href":"/api-reference/webstore/offer-components/badges/update-badge"},{"title":"Delete Badge","openapi":"openapi-badges-api.json DELETE /components/v1/badge/{externalId}","href":"/api-reference/webstore/offer-components/badges/delete-badge"}]}]},{"group":"Offers","pages":[{"group":"Offers V1 API","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v1/introduction"},{"title":"Create Offer","openapi":"POST /offering/offer","href":"/api-reference/webstore/offers-v1/create-offer"},{"title":"Update Offer","openapi":"PUT /offering/offer/{offerSKU}","href":"/api-reference/webstore/offers-v1/update-offer"},{"title":"Delete Offer","openapi":"DELETE /offering/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v1/delete-offer"},{"title":"Get Offer","openapi":"POST /offering/offer/get-offers","href":"/api-reference/webstore/offers-v1/get-offer"},{"group":"Rolling Offer V1 API","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v1/rolling-offers/introduction"},{"title":"Create Rolling Offer","openapi":"POST /offering/rolling-offer","href":"/api-reference/webstore/offers-v1/rolling-offers/create-rolling-offer"},{"title":"Update Rolling Offer","openapi":"PUT /offering/rolling-offer/{rollingOfferSKU}","href":"/api-reference/webstore/offers-v1/rolling-offers/update-rolling-offer"}]},{"group":"Popups V1 API","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v1/popups/introduction"},{"title":"Create Post Purchase Popup","openapi":"openapi-post-purchase-popup_v1.json POST /offering/offer/popup","href":"/api-reference/webstore/offers-v1/popups/create-post-purchase-popup"},{"title":"Create Daily Bonus Popup","openapi":"openapi-daily-bonus_v1.json POST /offering/offer/popup","href":"/api-reference/webstore/offers-v1/popups/create-daily-bonus"},{"title":"Update Popup","openapi":"openapi-update-popups_v1.json PUT /offering/offer/popup/{offerSKU}","href":"/api-reference/webstore/offers-v1/popups/update-popups"}]}]},{"group":"Offers V2 API","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/introduction"},{"group":"Special Offers","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/special-offers/introduction"},{"title":"Create Special Offer","openapi":"openapi-special-offers.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/special-offers/create-special-offer"},{"title":"Get Special Offer","openapi":"openapi-special-offers.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/special-offers/get-special-offer"},{"title":"Update Special Offer","openapi":"openapi-special-offers.json PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/special-offers/update-special-offer"},{"title":"Delete Special Offer","openapi":"openapi-special-offers.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/special-offers/delete-special-offer"}]},{"group":"Bundles","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/bundles/introduction"},{"title":"Create Bundle","openapi":"openapi-bundle.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/bundles/create-bundle"},{"title":"Get Bundle","openapi":"openapi-bundle.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/bundles/get-bundle"},{"title":"Update Bundle","openapi":"PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/bundles/update-bundle"},{"title":"Delete Bundle","openapi":"openapi-bundle.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/bundles/delete-bundle"}]},{"group":"Daily Bonuses","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/daily-bonuses/introduction"},{"title":"Create Daily Bonus","openapi":"openapi-daily-bonus.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/daily-bonuses/create-daily-bonus"},{"title":"Get Daily Bonus","openapi":"openapi-daily-bonus.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/daily-bonuses/get-daily-bonus"},{"title":"Update Daily Bonus","openapi":"openapi-daily-bonus.json PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/daily-bonuses/update-daily-bonus"},{"title":"Delete Daily Bonus","openapi":"openapi-daily-bonus.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/daily-bonuses/delete-daily-bonus"}]},{"group":"Reward Calendars","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/reward-calendars/introduction"},{"title":"Create Reward Calendar","openapi":"openapi-reward-calendar.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/reward-calendars/create-reward-calendar"},{"title":"Get Reward Calendar","openapi":"openapi-reward-calendar.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/reward-calendars/get-reward-calendar"},{"title":"Update Reward Calendar","openapi":"openapi-reward-calendar.json PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/reward-calendars/update-reward-calendar"},{"title":"Delete Reward Calendar","openapi":"openapi-reward-calendar.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/reward-calendars/delete-reward-calendar"}]},{"group":"Rolling Offers","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/rolling-offers/introduction"},{"title":"Create Rolling Offer","openapi":"openapi-rolling-offer.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/rolling-offers/create-rolling-offer"},{"title":"Get Rolling Offer","openapi":"openapi-rolling-offer.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/rolling-offers/get-rolling-offer"},{"title":"Update Rolling Offer","openapi":"openapi-rolling-offer.json PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/rolling-offers/update-rolling-offer"},{"title":"Delete Rolling Offer","openapi":"openapi-rolling-offer.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/rolling-offers/delete-rolling-offer"}]},{"group":"Triggered Popups","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/triggered-popups/introduction"},{"group":"Post Purchase Popups","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/triggered-popups/post-purchase-popups/introduction"},{"title":"Create Post Purchase Popup","openapi":"openapi-post-purchase.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/triggered-popups/post-purchase-popups/create-post-purchase-popup"},{"title":"Get Post Purchase Popup","openapi":"openapi-post-purchase.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/triggered-popups/post-purchase-popups/get-post-purchase-popup"},{"title":"Update Post Purchase Popup","openapi":"openapi-post-purchase.json PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/triggered-popups/post-purchase-popups/update-post-purchase-popup"},{"title":"Delete Post Purchase Popup","openapi":"openapi-post-purchase.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/triggered-popups/post-purchase-popups/delete-post-purchase-popup"}]},{"group":"Store Refresh Popups","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/triggered-popups/store-refresh-popups/introduction"},{"title":"Create Store Refresh Popup","openapi":"openapi-store-refresh.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/triggered-popups/store-refresh-popups/create-store-refresh-popup"},{"title":"Get Store Refresh Popup","openapi":"openapi-store-refresh.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/triggered-popups/store-refresh-popups/get-store-refresh-popup"},{"title":"Update Store Refresh Popup","openapi":"openapi-store-refresh.json PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/triggered-popups/store-refresh-popups/update-store-refresh-popup"},{"title":"Delete Store Refresh Popup","openapi":"openapi-store-refresh.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/triggered-popups/store-refresh-popups/delete-store-refresh-popup"}]}]},{"group":"Checkout Link Offers","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/checkout-link-offers/introduction"},{"title":"Create Checkout Link Offer","openapi":"openapi-checkout-links.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/checkout-link-offers/create-checkout-link-offer"},{"title":"Get Checkout Link Offer","openapi":"openapi-checkout-links.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/checkout-link-offers/get-checkout-link-offer"},{"title":"Update Checkout Link Offer","openapi":"openapi-checkout-links.json PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/checkout-link-offers/update-checkout-link-offer"},{"title":"Delete Checkout Link Offer","openapi":"openapi-checkout-links.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/checkout-link-offers/delete-checkout-link-offer"}]},{"group":"Progress Bars","pages":[{"title":"Introduction","href":"/api-reference/webstore/offers-v2/progress-bars/introduction"},{"title":"Create Progress Bar","openapi":"openapi-progress-bar.json POST /v2/offer","href":"/api-reference/webstore/offers-v2/progress-bars/create-progress-bar"},{"title":"Get Progress Bar","openapi":"openapi-progress-bar.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/progress-bars/get-progress-bar"},{"title":"Update Progress Bar","openapi":"openapi-progress-bar.json PUT /v2/offer/${publisherOfferId}","href":"/api-reference/webstore/offers-v2/progress-bars/update-progress-bar"},{"title":"Delete Progress Bar","openapi":"openapi-progress-bar.json DELETE /v2/offer/{publisherOfferId}","href":"/api-reference/webstore/offers-v2/progress-bars/delete-progress-bar"}]},{"title":"Get All Offers","openapi":"openapi-offers-all.json GET /v2/offer","href":"/api-reference/webstore/offers-v2/get-offers"}]}]},{"group":"Web Store Personalization","pages":[{"title":"Introduction","href":"/api-reference/webstore/personalization/introduction"},{"title":"Personalize Web Store Callback","openapi":"openapi-personalize-webstore-callback.json POST /{YOUR_PERSONALIZE_WEBSTORE_ENDPOINT}","href":"/api-reference/webstore/personalization/personalize-webstore-callback"},{"title":"Trigger Web Store Personalization","openapi":"openapi-trigger-webstore-personalization.json POST /refresh-active-players","href":"/api-reference/webstore/personalization/trigger-webstore-personalization"},{"title":"Trigger Web Store Personalization By Player ID","openapi":"openapi-trigger-webstore-personalization-by-player-id.json POST /refresh-specific-active-players","href":"/api-reference/webstore/personalization/trigger-webstore-personalization-by-player-id"}]}]},{"group":"Checkout","pages":[{"group":"Checkout Session","pages":[{"title":"Create Checkout Session API","openapi":"openapi-create-checkout-session.json POST /checkout/v1/session","href":"/api-reference/checkout/checkout-session/create-checkout-session"},{"title":"Cancel Checkout Session","openapi":"openapi-cancel-checkout-session.json POST /checkout/v3/cancel","href":"/api-reference/checkout/checkout-session/cancel-checkout-session"}]},{"group":"Coupons","pages":[{"title":"Introduction","href":"/api-reference/checkout/coupons/introduction"},{"title":"Create Coupon","openapi":"openapi-coupons.json post /coupons/coupon","href":"/api-reference/checkout/coupons/create-coupon"},{"title":"Get Coupon By Name","openapi":"openapi-coupons.json get /coupons/coupon/{couponName}","href":"/api-reference/checkout/coupons/get-coupon-by-name"},{"title":"Update Coupon","openapi":"openapi-coupons.json patch /coupons/coupon/{couponName}","href":"/api-reference/checkout/coupons/update-coupon"},{"title":"Bulk Create Promo Codes","openapi":"openapi-coupons.json post /coupons/coupon/{couponName}/promo-codes","href":"/api-reference/checkout/coupons/bulk-create-promo-codes"},{"title":"Get Promo Code","openapi":"openapi-coupons.json get /coupons/coupon/{couponName}/promo-code/{promoCodeName}","href":"/api-reference/checkout/coupons/get-promo-code"},{"title":"List Promo Codes","openapi":"openapi-coupons.json get /coupons/coupon/{couponName}/promo-codes","href":"/api-reference/checkout/coupons/list-promo-codes"},{"title":"Bulk Set Promo Codes Activation","openapi":"openapi-coupons.json patch /coupons/coupon/{couponName}/promo-codes/set-activation","href":"/api-reference/checkout/coupons/bulk-set-promo-codes-activation"}]},{"group":"Awards","pages":[{"title":"Introduction","description":null,"href":"/api-reference/checkout/awards/introduction"},{"title":"Grant Award Callback","openapi":"openapi-grant-award.json post /{YOUR_GRANT_AWARD_ENDPOINT}","href":"/api-reference/checkout/awards/grant-award-callback"}]},{"group":"Price Localization","pages":[{"title":"Introduction","description":null,"href":"/api-reference/checkout/price-localization/introduction"},{"title":"Price Localization Errors","href":"/api-reference/checkout/price-localization/error-messages"},{"title":"Create Price Point","openapi":"openapi-price-points.json post /v1/price-points","href":"/api-reference/checkout/price-localization/create-price-point"},{"title":"Get Price Point","openapi":"openapi-price-points.json get /v1/price-points/{priceInUsdCents}","href":"/api-reference/checkout/price-localization/get-price-point"},{"title":"Get Price Points for a Country","openapi":"openapi-price-points.json post /v1/price-points/localized/lookup","href":"/api-reference/checkout/price-localization/get-price-points-for-a-country"},{"title":"Get All Price Points","openapi":"openapi-price-points.json get /v1/price-points","href":"/api-reference/checkout/price-localization/get-all-price-points"},{"title":"Update Price Point","openapi":"openapi-price-points.json put /v1/price-points/{priceInUsdCents}","href":"/api-reference/checkout/price-localization/update-price-point"},{"title":"Delete Price Point","openapi":"openapi-price-points.json delete /v1/price-points/{priceInUsdCents}","href":"/api-reference/checkout/price-localization/delete-price-point"}]},{"group":"Refunds","pages":[{"title":"Initiate Refund","openapi":"openapi-initiate-refund.json POST /checkout/api/v1/order/{orderId}/refund","href":"/api-reference/checkout/refunds/initiate-refund"}]},{"group":"Finance and Analytics","pages":[{"title":"Get Transactions","openapi":"openapi-get-transactions.json GET /reporting/financial-data/transactions","href":"/api-reference/checkout/finance-and-analytics/get-transactions"},{"title":"Financial Reporting API","openapi":"openapi-financial-rep.json POST /reporting/reports/orders","href":"/api-reference/checkout/finance-and-analytics/financial-reporting-api"},{"title":"Analytics Reporting API","openapi":"openapi-analytics.json GET /reporting/analytics/stats","href":"/api-reference/checkout/finance-and-analytics/analytics-reporting-api"}]},{"title":"Checkout Webhooks","href":"/api-reference/checkout/checkout-webhooks"}]},{"group":"Game Portal","pages":[{"group":"Content","pages":[{"title":"Introduction","href":"/api-reference/game-portal/content/introduction"},{"title":"Create Content","openapi":"openapi-portal-content.json POST /v1/portal-content","href":"/api-reference/game-portal/content/create-content"},{"title":"Get Content By ID","openapi":"openapi-portal-content.json GET /v1/portal-content/{contentId}","href":"/api-reference/game-portal/content/get-content-by-id"},{"title":"Get All Content","openapi":"openapi-portal-content.json GET /v1/portal-content","href":"/api-reference/game-portal/content/get-content"},{"title":"Get Content Translations","openapi":"openapi-portal-content.json GET /v1/portal-content/{contentId}/translations","href":"/api-reference/game-portal/content/get-content-translations"},{"title":"Upsert Content Translation","openapi":"openapi-portal-content.json PUT /v1/portal-content/{contentId}/translations/{isoCode}","href":"/api-reference/game-portal/content/upsert-content-translation"},{"title":"Update Content","openapi":"openapi-portal-content.json PUT /v1/portal-content/{contentId}","href":"/api-reference/game-portal/content/update-content"},{"title":"Delete Content","openapi":"openapi-portal-content.json DELETE /v1/portal-content/{contentId}","href":"/api-reference/game-portal/content/delete-content"}]}]},{"group":"Media","pages":[{"group":"Assets Library","pages":[{"title":"Introduction","href":"/api-reference/media/assets-library/introduction"},{"title":"Create Asset","openapi":"openapi-assets-api.json POST /components/v1/asset","href":"/api-reference/media/assets-library/create-asset"},{"title":"Get Asset","openapi":"openapi-assets-api.json GET /components/v1/asset/{name}","href":"/api-reference/media/assets-library/get-asset"},{"title":"Get All Assets","openapi":"openapi-assets-api.json GET /components/v1/asset","href":"/api-reference/media/assets-library/get-all-assets"},{"title":"Update Asset","openapi":"openapi-assets-api.json PUT /components/v1/asset/{name}","href":"/api-reference/media/assets-library/update-asset"},{"title":"Delete Asset","openapi":"openapi-assets-api.json DELETE /components/v1/asset/{name}","href":"/api-reference/media/assets-library/delete-asset"}]}]},{"group":"Events Center","pages":[{"group":"Events V2","pages":[{"title":"Introduction","href":"/api-reference/events/v2/introduction"},{"group":"Web Store Events","pages":[{"group":"Login","pages":[{"title":"Web Store Login Displayed","href":"/api-reference/events/v2/webstore/login/webstore_login_displayed"},{"title":"Web Store Login Method Selected","href":"/api-reference/events/v2/webstore/login/webstore_login_method_selected"},{"title":"Web Store Login Completed","href":"/api-reference/events/v2/webstore/login/webstore_login_completed"},{"title":"Web Store Login Canceled","href":"/api-reference/events/v2/webstore/login/webstore_login_canceled"},{"title":"Web Store Displayed","href":"/api-reference/events/v2/webstore/login/webstore_store_displayed"}]},{"group":" Offer","pages":[{"title":"Offers Loaded","href":"/api-reference/events/v2/webstore/offer/offers_loaded"},{"title":"Offers Displayed","href":"/api-reference/events/v2/webstore/offer/offers_displayed"},{"title":"Offer Popup Closed","href":"/api-reference/events/v2/webstore/offer/offer_popup_closed"},{"title":"Progress Bar Points Granted","href":"/api-reference/events/v2/webstore/offer/progress_bar_points_granted"},{"title":"Progress Bar Mission Started","href":"/api-reference/events/v2/webstore/offer/progress_bar_mission_started"},{"title":"Progress Bar Mission Completed","href":"/api-reference/events/v2/webstore/offer/progress_bar_mission_completed"},{"title":"Web Store Approval Request Displayed","href":"/api-reference/events/v2/webstore/offer/approval_request_displayed"},{"title":"Web Store Approval Request Closed","href":"/api-reference/events/v2/webstore/offer/approval_request_closed"},{"title":"Invalid Property Error","href":"/api-reference/events/v2/webstore/invalid_property"}]},{"title":"Personalization Response Error","href":"/api-reference/events/v2/webstore/personalization_response_error"}]},{"group":"Checkout Events","pages":[{"title":"Order Created","href":"/api-reference/events/v2/order/order_created"},{"title":"Payment Resolved","href":"/api-reference/events/v2/order/order_payment_resolved"},{"title":"Order Completed","href":"/api-reference/events/v2/order/order_completed"},{"title":"Order Canceled","href":"/api-reference/events/v2/order/order_canceled"},{"title":"Order Refunded","href":"/api-reference/events/v2/order/order_refunded"},{"title":"Dispute Opened","href":"/api-reference/events/v2/order/order_dispute_opened"},{"title":"Dispute Resolved","href":"/api-reference/events/v2/order/order_dispute_resolved"}]},{"group":"Game Portal Events","pages":[{"group":"Login","pages":[{"title":"Portal Login Displayed","href":"/api-reference/events/v2/portal/login/portal_login_displayed"},{"title":"Portal Login Method Selected","href":"/api-reference/events/v2/portal/login/portal_login_method_selected"},{"title":"Portal Login Completed","href":"/api-reference/events/v2/portal/login/portal_login_completed"},{"title":"Portal Login Canceled","href":"/api-reference/events/v2/portal/login/portal_login_canceled"}]},{"group":"UI","pages":[{"title":"Portal Page Displayed","href":"/api-reference/events/v2/portal/ui/portal_page_displayed"},{"title":"Portal Content Displayed","href":"/api-reference/events/v2/portal/ui/portal_content_displayed"},{"title":"Portal Approval Request Displayed","href":"/api-reference/events/v2/portal/ui/portal_approval_request_displayed"},{"title":"Portal Approval Request Closed","href":"/api-reference/events/v2/portal/ui/portal_approval_request_closed"},{"title":"Portal Footer Clicked","href":"/api-reference/events/v2/portal/ui/portal_footer_clicked"},{"title":"Portal Block Clicked","href":"/api-reference/events/v2/portal/ui/portal_block_clicked"}]}]}]},{"group":"Events V1","pages":[{"title":"Introduction","href":"/api-reference/events/v1/introduction"},{"group":"Login Events","pages":[{"title":"Login Land","href":"/api-reference/events/v1/login/login_land"},{"title":"Login Method Selected","href":"/api-reference/events/v1/login/login_method_selected"},{"title":"Login Resolved","href":"/api-reference/events/v1/login/login_resolved"},{"title":"Login Canceled","href":"/api-reference/events/v1/login/login_canceled"},{"title":"Shop Land","href":"/api-reference/events/v1/login/shop_land"}]},{"group":"Store Interaction Events","pages":[{"title":"Offers Loaded","href":"/api-reference/events/v1/store-interaction/offers_loaded"},{"title":"Offers Shown","href":"/api-reference/events/v1/store-interaction/offers_shown"},{"title":"Approval Request Displayed","href":"/api-reference/events/v1/store-interaction/approval_request_displayed"},{"title":"Approval Request Closed","href":"/api-reference/events/v1/store-interaction/approval_request_closed"}]},{"group":"Error Events","pages":[{"title":"Invalid Property Error","href":"/api-reference/events/v1/error/invalid_property_error"}]},{"group":"Order Events","pages":[{"title":"Order Created","href":"/api-reference/events/v1/order/order_created"},{"title":"Payment Intent Success","href":"/api-reference/events/v1/order/payment_intent_success"},{"title":"Payment Intent Failed","href":"/api-reference/events/v1/order/payment_intent_failed"},{"title":"Order Completed Success","href":"/api-reference/events/v1/order/order_completed_success"},{"title":"Order Completed Failed","href":"/api-reference/events/v1/order/order_completed_failed"},{"title":"Order Cancelled","href":"/api-reference/events/v1/order/order_cancelled"}]},{"group":"Refund and Dispute Events","pages":[{"title":"Order Refunded","href":"/api-reference/events/v1/refund-dispute/order_refunded"},{"title":"Order Dispute Open","href":"/api-reference/events/v1/refund-dispute/order_dispute_open"},{"title":"Order Dispute Won","href":"/api-reference/events/v1/refund-dispute/order_dispute_won"},{"title":"Order Dispute Lost","href":"/api-reference/events/v1/refund-dispute/order_dispute_lost"}]}]}]},{"group":"Translations","pages":[{"title":"Introduction","href":"/api-reference/translations/introduction"},{"title":"Get Translations","openapi":"openapi-translations.json GET /v1/translations","href":"/api-reference/translations/get-translations"},{"title":"Set Translations","openapi":"openapi-translations.json POST /v1/translations","href":"/api-reference/translations/set-translations"}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/introduction"}]},{"tab":"MoR","pages":[{"title":"MoR","href":"/merchant-of-record/finance/supported-regions"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Grant Award Callback - Appcharge Documentation","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}