> For the complete documentation index, see [llms.txt](https://docs.changeup.com/app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.changeup.com/app/changeup-dms/widget-setup/implement-the-post-checkout-webhook.md). Agents can also search and read this documentation through its [MCP server](https://docs.changeup.com/app/~gitbook/mcp).

# Implement the post-checkout webhook

The post-checkout webhook is required to record the completion of the donation. The webhook will have a set of required and optional fields to capture relevant details for the donation. The donation webhook URL is unique to each widget in ChangeUp DMS. This webhook URL is meant to be called from a server, not the client (as the URL should be considered a secret).

{% hint style="info" %}
[View the API docs for more details on the post-donation webhook](https://documenter.getpostman.com/view/25013896/2s93eeSA1U#b66dfc71-c4dd-4281-bf90-40771f040014)
{% endhint %}

### Webhook Donation Recording and Reporting

Upon receiving the webhook, ChangeUp processes the incoming data to record the donation using a queuing system. Once processed, the donation details are recorded and stored for real-time reporting purposes. A “record” date can be adjusted in the widget settings for the donation widget to actualize the donation in the database. The reconciliation date allows for special policies such as refunds. Reports will identify donations as “pre-record” and “post-record” dates and can be used for reconciliation.

Reports can be filtered by donation widget and time range. Reports of all donation transactions can be downloaded for reconciliation purposes.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.changeup.com/app/changeup-dms/widget-setup/implement-the-post-checkout-webhook.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
