> 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/2021-12-13/charges.md).

# Charges

The Charges resource represents a financial transaction where a specific amount is billed to a customer's payment method. This encompasses the full lifecycle of a charge, including creation, possible disputes, and eventual resolution. Understanding how to use the Charges resource is crucial for managing payments, handling potential chargebacks, and ensuring accurate financial reporting. For more details on related concepts, see the [charges](broken://spaces/-LqH4RJfLVLuHPXuJyTZ/pages/3OFbJ7z5bEdEShDJOdLa), [charge refunds](broken://spaces/-LqH4RJfLVLuHPXuJyTZ/pages/3OFbJ7z5bEdEShDJOdLa#refunds), and [refunds](https://docs.digitalriver.com/digital-river-api/payments/payment-sources/using-the-source-identifier#refunds) sections. For details on the distinction between charge refunds and refunds, refer to [How refunds differ from charge refunds](broken://spaces/-LqH4RJfLVLuHPXuJyTZ/pages/3OFbJ7z5bEdEShDJOdLa#how-refunds-differ-from-charge-refunds).

{% openapi src="/files/iNzDkkGaCIlZVrD9ZEeL" path="/charges/{id}" method="get" %}
[2021-12-13.json](https://567528635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx8fSFzVR3sg0TsNWwwVz%2Fuploads%2FSUFVdYf4YqsQ129w6x7r%2F2021-12-13.json?alt=media\&token=bc5327cc-9dda-4f0f-bdb6-2f7c8457459e)
{% 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/2021-12-13/charges.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.
