> 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).

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
