# Approve Spend

When creating an order, the bot fee is held by the smart contract in order to pay the keeper bot when the order gets executed.

&#x20;As such, you need to approve the smart contract to spend your USDC. This is similar to the ERC-20 token approvals for other smart contract. We allow users to approve as much or as little as they wish, and would recommend setting the approval as low as necessary for the orders they wish to create.&#x20;

For example, Charlie wishes to create 10 orders, with each order having a bot fee of $0.20. He should therefore set the approval to $2 to allow him to create these orders.


---

# Agent Instructions: 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.apex.win/apex-docs/user-guide/approve-spend.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.
