> For the complete documentation index, see [llms.txt](https://k4k3ru.gitbook.io/k4k3ru-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://k4k3ru.gitbook.io/k4k3ru-docs/agent/payments-and-usage.md).

# Payments and Usage Credits

Use Agent to inspect your usage balance, discover active credit products, and create or check a hosted onchain payment intent.

## Check Your Usage Balance

Run:

```
/account app usage-balance
```

This signed command displays the current usage-tick balance for the configured account. The balance query itself costs 0 ticks.

## List Credit Products

Run:

```
/account app list-products
```

This public command lists active credit products one page at a time. Product details determine the payment asset, network, price, credited ticks, and applicable expiry.

## Create an Onchain Payment Intent

Run:

```
/payment onchain create-intent
```

This signed command loads the active product pages and presents a filterable selector. After you select a product, Agent creates a hosted onchain payment intent and displays the payment details returned by K4K3RU.

Follow the returned chain, network, token, amount, address, and expiration details exactly. Do not assume that details from a previous intent apply to a new one.

## Check a Payment Intent

Run:

```
/payment onchain get-intent
```

Provide the identifier of an intent owned by your account. Agent retrieves its current status and payment details.

Payment confirmation and credit application are not necessarily immediate. Check the intent again if it remains pending, and verify the usage balance after completion.

## Security and Payment Safety

* Confirm the chain, network, token, amount, and destination before sending funds.
* Use only the payment details returned for the selected intent.
* Never send an API secret, private key, seed phrase, or wallet credential to Agent prompts.
* Keep the intent identifier for later status checks.

For field-level API details, see [Create an Onchain Payment Intent](/k4k3ru-docs/api/payment/create-onchain-intent.md) and [Get an Onchain Payment Intent](/k4k3ru-docs/api/payment/get-onchain-intent.md).


---

# 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://k4k3ru.gitbook.io/k4k3ru-docs/agent/payments-and-usage.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.
