{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fourthwall Developer Docs","colors":{"primary":"#000000","light":"#4D4D4D","dark":"#000000"},"logo":{"light":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/light.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=44d55b19c2c524eb8e4ee5a9de5c89e7","dark":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/dark.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=6e05cd1920c11af37f6a6c8f6a894ab6"},"favicon":"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/favicon.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=fe14d6128c59ded57a36fe3a5170ffed","api":{"openapi":["openapi/platform.json","openapi/storefront.json","openapi/membership.json","openapi/channel-api.json"],"playground":{"display":"interactive"},"examples":{"prefill":true}},"navbar":{"links":[{"href":"mailto:support@fourthwall.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://my-shop.fourthwall.com/admin/dashboard?redirect"}},"footer":{"socials":{"x":"https://x.com/fourthwall","github":"https://github.com/FourthwallHQ","discord":"https://discord.com/invite/kc6P68z3Uz"}},"integrations":{"gtm":{"tagId":"GTM-W4JTQQ9"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Fourthwall","icon":"globe","href":"https://fourthwall.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/kc6P68z3Uz"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fourthwall","hasAudioNarration":false,"actualSubdomain":"fourthwall","customDomains":["docs.fourthwall.com"],"gitSource":{"type":"github","owner":"fourthwallhq","repo":"fourthwall-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af0b142a010522439eaf7d4","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Platform API","count":79},{"language":"default","tag":"Guides","count":57},{"language":"default","tag":"Memberships API","count":34},{"language":"default","tag":"Webhook Events","count":21},{"language":"default","tag":"Webhooks","count":16},{"language":"default","tag":"Posts","count":15},{"language":"default","tag":"HTML Sections","count":14},{"language":"default","tag":"Channel API","count":10},{"language":"default","tag":"Collections","count":10},{"language":"default","tag":"Products","count":10}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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/order-events/donation","slug":"/api-reference/order-events/donation","pageMetadata":{"title":"Donation","description":"Fired when a new donation is received.","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook DONATION","href":"/api-reference/order-events/donation","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Fired when a new donation is received.\"\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":{"config":{},"pageMetadata":{"title":"Donation","description":"Fired when a new donation is received.","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook DONATION","href":"/api-reference/order-events/donation","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Order Events"],"summary":"Donation","description":"Fired when a new donation is received.","operationId":"webhook-donation","requestBody":"50bf19f6-9275-4f9f-b8a3-364702014ee5","responses":{"200":"ac5f6cbf-60c1-462b-be3e-fdf38d5c6406"},"method":"post","type":"webhook","servers":["e4bf77bb-e587-4d84-a6ea-ebac5ee49d6c"],"security":[],"path":"DONATION","baseUrlOptions":["https://api.fourthwall.com"],"title":"Donation","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"language":"json","filename":"Example","code":"{\n \"id\": \"00aa4abd-5778-4199-8161-0b49b2f212e5\",\n \"webhookId\": \"00aa4abd-5778-4199-8161-0b49b2f212e5\",\n \"shopId\": \"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb\",\n \"type\": \"DONATION\",\n \"apiVersion\": \"V1\",\n \"createdAt\": \"2020-08-13T09:05:36.939+00:00\",\n \"testMode\": false,\n \"data\": {\n \"id\": \"don_Kpcjx4HIQ1e4bTIOjX9CsA\",\n \"shopId\": \"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb\",\n \"email\": \"supporter@fourthwall.com\",\n \"amounts\": {\n \"total\": {\n \"value\": 10,\n \"currency\": \"USD\"\n }\n },\n \"createdAt\": \"2020-08-13T09:05:36.939Z\",\n \"updatedAt\": \"2020-08-13T09:05:36.939Z\",\n \"username\": \"Johnny123\",\n \"message\": \"Sample message\"\n }\n}"}],"requestExampleType":"webhook","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.id":"00aa4abd-5778-4199-8161-0b49b2f212e5","body.webhookId":"00aa4abd-5778-4199-8161-0b49b2f212e5","body.shopId":"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb","body.type":"DONATION","body.apiVersion":"V1","body.createdAt":"2020-08-13T09:05:36.939+00:00","body.testMode":false,"body.data.id":"don_Kpcjx4HIQ1e4bTIOjX9CsA","body.data.shopId":"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb","body.data.email":"supporter@fourthwall.com","body.data.amounts.total.value":10,"body.data.amounts.total.currency":"USD","body.data.createdAt":"2020-08-13T09:05:36.939Z","body.data.updatedAt":"2020-08-13T09:05:36.939Z","body.data.username":"Johnny123","body.data.message":"Sample message"}]},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for this webhook event","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"webhookId":{"type":"string","description":"ID of the webhook configuration that triggered this event","example":"00aa4abd-5778-4199-8161-0b49b2f212e5","isRequired":true,"uniqueKey":"webhookId","typeLabel":"string"},"shopId":{"type":"string","description":"ID of the shop that generated this event","example":"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb","isRequired":true,"uniqueKey":"shopId","typeLabel":"string"},"type":{"type":"string","description":"The event type","example":"DONATION","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"apiVersion":{"type":"string","description":"API version of the webhook payload","example":"V1","isRequired":true,"uniqueKey":"apiVersion","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","description":"When this event was created","example":"2020-08-13T09:05:36.939+00:00","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"testMode":{"description":"Whether this event was sent in test mode","example":false,"isRequired":true,"uniqueKey":"testMode","typeLabel":"any"},"data":{"type":"object","properties":{"id":{"type":"string","example":"don_Kpcjx4HIQ1e4bTIOjX9CsA","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"shopId":{"type":"string","example":"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb","isRequired":true,"uniqueKey":"data.shopId","typeLabel":"string"},"status":{"type":"string","enum":["OPEN","COMPLETED","ABANDONED","CANCELLED","FAILED"],"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"email":{"type":"string","example":"supporter@fourthwall.com","isRequired":true,"uniqueKey":"data.email","typeLabel":"string"},"amounts":{"type":"object","properties":{"total":{"type":"object","properties":{"value":{"type":"number","example":10,"minimum":0,"isRequired":true,"uniqueKey":"data.amounts.total.value","typeLabel":"number"},"currency":{"type":"string","example":"USD","isRequired":true,"uniqueKey":"data.amounts.total.currency","typeLabel":"string"}},"required":["currency","value"],"title":"Money","isRequired":true,"uniqueKey":"data.amounts.total","typeLabel":"Money · object"}},"required":["total"],"title":"Amounts","isRequired":true,"uniqueKey":"data.amounts","typeLabel":"Amounts · object"},"createdAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","example":"2020-08-13T09:05:36.939Z","isRequired":true,"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"username":{"type":"string","example":"Johnny123","uniqueKey":"data.username","typeLabel":"string"},"message":{"type":"string","example":"Sample message","uniqueKey":"data.message","typeLabel":"string"}},"required":["amounts","createdAt","email","id","shopId","status","updatedAt"],"title":"Donation","isRequired":true,"uniqueKey":"data","typeLabel":"Donation · object"}},"required":["apiVersion","createdAt","data","id","shopId","testMode","type","webhookId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"00aa4abd-5778-4199-8161-0b49b2f212e5","webhookId":"00aa4abd-5778-4199-8161-0b49b2f212e5","shopId":"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb","type":"DONATION","apiVersion":"V1","createdAt":"2020-08-13T09:05:36.939+00:00","testMode":false,"data":{"id":"don_Kpcjx4HIQ1e4bTIOjX9CsA","shopId":"sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb","email":"supporter@fourthwall.com","amounts":{"total":{"value":10,"currency":"USD"}},"createdAt":"2020-08-13T09:05:36.939Z","updatedAt":"2020-08-13T09:05:36.939Z","username":"Johnny123","message":"Sample message"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"ac5f6cbf-60c1-462b-be3e-fdf38d5c6406":{"description":"Event received successfully","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{"e4bf77bb-e587-4d84-a6ea-ebac5ee49d6c":{"url":"https://api.fourthwall.com","description":"Production server"}}},"originalFileLocation":"openapi/platform.json"},"subdomain":"fourthwall","siteName":"Fourthwall Developer Docs","title":"Donation - Fourthwall Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-08T16:41:20.747Z","originalFileLocation":"api-reference/order-events/donation.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=\"system\"}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=\"Fired when a new donation is received.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Donation - Fourthwall Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fired when a new donation is received.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fourthwall.com/api-reference/order-events/donation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fourthwall.mintlify.site/_mintlify/api/og/v2?division=Webhook+Events\u0026amp;title=Donation\u0026amp;description=Fired+when+a+new+donation+is+received.\u0026amp;theme=8cdf96ad8403fabe9e5e041f\u0026amp;signature=a0ecabad50cb2b855732e560e3954886ab90881361892ca0635f91c92d833450\">\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=\"Donation - Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fired when a new donation is received.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fourthwall.mintlify.site/_mintlify/api/og/v2?division=Webhook+Events\u0026amp;title=Donation\u0026amp;description=Fired+when+a+new+donation+is+received.\u0026amp;theme=8cdf96ad8403fabe9e5e041f\u0026amp;signature=a0ecabad50cb2b855732e560e3954886ab90881361892ca0635f91c92d833450\">\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/fourthwall/t-Pr9lNT9Pm8i5rs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fourthwall Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fourthwall.com/api-reference/order-events/donation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/order-events/donation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fourthwall.com/#organization\",\"name\":\"Fourthwall Developer Docs\",\"url\":\"https://docs.fourthwall.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fourthwall/ll6NfYA7kbBxufP4/logo/light.svg?fit=max\u0026auto=format\u0026n=ll6NfYA7kbBxufP4\u0026q=85\u0026s=44d55b19c2c524eb8e4ee5a9de5c89e7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fourthwall.com#website\",\"name\":\"Fourthwall Developer Docs\",\"url\":\"https://docs.fourthwall.com\",\"publisher\":{\"@id\":\"https://docs.fourthwall.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fourthwall.com/api-reference/order-events/donation#webpage\",\"url\":\"https://docs.fourthwall.com/api-reference/order-events/donation\",\"name\":\"Donation\",\"description\":\"Fired when a new donation is received.\",\"dateModified\":\"2026-11-08T16:41:20.747Z\",\"isPartOf\":{\"@id\":\"https://docs.fourthwall.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fourthwall.com/api-reference/order-events/donation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fourthwall.com/api-reference/order-events/donation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhook Events\",\"item\":\"https://docs.fourthwall.com/api-reference/order-events/order-placed\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Donation\",\"item\":\"https://docs.fourthwall.com/api-reference/order-events/donation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fourthwall.com/api-reference/order-events/donation#apireference\",\"headline\":\"Donation\",\"name\":\"Donation\",\"description\":\"Fired when a new donation is received.\",\"url\":\"https://docs.fourthwall.com/api-reference/order-events/donation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fourthwall.com/api-reference/order-events/donation#webpage\"},\"dateModified\":\"2026-11-08T16:41:20.747Z\",\"publisher\":{\"@id\":\"https://docs.fourthwall.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fourthwall.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fourthwall Developer Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Fourthwall Developer Docs","nav":{"global":{"anchors":[{"anchor":"Fourthwall","icon":"globe","href":"https://fourthwall.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/kc6P68z3Uz"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Platform API","groups":[{"group":"Shop","pages":[{"title":"Get Current Shop","openapi":"openapi/platform.json GET /open-api/v1.0/shops/current","href":"/api-reference/platform/shop/get-current-shop"},{"title":"Get Shop Contact Info","openapi":"openapi/platform.json GET /open-api/v1.0/shops/current/contact-info","href":"/api-reference/platform/shop/get-shop-contact-info"},{"title":"Get or Create Public Token","openapi":"openapi/platform.json PUT /open-api/v1.0/public-token","href":"/api-reference/platform/shop/get-public-token"}]},{"group":"Products","pages":[{"title":"List Products","openapi":"openapi/platform.json GET /open-api/v1.0/products","href":"/api-reference/platform/products/list-products"},{"title":"Create a product","openapi":"openapi/platform.json POST /open-api/v1.0/products","href":"/api-reference/platform/products/create-product"},{"title":"Get Product","openapi":"openapi/platform.json GET /open-api/v1.0/products/{productId}","href":"/api-reference/platform/products/get-product"},{"title":"Get Product Inventory","openapi":"openapi/platform.json GET /open-api/v1.0/products/{productId}/inventory","href":"/api-reference/platform/products/get-product-inventory"},{"title":"Update Product Availability","openapi":"openapi/platform.json PUT /open-api/v1.0/products/{productId}/availability","href":"/api-reference/platform/products/update-product-availability"},{"title":"Update product (offer) lifecycle state","openapi":"openapi/platform.json PUT /open-api/v1.0/products/{productId}/state","href":"/api-reference/platform/products-(offers)/update-product-state"},{"title":"Archive a product (offer)","openapi":"openapi/platform.json DELETE /open-api/v1.0/products/{productId}","href":"/api-reference/platform/products-(offers)/archive-product"}]},{"group":"Product Templates","pages":[{"title":"List product templates (specific page)","openapi":"openapi/platform.json GET /open-api/v1.0/product-templates/page/{page}","href":"/api-reference/platform/product-templates/list-product-templates-paged"},{"title":"Get product template details","openapi":"openapi/platform.json GET /open-api/v1.0/product-templates/{productId}","href":"/api-reference/platform/product-templates/get-product-template"}]},{"group":"Customization","pages":[{"title":"Create a new customization","openapi":"openapi/platform.json POST /open-api/v1.0/customizations","href":"/api-reference/platform/customization/create-customization"}]},{"group":"Media library","pages":[{"title":"List media library images","openapi":"openapi/platform.json GET /open-api/v1.0/media/images","href":"/api-reference/platform/media-library/list-media-images"},{"title":"Request a pre-signed upload URL","openapi":"openapi/platform.json POST /open-api/v1.0/media/upload-url","href":"/api-reference/platform/media-library/request-media-upload-url"},{"title":"Save an uploaded image to the media library","openapi":"openapi/platform.json POST /open-api/v1.0/media/images","href":"/api-reference/platform/media-library/save-media-image"}]},{"group":"Orders","pages":[{"title":"List Orders","openapi":"openapi/platform.json GET /open-api/v1.0/order","href":"/api-reference/platform/orders/list-orders"},{"title":"Get Order","openapi":"openapi/platform.json GET /open-api/v1.0/order/{orderId}","href":"/api-reference/platform/orders/get-order"},{"title":"Get Order by Friendly ID","openapi":"openapi/platform.json GET /open-api/v1.0/order/by-friendly-id/{friendlyId}","href":"/api-reference/platform/orders/get-order-by-friendly-id"},{"title":"Mark Digital Download Complete","openapi":"openapi/platform.json PUT /open-api/v1.0/order/{orderId}/downloaded","href":"/api-reference/platform/orders/mark-download-complete"},{"title":"Mark Digital Download Complete by Friendly ID","openapi":"openapi/platform.json PUT /open-api/v1.0/order/by-friendly-id/{friendlyId}/downloaded","href":"/api-reference/platform/orders/mark-download-complete-by-friendly-id"}]},{"group":"Fulfillment","pages":[{"title":"Create Fulfillment","openapi":"openapi/platform.json POST /open-api/v1.0/fulfillments","href":"/api-reference/platform/fulfillment/create-fulfillment"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","openapi":"openapi/platform.json GET /open-api/v1.0/webhooks","href":"/api-reference/platform/webhooks/list-webhooks"},{"title":"Create Webhook","openapi":"openapi/platform.json POST /open-api/v1.0/webhooks","href":"/api-reference/platform/webhooks/create-webhook"},{"title":"Get Webhook","openapi":"openapi/platform.json GET /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/get-webhook"},{"title":"Update Webhook","openapi":"openapi/platform.json PUT /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/update-webhook"},{"title":"Delete Webhook","openapi":"openapi/platform.json DELETE /open-api/v1.0/webhooks/{webhookConfigurationId}","href":"/api-reference/platform/webhooks/delete-webhook"},{"title":"List Webhook Events","openapi":"openapi/platform.json GET /open-api/v1.0/webhook-events","href":"/api-reference/platform/webhooks/list-webhook-events"},{"title":"Get Webhook Event","openapi":"openapi/platform.json GET /open-api/v1.0/webhook-events/{webhookEventId}","href":"/api-reference/platform/webhooks/get-webhook-event"}]},{"group":"Promotions","pages":[{"title":"List Promotions","openapi":"openapi/platform.json GET /open-api/v1.0/promotions","href":"/api-reference/platform/promotions/list-promotions"},{"title":"Create Promotion","openapi":"openapi/platform.json POST /open-api/v1.0/promotions","href":"/api-reference/platform/promotions/create-promotion"},{"title":"Get Promotion","openapi":"openapi/platform.json GET /open-api/v1.0/promotions/{promotionId}","href":"/api-reference/platform/promotions/get-promotion"}]},{"group":"Memberships","pages":[{"title":"List Membership Tiers","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/tiers","href":"/api-reference/platform/memberships/list-tiers"},{"title":"List Members","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/members","href":"/api-reference/platform/memberships/list-members"},{"title":"Get Member","openapi":"openapi/platform.json GET /open-api/v1.0/memberships/members/{id}","href":"/api-reference/platform/memberships/get-member"}]},{"group":"Donations","pages":[{"title":"List Donations","openapi":"openapi/platform.json GET /open-api/v1.0/donations","href":"/api-reference/platform/donations/list-donations"},{"title":"Get Donation","openapi":"openapi/platform.json GET /open-api/v1.0/donations/{donationId}","href":"/api-reference/platform/donations/get-donation"}]},{"group":"Mailing Lists","pages":[{"title":"List Mailing List Entries","openapi":"openapi/platform.json GET /open-api/v1.0/mailing-list-entries","href":"/api-reference/platform/mailing-lists/list-entries"}]},{"group":"Streaming","pages":[{"title":"Get Streaming Status","openapi":"openapi/platform.json GET /open-api/v1.0/streaming","href":"/api-reference/platform/streaming/get-streaming-status"},{"title":"Start Streaming","openapi":"openapi/platform.json PUT /open-api/v1.0/streaming/start","href":"/api-reference/platform/streaming/start-streaming"},{"title":"End Streaming","openapi":"openapi/platform.json PUT /open-api/v1.0/streaming/end","href":"/api-reference/platform/streaming/end-streaming"}]},{"group":"Gifting","pages":[{"title":"Get Draw","openapi":"openapi/platform.json GET /open-api/v1.0/gifting/draw/{id}","href":"/api-reference/platform/gifting/get-draw"},{"title":"Finish Draw","openapi":"openapi/platform.json PUT /open-api/v1.0/gifting/draw/{id}/finish","href":"/api-reference/platform/gifting/finish-draw"},{"title":"Get Gift Purchase","openapi":"openapi/platform.json GET /open-api/v1.0/gift-purchase/{giftPurchaseId}","href":"/api-reference/platform/gift-purchases/get-gift-purchase"}]},{"group":"Giveaway Links","pages":[{"title":"List Giveaway Packages","openapi":"openapi/platform.json GET /open-api/v1.0/giveaway-links/packages","href":"/api-reference/platform/giveaway-links/list-packages"},{"title":"Get Giveaway Package","openapi":"openapi/platform.json GET /open-api/v1.0/giveaway-links/packages/{packageId}","href":"/api-reference/platform/giveaway-links/get-package"},{"title":"Create Giveaway Links","openapi":"openapi/platform.json POST /open-api/v1.0/giveaway-links","href":"/api-reference/platform/giveaway-links/create-giveaway-links"}]},{"group":"Collections","pages":[{"title":"List Collections","openapi":"openapi/platform.json GET /open-api/v1.0/collections","href":"/api-reference/platform/collections/list-collections"},{"title":"Create a new collection","openapi":"openapi/platform.json POST /open-api/v1.0/collections","href":"/api-reference/platform/collections/create-collection"},{"title":"Get collection by ID or slug","openapi":"openapi/platform.json GET /open-api/v1.0/collections/{collectionIdOrSlug}","href":"/api-reference/platform/collections/get-collection"},{"title":"Get products in a collection","openapi":"openapi/platform.json GET /open-api/v1.0/collections/{collectionId}/products","href":"/api-reference/platform/collections/get-collection-products"},{"title":"Update a collection","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}","href":"/api-reference/platform/collections/update-collection"},{"title":"Update collection availability","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}/availability","href":"/api-reference/platform/collections/update-collection-availability"},{"title":"Set collection products","openapi":"openapi/platform.json PUT /open-api/v1.0/collections/{collectionId}/products","href":"/api-reference/platform/collections/update-collection-products"}]},{"group":"Thank Yous","pages":[{"title":"Get Thank You","openapi":"openapi/platform.json GET /open-api/v1.0/thank-yous/{thankYouId}","href":"/api-reference/platform/thank-yous/get-thank-you"},{"title":"List Contributions Awaiting Thank You","openapi":"openapi/platform.json GET /open-api/v1.0/thank-you-contributions","href":"/api-reference/platform/thank-yous/list-contributions"},{"title":"Create Thank You","openapi":"openapi/platform.json POST /open-api/v1.0/thank-you-contributions/{id}","href":"/api-reference/platform/thank-yous/create-thank-you"}]},{"group":"Platform Token","pages":[{"title":"Exchange Token","openapi":"openapi/platform.json POST /open-api/v1.0/platform/token","href":"/api-reference/platform/platform-token/exchange-token"}]},{"group":"Webhook Events","pages":[{"title":"Order placed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook ORDER_PLACED","href":"/api-reference/order-events/order-placed"},{"title":"Order updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook ORDER_UPDATED","href":"/api-reference/order-events/order-updated"},{"title":"Gift purchase","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_PURCHASE","href":"/api-reference/order-events/gift-purchase"},{"title":"Product created","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PRODUCT_CREATED","href":"/api-reference/product-events/product-created"},{"title":"Product updated","description":"Fired when a product is updated.","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PRODUCT_UPDATED","href":"/api-reference/product-events/product-updated"},{"title":"Donation","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook DONATION","href":"/api-reference/order-events/donation"},{"title":"Subscription purchased","description":"Fired when a new membership subscription is purchased.","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_PURCHASED","href":"/api-reference/membership-events/subscription-purchased"},{"title":"Subscription expired","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_EXPIRED","href":"/api-reference/membership-events/subscription-expired"},{"title":"Subscription changed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook SUBSCRIPTION_CHANGED","href":"/api-reference/membership-events/subscription-changed"},{"title":"Newsletter subscribed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook NEWSLETTER_SUBSCRIBED","href":"/api-reference/newsletter-events/newsletter-subscribed"},{"title":"Thank you sent","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook THANK_YOU_SENT","href":"/api-reference/thank-you-events/thank-you-sent"},{"title":"Gift draw started","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_DRAW_STARTED","href":"/api-reference/giveaway-events/gift-draw-started"},{"title":"Gift draw ended","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook GIFT_DRAW_ENDED","href":"/api-reference/giveaway-events/gift-draw-ended"},{"title":"Promotion created","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_CREATED","href":"/api-reference/promotion-events/promotion-created"},{"title":"Promotion updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_UPDATED","href":"/api-reference/promotion-events/promotion-updated"},{"title":"Promotion status changed","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PROMOTION_STATUS_CHANGED","href":"/api-reference/promotion-events/promotion-status-changed"},{"title":"Platform app disconnected","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook PLATFORM_APP_DISCONNECTED","href":"/api-reference/platform-events/platform-app-disconnected"},{"title":"Collection updated","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook COLLECTION_UPDATED","href":"/api-reference/collection-events/collection-updated"},{"title":"Cart abandoned 1 hour","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_1H","href":"/api-reference/cart-events/cart-abandoned-1-hour"},{"title":"Cart abandoned 24 hours","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_24H","href":"/api-reference/cart-events/cart-abandoned-24-hours"},{"title":"Cart abandoned 72 hours","version":null,"deprecated":null,"openapi":"/openapi/platform.json webhook CART_ABANDONED_72H","href":"/api-reference/cart-events/cart-abandoned-72-hours"}]}]},{"tab":"Storefront API","pages":[{"title":"Storefront API","href":"/api-reference/storefront/shop/get-shop"}]},{"tab":"Memberships API","hidden":false,"pages":[{"title":"Memberships API","href":"/api-reference/membership/getting-started-images"}]},{"tab":"Channel API","pages":[{"title":"Channel API","href":"/channel-api/authentication"}]}]},"basePath":"","title":"Donation - Fourthwall Developer Docs","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}