Starts a donation against a campaign and returns the checkout link for the donor. Send them to that address; they pay on the payment provider’s own page (Paystack, Stripe or Flutterwave, whichever the chapter has set up) and the payment is confirmed automatically a moment later.Card details never pass through this API, and you never handle them.Required scope:fundraising:write
You get back a checkout_url and a transaction_id. The donation is recorded as pending.
The donor opens the link and pays. If you sent a redirect_url, they land back there afterwards.
The payment provider confirms the payment to Transparency Hub, the donation turns paid, and it shows up in the campaign in the app.
Check on it any time with GET /v1/transactions/{transaction_id}, or list a campaign’s giving with List Campaign Payments (GET /v1/fundraising/campaigns/{campaign_id}/payments).
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Transparency Hub Network","colors":{"primary":"#006699","light":"#3399CC","dark":"#004D73"},"favicon":"https://mintcdn.com/transparencyhubnetwork/6pI7fCXnEFY-8F9d/favicon.png?fit=max\u0026auto=format\u0026n=6pI7fCXnEFY-8F9d\u0026q=85\u0026s=4f57b7b0153fac3a72cc51e970148c89","logo":{"light":"https://mintcdn.com/transparencyhubnetwork/6pI7fCXnEFY-8F9d/logo/light.png?fit=max\u0026auto=format\u0026n=6pI7fCXnEFY-8F9d\u0026q=85\u0026s=4feed52686f2d8a3dc7aef077520304e","dark":"https://mintcdn.com/transparencyhubnetwork/6pI7fCXnEFY-8F9d/logo/dark.png?fit=max\u0026auto=format\u0026n=6pI7fCXnEFY-8F9d\u0026q=85\u0026s=9cdabb8a0d3e8f68bb10975182f5835c"},"api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"},"mdx":{"server":["https://api.transparencyhubnetwork.ai/api","https://testapi.transparencyhubnetwork.ai/api"],"auth":{"method":"key","name":"X-API-Key"}}},"navbar":{"links":[{"label":"Support","href":"mailto:support@transparencyhubnetwork.ai"}],"primary":{"type":"button","label":"Get Started","href":"https://transparencyhubnetwork.ai/#signup"}},"footer":{"socials":{"website":"https://transparencyhubnetwork.ai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"transparencyhubnetwork","hasAudioNarration":false,"actualSubdomain":"transparencyhubnetwork","customDomains":["docs.transparencyhubnetwork.ai"],"gitSource":{"type":"github","owner":"transparency-hub","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adc8f35504201768b1c80ba","collectionId":"8c4d0995-d408-45d9-bd5b-8c32d1227053","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adc8f35504201768b1c80ba"},"entitlements":{},"buildId":"6ae7c427a37185f6d62695be","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Documentation","count":142},{"language":"default","tag":"API Reference","count":90},{"language":"default","tag":"Chapter tools","count":14},{"language":"default","tag":"Projects","count":12},{"language":"default","tag":"Community","count":8},{"language":"default","tag":"Admin settings and workflow","count":7},{"language":"default","tag":"Tasks \u0026 Contacts","count":7},{"language":"default","tag":"Drive","count":6},{"language":"default","tag":"Meetings","count":6},{"language":"default","tag":"Applications","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"vite-origin","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":"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/fundraising/donations","slug":"/api-reference/fundraising/donations","pageMetadata":{"title":"Start a Donation","openapi":"POST /v1/fundraising/campaigns/{campaign_id}/donations","description":"Create a donation and get the payment link to send the donor.","href":"/api-reference/fundraising/donations"},"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: \"Create a donation and get the payment link to send the donor.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Starts a donation against a campaign and returns the `,_jsx(_components.strong,{children:`checkout link`}),` for the donor. Send them to that address; they pay on the payment provider’s own page (Paystack, Stripe or Flutterwave, whichever the chapter has set up) and the payment is confirmed automatically a moment later.`]}),`\n`,_jsx(_components.p,{children:`Card details never pass through this API, and you never handle them.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required scope:`}),` `,_jsx(_components.code,{children:`fundraising:write`})]}),`\n`,_jsx(Heading,{level:`3`,id:`what-happens-after-you-call-it`,children:`What happens after you call it`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`You get back a `,_jsx(_components.code,{children:`checkout_url`}),` and a `,_jsx(_components.code,{children:`transaction_id`}),`. The donation is recorded as `,_jsx(_components.strong,{children:`pending`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The donor opens the link and pays. If you sent a `,_jsx(_components.code,{children:`redirect_url`}),`, they land back there afterwards.`]}),`\n`,_jsxs(_components.li,{children:[`The payment provider confirms the payment to Transparency Hub, the donation turns `,_jsx(_components.strong,{children:`paid`}),`, and it shows up in the campaign in the app.`]}),`\n`,_jsxs(_components.li,{children:[`Check on it any time with `,_jsx(_components.code,{children:`GET /v1/transactions/{transaction_id}`}),`, or list a campaign’s giving with `,_jsx(_components.strong,{children:`List Campaign Payments`}),` (`,_jsx(_components.code,{children:`GET /v1/fundraising/campaigns/{campaign_id}/payments`}),`).`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`things-worth-knowing`,children:`Things worth knowing`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`amount`}),` is in normal money units — `,_jsx(_components.code,{children:`150`}),` means 150.00 — and must be at least 1. The currency defaults to the campaign’s.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`cover_fees: true`}),` adds the provider’s fee on top, so the campaign receives the full amount.`]}),`\n`,_jsxs(_components.li,{children:[`The chapter must have finished setting up a payment method; if it has not, you get `,_jsx(_components.code,{children:`409`}),` with a message saying so.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`payment_gateway_id`}),` is only needed when a chapter has more than one method set up and you want a particular one.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Start a Donation","openapi":"POST /v1/fundraising/campaigns/{campaign_id}/donations","description":"Create a donation and get the payment link to send the donor.","href":"/api-reference/fundraising/donations"}}},"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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Starts a donation against a campaign and returns the `,_jsx(_components.strong,{children:`checkout link`}),` for the donor. Send them to that address; they pay on the payment provider’s own page (Paystack, Stripe or Flutterwave, whichever the chapter has set up) and the payment is confirmed automatically a moment later.`]}),`\n`,_jsx(_components.p,{children:`Card details never pass through this API, and you never handle them.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required scope:`}),` `,_jsx(_components.code,{children:`fundraising:write`})]}),`\n`,_jsx(Heading,{level:`3`,id:`what-happens-after-you-call-it`,children:`What happens after you call it`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`You get back a `,_jsx(_components.code,{children:`checkout_url`}),` and a `,_jsx(_components.code,{children:`transaction_id`}),`. The donation is recorded as `,_jsx(_components.strong,{children:`pending`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The donor opens the link and pays. If you sent a `,_jsx(_components.code,{children:`redirect_url`}),`, they land back there afterwards.`]}),`\n`,_jsxs(_components.li,{children:[`The payment provider confirms the payment to Transparency Hub, the donation turns `,_jsx(_components.strong,{children:`paid`}),`, and it shows up in the campaign in the app.`]}),`\n`,_jsxs(_components.li,{children:[`Check on it any time with `,_jsx(_components.code,{children:`GET /v1/transactions/{transaction_id}`}),`, or list a campaign’s giving with `,_jsx(_components.strong,{children:`List Campaign Payments`}),` (`,_jsx(_components.code,{children:`GET /v1/fundraising/campaigns/{campaign_id}/payments`}),`).`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`things-worth-knowing`,children:`Things worth knowing`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`amount`}),` is in normal money units — `,_jsx(_components.code,{children:`150`}),` means 150.00 — and must be at least 1. The currency defaults to the campaign’s.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`cover_fees: true`}),` adds the provider’s fee on top, so the campaign receives the full amount.`]}),`\n`,_jsxs(_components.li,{children:[`The chapter must have finished setting up a payment method; if it has not, you get `,_jsx(_components.code,{children:`409`}),` with a message saying so.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`payment_gateway_id`}),` is only needed when a chapter has more than one method set up and you want a particular one.`]}),`\n`]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Request`,numberOfLines:`7`,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:`7`,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:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150`}),_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:` \"donor_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ada Lovelace\"`}),_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:` \"donor_email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ada@example.org\"`}),_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:` \"cover_fees\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"redirect_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://alumni.example.org/thank-you\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`201`,numberOfLines:`12`,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:`12`,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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_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:` \"data\"`}),_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:` \"checkout_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://checkout.paystack.com/abc123\"`}),_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:` \"transaction_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`501`}),_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:` \"transaction_ref\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"THN-2026-0001\"`}),_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:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.0`}),_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:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NGN\"`}),_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:` \"payment_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_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:` \"campaign_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Start a Donation","openapi":"POST /v1/fundraising/campaigns/{campaign_id}/donations","description":"Create a donation and get the payment link to send the donor.","href":"/api-reference/fundraising/donations"}}}},"mdxExtracts":{"tableOfContents":[{"title":"What happens after you call it","slug":"what-happens-after-you-call-it","depth":3,"children":[]},{"title":"Things worth knowing","slug":"things-worth-knowing","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request","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=\"7\">\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\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">150\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"donor_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Ada Lovelace\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"donor_email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ada@example.org\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cover_fees\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"redirect_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://alumni.example.org/thank-you\"\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":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","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=\"12\">\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\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"checkout_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://checkout.paystack.com/abc123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transaction_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">501\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transaction_ref\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"THN-2026-0001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">150.0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NGN\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payment_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"campaign_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/transparencyhubnetwork/24105e52db8f49fe/images/gallery/generate-gallery.js","/_mintlify/custom/transparencyhubnetwork/b0ea3be6490a42cb/images/gallery/resize-gallery.js","/_mintlify/custom/transparencyhubnetwork/a6073150c9c03522/images/generate-cover.js"],"openApiReferenceData":{"operation":{"summary":"Start a donation (hosted checkout)","x-scope":"fundraising:write","description":"Create a donation and get the payment link to send the donor.","parameters":["4b93981b-0dd7-426c-a249-6a2b038e289b"],"requestBody":"112240bc-ad8a-4e3c-96c0-eac495b677a9","responses":{"201":"57d4b0fb-1c25-4043-beb6-732a8f7057df","400":"a5a9ae9c-0d91-4bda-bf05-c7bd9f350e59","401":"39ddd2ff-555c-4b67-a21b-d6f6e1426d1f","403":"ef0309b9-ed1b-45c6-baf0-c32cfe20c038","404":"dbc3f975-ffe4-48cd-a223-d426dcd6d20f","409":"19bdfd52-d856-4b9f-96ed-6248f93082c6","429":"ecb08879-8d95-4581-a4ff-7f416d79dc00"},"method":"post","type":"path","servers":["27f4af71-e8ec-403b-8f9a-e2f75d5b957d","c3455880-d26b-4f08-acdd-5db6a467c6a8"],"security":["1eb27996-8bc6-4507-8859-56b230e67137","7c674b49-cc12-4b7a-a7b3-650fca865336"],"path":"/v1/fundraising/campaigns/{campaign_id}/donations","baseUrlOptions":["https://api.transparencyhubnetwork.ai/api","https://testapi.transparencyhubnetwork.ai/api"],"title":"Start a donation (hosted checkout)","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"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":"7","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":" \"amount\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"150"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"donor_name\""}},{"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":"\"Ada Lovelace\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"donor_email\""}},{"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":"\"ada@example.org\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"cover_fees\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"redirect_url\""}},{"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":"\"https://alumni.example.org/thank-you\""}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Request"}],"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":"12","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":" \"status\""}},{"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":"\"success\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"checkout_url\""}},{"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":"\"https://checkout.paystack.com/abc123\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"transaction_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"501"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"transaction_ref\""}},{"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":"\"THN-2026-0001\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"amount\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"150.0"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"currency\""}},{"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":"\"NGN\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"payment_status\""}},{"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":"\"pending\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"campaign_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"2"}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"201"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"4b93981b-0dd7-426c-a249-6a2b038e289b":{"name":"campaign_id","in":"path","required":true,"schema":{"type":"integer","isRequired":true,"uniqueKey":"","typeLabel":"integer"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","donor_name","donor_email"],"properties":{"amount":{"type":"number","minimum":1,"description":"Major currency units, e.g. 150 means 150.00.","isRequired":true,"uniqueKey":"amount","typeLabel":"number"},"donor_name":{"type":"string","isRequired":true,"uniqueKey":"donor_name","typeLabel":"string"},"donor_email":{"type":"string","isRequired":true,"uniqueKey":"donor_email","typeLabel":"string"},"chapter_id":{"type":"integer","uniqueKey":"chapter_id","typeLabel":"integer"},"currency":{"oneOf":[{"type":"string","description":"Defaults to the campaign's currency.","uniqueKey":"currency.oneOf.0","typeLabel":"string"},{"type":"null","description":"Defaults to the campaign's currency.","uniqueKey":"currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency","typeLabel":"string | null"},"cover_fees":{"type":"boolean","default":false,"description":"Add the gateway fee on top so the campaign receives the full amount.","uniqueKey":"cover_fees","typeLabel":"boolean"},"is_anonymous":{"type":"boolean","default":false,"uniqueKey":"is_anonymous","typeLabel":"boolean"},"redirect_url":{"oneOf":[{"type":"string","description":"Where the gateway sends the donor after paying.","uniqueKey":"redirect_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the gateway sends the donor after paying.","uniqueKey":"redirect_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"redirect_url","typeLabel":"string | null"},"payment_gateway_id":{"oneOf":[{"type":"integer","description":"Use a specific configured gateway; defaults to the chapter's.","uniqueKey":"payment_gateway_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Use a specific configured gateway; defaults to the chapter's.","uniqueKey":"payment_gateway_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_gateway_id","typeLabel":"integer | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"amount":2,"donor_name":"\u003cstring>","donor_email":"\u003cstring>","chapter_id":123,"currency":"\u003cstring>","cover_fees":false,"is_anonymous":false,"redirect_url":"\u003cstring>","payment_gateway_id":123}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"57d4b0fb-1c25-4043-beb6-732a8f7057df":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","uniqueKey":"status","typeLabel":"string"},"data":{"type":"object","properties":{"checkout_url":{"type":"string","description":"Send the donor here to pay.","uniqueKey":"data.checkout_url","typeLabel":"string"},"transaction_id":{"type":"integer","uniqueKey":"data.transaction_id","typeLabel":"integer"},"transaction_ref":{"type":"string","uniqueKey":"data.transaction_ref","typeLabel":"string"},"amount":{"type":"number","uniqueKey":"data.amount","typeLabel":"number"},"currency":{"oneOf":[{"type":"string","uniqueKey":"data.currency.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.currency","typeLabel":"string | null"},"payment_status":{"type":"string","description":"pending until the gateway confirms.","uniqueKey":"data.payment_status","typeLabel":"string"},"campaign_id":{"type":"integer","uniqueKey":"data.campaign_id","typeLabel":"integer"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"\u003cstring>","data":{"checkout_url":"\u003cstring>","transaction_id":123,"transaction_ref":"\u003cstring>","amount":123,"currency":"\u003cstring>","payment_status":"\u003cstring>","campaign_id":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"a5a9ae9c-0d91-4bda-bf05-c7bd9f350e59":{"description":"validation_error","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"39ddd2ff-555c-4b67-a21b-d6f6e1426d1f":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"ef0309b9-ed1b-45c6-baf0-c32cfe20c038":{"description":"insufficient_scope or chapter_forbidden","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"dbc3f975-ffe4-48cd-a223-d426dcd6d20f":{"description":"not_found","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"19bdfd52-d856-4b9f-96ed-6248f93082c6":{"description":"The chapter has no gateway set up, or it cannot issue hosted checkout links","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"ecb08879-8d95-4581-a4ff-7f416d79dc00":{"description":"rate_limited; see Retry-After","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1eb27996-8bc6-4507-8859-56b230e67137":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"ApiKeyAuth"}},"7c674b49-cc12-4b7a-a7b3-650fca865336":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"27f4af71-e8ec-403b-8f9a-e2f75d5b957d":{"url":"https://api.transparencyhubnetwork.ai/api"},"c3455880-d26b-4f08-acdd-5db6a467c6a8":{"url":"https://testapi.transparencyhubnetwork.ai/api","description":"Test"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"transparencyhubnetwork","siteName":"Transparency Hub Network","title":"Start a Donation - Transparency Hub Network","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-23T16:12:26.930Z","originalFileLocation":"api-reference/fundraising/donations.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=\"Create a donation and get the payment link to send the donor.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Transparency Hub Network\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start a Donation - Transparency Hub Network\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a donation and get the payment link to send the donor.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Transparency Hub Network\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://transparencyhubnetwork.mintlify.site/_mintlify/api/og/v2?division=Fundraising\u0026amp;title=Start+a+Donation\u0026amp;description=Create+a+donation+and+get+the+payment+link+to+send+the+donor.\u0026amp;theme=a13e828d2ebc5243c055232a\u0026amp;signature=35ed3f021bad34c257d843907089f714b2bef9090f9bd83bd19937ca27c950c8\">\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=\"Start a Donation - Transparency Hub Network\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a donation and get the payment link to send the donor.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://transparencyhubnetwork.mintlify.site/_mintlify/api/og/v2?division=Fundraising\u0026amp;title=Start+a+Donation\u0026amp;description=Create+a+donation+and+get+the+payment+link+to+send+the+donor.\u0026amp;theme=a13e828d2ebc5243c055232a\u0026amp;signature=35ed3f021bad34c257d843907089f714b2bef9090f9bd83bd19937ca27c950c8\">\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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Transparency Hub Network\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006699\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/fundraising/donations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.transparencyhubnetwork.ai/#organization\",\"name\":\"Transparency Hub Network\",\"url\":\"https://docs.transparencyhubnetwork.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/transparencyhubnetwork/6pI7fCXnEFY-8F9d/logo/light.png?fit=max\u0026auto=format\u0026n=6pI7fCXnEFY-8F9d\u0026q=85\u0026s=4feed52686f2d8a3dc7aef077520304e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.transparencyhubnetwork.ai#website\",\"name\":\"Transparency Hub Network\",\"url\":\"https://docs.transparencyhubnetwork.ai\",\"publisher\":{\"@id\":\"https://docs.transparencyhubnetwork.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations#webpage\",\"url\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations\",\"name\":\"Start a Donation\",\"description\":\"Create a donation and get the payment link to send the donor.\",\"dateModified\":\"2026-09-23T16:12:26.930Z\",\"isPartOf\":{\"@id\":\"https://docs.transparencyhubnetwork.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Fundraising\",\"item\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/campaigns\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Start a Donation\",\"item\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations#apireference\",\"headline\":\"Start a Donation\",\"name\":\"Start a Donation\",\"description\":\"Create a donation and get the payment link to send the donor.\",\"url\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations\",\"mainEntityOfPage\":{\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/fundraising/donations#webpage\"},\"dateModified\":\"2026-09-23T16:12:26.930Z\",\"publisher\":{\"@id\":\"https://docs.transparencyhubnetwork.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.transparencyhubnetwork.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Transparency Hub Network\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Transparency Hub Network","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Members","pages":[{"title":"List Members","openapi":"GET /v1/members","href":"/api-reference/members/list"},{"title":"Get Member","openapi":"GET /v1/members/{member_id}","href":"/api-reference/members/get"},{"title":"Create Member","openapi":"POST /v1/members","href":"/api-reference/members/create"},{"title":"Update Member","openapi":"PATCH /v1/members/{member_id}","href":"/api-reference/members/update"}]},{"group":"Membership Types","pages":[{"title":"List Membership Types","openapi":"GET /v1/membership-types","href":"/api-reference/membership-types/list"},{"title":"Get Membership Type","openapi":"GET /v1/membership-types/{type_id}","href":"/api-reference/membership-types/get"},{"title":"Create Membership Type","openapi":"POST /v1/membership-types","href":"/api-reference/membership-types/create"},{"title":"Update Membership Type","openapi":"PATCH /v1/membership-types/{type_id}","href":"/api-reference/membership-types/update"},{"title":"List Membership Type Fees","openapi":"GET /v1/membership-types/{type_id}/dues","href":"/api-reference/payments/membership-type-dues"}]},{"group":"Events","pages":[{"title":"List Events","openapi":"GET /v1/events","href":"/api-reference/events/list"},{"title":"Get Event","openapi":"GET /v1/events/{event_id}","href":"/api-reference/events/get"},{"title":"Create Event","openapi":"POST /v1/events","href":"/api-reference/events/create"},{"title":"Update Event","openapi":"PATCH /v1/events/{event_id}","href":"/api-reference/events/update"},{"title":"List event attendees / RSVPs","openapi":"GET /v1/events/{event_id}/attendees","href":"/api-reference/events/attendees"}]},{"group":"Payments","pages":[{"title":"List Transactions","openapi":"GET /v1/transactions","href":"/api-reference/payments/transactions-list"},{"title":"Get Transaction","openapi":"GET /v1/transactions/{transaction_id}","href":"/api-reference/payments/transactions-get"},{"title":"List Member Dues","openapi":"GET /v1/members/{member_id}/dues","href":"/api-reference/payments/member-dues"},{"title":"List refunds for a transaction","openapi":"GET /v1/transactions/{transaction_id}/refunds","href":"/api-reference/payments/transaction-refunds"}]},{"group":"Community","pages":[{"title":"List Posts","openapi":"GET /v1/posts","href":"/api-reference/community/posts-list"},{"title":"Get Post","openapi":"GET /v1/posts/{post_id}","href":"/api-reference/community/posts-get"},{"title":"List Post Comments","openapi":"GET /v1/posts/{post_id}/comments","href":"/api-reference/community/post-comments"},{"title":"List Groups","openapi":"GET /v1/groups","href":"/api-reference/community/groups-list"},{"title":"Get Group","openapi":"GET /v1/groups/{group_id}","href":"/api-reference/community/groups-get"},{"title":"List Group Members","openapi":"GET /v1/groups/{group_id}/members","href":"/api-reference/community/group-members"},{"title":"Likes on a post","openapi":"GET /v1/posts/{post_id}/likes","href":"/api-reference/community/post-likes"},{"title":"List group join requests","openapi":"GET /v1/groups/{group_id}/requests","href":"/api-reference/community/group-requests"}]},{"group":"Meetings","pages":[{"title":"List Meetings","openapi":"GET /v1/meetings","href":"/api-reference/meetings/list"},{"title":"Get Meeting","openapi":"GET /v1/meetings/{meeting_id}","href":"/api-reference/meetings/get"},{"title":"List Meeting Recordings","openapi":"GET /v1/meetings/{meeting_id}/recordings","href":"/api-reference/meetings/recordings"},{"title":"List Minutes","openapi":"GET /v1/minutes","href":"/api-reference/meetings/minutes-list"},{"title":"Get Minute","openapi":"GET /v1/minutes/{minute_id}","href":"/api-reference/meetings/minutes-get"},{"title":"List meeting feedback","openapi":"GET /v1/meetings/{meeting_id}/feedback","href":"/api-reference/meetings/feedback"}]},{"group":"Organisation","pages":[{"title":"Get the key's chapter","openapi":"GET /v1/chapter","href":"/api-reference/organisation/chapter"},{"title":"List sub-chapters","openapi":"GET /v1/chapter/children","href":"/api-reference/organisation/chapter-children"},{"title":"Get the association","openapi":"GET /v1/association","href":"/api-reference/organisation/association"},{"title":"List roles","openapi":"GET /v1/roles","href":"/api-reference/organisation/roles"},{"title":"List activity log entries","openapi":"GET /v1/activity","href":"/api-reference/organisation/activity"}]},{"group":"Tasks \u0026 Contacts","pages":[{"title":"List tasks","openapi":"GET /v1/tasks","href":"/api-reference/tasks-contacts/tasks"},{"title":"Create task","openapi":"POST /v1/tasks","href":"/api-reference/tasks-contacts/tasks-create"},{"title":"Get task","openapi":"GET /v1/tasks/{task_id}","href":"/api-reference/tasks-contacts/tasks-get"},{"title":"List contacts","openapi":"GET /v1/contacts","href":"/api-reference/tasks-contacts/contacts"},{"title":"Create contact","openapi":"POST /v1/contacts","href":"/api-reference/tasks-contacts/contacts-create"},{"title":"List contact groups","openapi":"GET /v1/contacts/groups","href":"/api-reference/tasks-contacts/contact-groups"},{"title":"Get contact","openapi":"GET /v1/contacts/{contact_id}","href":"/api-reference/tasks-contacts/contacts-get"}]},{"group":"Projects","pages":[{"title":"List projects","openapi":"GET /v1/projects","href":"/api-reference/projects/projects"},{"title":"Get project","openapi":"GET /v1/projects/{project_id}","href":"/api-reference/projects/projects-get"},{"title":"List board columns","openapi":"GET /v1/projects/{project_id}/columns","href":"/api-reference/projects/project-columns"},{"title":"List labels","openapi":"GET /v1/projects/{project_id}/labels","href":"/api-reference/projects/project-labels"},{"title":"List project tasks","openapi":"GET /v1/projects/{project_id}/tasks","href":"/api-reference/projects/project-tasks"},{"title":"Create project task","openapi":"POST /v1/projects/{project_id}/tasks","href":"/api-reference/projects/project-tasks-create"},{"title":"Get project task","openapi":"GET /v1/project-tasks/{task_id}","href":"/api-reference/projects/project-tasks-get"},{"title":"List task updates and comments","openapi":"GET /v1/project-tasks/{task_id}/updates","href":"/api-reference/projects/project-task-updates"},{"title":"List task time logs","openapi":"GET /v1/project-tasks/{task_id}/time-logs","href":"/api-reference/projects/project-task-time-logs"},{"title":"List task attachments (metadata)","openapi":"GET /v1/project-tasks/{task_id}/attachments","href":"/api-reference/projects/project-task-attachments"},{"title":"Task dependencies","openapi":"GET /v1/project-tasks/{task_id}/dependencies","href":"/api-reference/projects/project-task-dependencies"},{"title":"List volunteer requests","openapi":"GET /v1/project-tasks/{task_id}/volunteer-requests","href":"/api-reference/projects/project-task-volunteers"}]},{"group":"Fundraising","pages":[{"title":"List fundraising campaigns","openapi":"GET /v1/fundraising/campaigns","href":"/api-reference/fundraising/campaigns"},{"title":"Get fundraising campaign","openapi":"GET /v1/fundraising/campaigns/{campaign_id}","href":"/api-reference/fundraising/campaigns-get"},{"title":"List campaign payments","openapi":"GET /v1/fundraising/campaigns/{campaign_id}/payments","href":"/api-reference/fundraising/campaign-payments"},{"title":"List campaign recipients","openapi":"GET /v1/fundraising/campaigns/{campaign_id}/recipients","description":"Members a campaign was addressed to, with any tribute text.","href":"/api-reference/fundraising/campaign-recipients"},{"title":"Start a Donation","openapi":"POST /v1/fundraising/campaigns/{campaign_id}/donations","href":"/api-reference/fundraising/donations"}]},{"group":"Gatherings","pages":[{"title":"List gatherings","openapi":"GET /v1/gatherings","description":"Ticketed gatherings (Eventbrite-synced or manual).","href":"/api-reference/gatherings/gatherings"},{"title":"Get gathering","openapi":"GET /v1/gatherings/{gathering_id}","href":"/api-reference/gatherings/gatherings-get"},{"title":"List ticket classes","openapi":"GET /v1/gatherings/{gathering_id}/ticket-classes","href":"/api-reference/gatherings/ticket-classes"},{"title":"List attendees","openapi":"GET /v1/gatherings/{gathering_id}/attendees","href":"/api-reference/gatherings/attendees"},{"title":"List orders","openapi":"GET /v1/gatherings/{gathering_id}/orders","href":"/api-reference/gatherings/orders"}]},{"group":"Elections","pages":[{"title":"List elections","openapi":"GET /v1/elections","href":"/api-reference/elections/elections"},{"title":"Get election","openapi":"GET /v1/elections/{election_id}","href":"/api-reference/elections/elections-get"},{"title":"List questions with candidates","openapi":"GET /v1/elections/{election_id}/questions","href":"/api-reference/elections/questions"},{"title":"Get results (when visible)","openapi":"GET /v1/elections/{election_id}/results","href":"/api-reference/elections/results"}]},{"group":"Drive","pages":[{"title":"List Drive items (metadata)","openapi":"GET /v1/drive/items","href":"/api-reference/drive/items"},{"title":"Get Drive item (metadata)","openapi":"GET /v1/drive/items/{item_id}","href":"/api-reference/drive/items-get"},{"title":"Download a Drive File","openapi":"GET /v1/drive/items/{item_id}/download","href":"/api-reference/drive/download"},{"title":"Create a Drive Document","openapi":"POST /v1/drive/documents","href":"/api-reference/drive/create-document"},{"title":"Start a Drive Upload","openapi":"POST /v1/drive/files/upload-session","href":"/api-reference/drive/upload-session"},{"title":"Commit a Drive Upload","openapi":"POST /v1/drive/files/commit","href":"/api-reference/drive/commit-upload"}]},{"group":"Applications","pages":[{"title":"List membership applications","openapi":"GET /v1/applications","href":"/api-reference/applications/applications"},{"title":"Get application with answers","openapi":"GET /v1/applications/{application_id}","href":"/api-reference/applications/applications-get"},{"title":"List application form templates","openapi":"GET /v1/application-forms","href":"/api-reference/applications/forms"},{"title":"Get form template with definition","openapi":"GET /v1/application-forms/{template_id}","href":"/api-reference/applications/forms-get"},{"title":"List onboarding workflows","openapi":"GET /v1/workflows","href":"/api-reference/applications/workflows"}]},{"group":"Notifications \u0026 Support","pages":[{"title":"List notifications","openapi":"GET /v1/notifications","href":"/api-reference/notifications/notifications"},{"title":"List support requests","openapi":"GET /v1/support-requests","href":"/api-reference/notifications/support-requests"},{"title":"Get support request","openapi":"GET /v1/support-requests/{request_id}","href":"/api-reference/notifications/support-requests-get"}]},{"group":"Communication Campaigns","pages":[{"title":"List communication campaigns","openapi":"GET /v1/campaigns","href":"/api-reference/campaigns/campaigns"},{"title":"Get campaign","openapi":"GET /v1/campaigns/{campaign_id}","href":"/api-reference/campaigns/campaigns-get"}]}]}]},{"anchor":"Website","href":"https://transparencyhubnetwork.ai","icon":"globe"},{"anchor":"Contact Us","href":"mailto:support@transparencyhubnetwork.ai","icon":"envelope"}]},"basePath":"","title":"Start a Donation - Transparency Hub Network","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}