> For the complete documentation index, see [llms.txt](https://docs.pakk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pakk.io/customers-and-sales/credits-refunds-returns-and-replacements/customer-credits/using-a-credit.md).

# Using a Credit

A Credit is ‘Outstanding’ or ‘Pending’ until it is ‘used’. There are two ways to ‘use’ a Credit:

1. Refund
2. Apply to a Sales Order

It is important to note that neither of these two things happen automatically. A Credit will sit ‘unused’ until you use it.

**Once the whole amount of the Credit is refunded, applied or a combination of both, the Credit is considered fully used.**

**Refunds**

The simplest path to take after a Credit has been raised is to refund the customer’s money. You’ll need to do the actual refund manually (e.g. in Stripe or Paypal). Once you’ve done the refund, record it on the Credit by hitting the ‘Refund’ button.

Note that you don’t have to refund the whole amount of the Credit. You can do a partial refund, which leaves an amount of the Credit outstanding. You could then go on to use that outstanding amount against an Order, or issue yet another refund. A common use for this technique would be if a customer has a large Credit and wants to use part of it as payment against an Order and have the rest refunded.

**Applications**

Another common use for a Credit is to use it to ‘pay’ for an Order. You can do this by hitting the ‘Apply’ button on the Credit and choosing the Order to which you want to apply the Credit as payment. Again, you don’t have to use the whole Credit - it’s OK to leave some of the Credit outstanding and then use that later, either as another application or refund it.

Applying a Credit has two impacts. Firstly, it will ‘use’ some or all of the Credit. Secondly, it will affect the payment status of the Order. If your Credit use covers the entire invoiced order amount, the order would go from ‘Pending Payment’ to ‘Paid’. Note that you don’t have to cover the whole Order amount. If the Credit application leaves some of the Order amount pending payment, you can either apply another Credit or just take payment from the customer.

Note that at least for now, it’s not possible for customers to apply Credits themselves when placing an order online, this currently needs to be done by an admin user.


---

# 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.pakk.io/customers-and-sales/credits-refunds-returns-and-replacements/customer-credits/using-a-credit.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.
