> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/digital-river-api-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/digital-river-api-reference/2020-01-07/checkouts.md).

# Checkouts

The Checkouts resource in the Digital River API allows businesses to manage the entire checkout process for an end customer. This resource provides functionality to create new checkout sessions, retrieve existing sessions, update session details, and delete checkouts when necessary. Additionally, it supports querying all checkouts to analyze and track transaction data, ensuring a smooth and efficient customer checkout experience. See [Building checkouts](https://docs.digitalriver.com/digital-river-api/integration-options/checkouts/creating-checkouts) for more information.

{% openapi src="/files/HZxM5Hm3GTtS9lu4hGo8" path="/checkouts" method="get" %}
[2020-01-07.json](https://1208560687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7UuTxn1K4V4yzJfG8Qsu%2Fuploads%2FiVMrJr25RI2LB9XctIXs%2F2020-01-07.json?alt=media\&token=f293eeeb-dbd3-4138-b3cd-79bc767c963f)
{% endopenapi %}

{% openapi src="/files/HZxM5Hm3GTtS9lu4hGo8" path="/checkouts" method="post" %}
[2020-01-07.json](https://1208560687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7UuTxn1K4V4yzJfG8Qsu%2Fuploads%2FiVMrJr25RI2LB9XctIXs%2F2020-01-07.json?alt=media\&token=f293eeeb-dbd3-4138-b3cd-79bc767c963f)
{% endopenapi %}

{% openapi src="/files/HZxM5Hm3GTtS9lu4hGo8" path="/checkouts/{id}" method="get" %}
[2020-01-07.json](https://1208560687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7UuTxn1K4V4yzJfG8Qsu%2Fuploads%2FiVMrJr25RI2LB9XctIXs%2F2020-01-07.json?alt=media\&token=f293eeeb-dbd3-4138-b3cd-79bc767c963f)
{% endopenapi %}

{% openapi src="/files/HZxM5Hm3GTtS9lu4hGo8" path="/checkouts/{id}" method="post" %}
[2020-01-07.json](https://1208560687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7UuTxn1K4V4yzJfG8Qsu%2Fuploads%2FiVMrJr25RI2LB9XctIXs%2F2020-01-07.json?alt=media\&token=f293eeeb-dbd3-4138-b3cd-79bc767c963f)
{% endopenapi %}

{% openapi src="/files/HZxM5Hm3GTtS9lu4hGo8" path="/checkouts/{id}" method="delete" %}
[2020-01-07.json](https://1208560687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7UuTxn1K4V4yzJfG8Qsu%2Fuploads%2FiVMrJr25RI2LB9XctIXs%2F2020-01-07.json?alt=media\&token=f293eeeb-dbd3-4138-b3cd-79bc767c963f)
{% endopenapi %}


---

# 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:

```
GET https://docs.digitalriver.com/digital-river-api-reference/2020-01-07/checkouts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
