> For the complete documentation index, see [llms.txt](https://docs.bizon.one/08.01/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bizon.one/08.01/api-payment-gateway/orders-and-operation-paradigm.md).

# Orders and operation paradigm

Payments are represented as orders. Orders keep general information about payment as well as cardholder details. Transactions are represented as a sequence of operations associated with the order, for instance: authorize, charge, and refund.

Order is associated with a unique ID upon creation, which is used in following requests regarding this order.

## <mark style="color:blue;">Order Status</mark>

Status represents the current order state.

<table><thead><tr><th width="160">Status</th><th width="404">Description</th><th>Possible operations</th></tr></thead><tbody><tr><td>new</td><td>Order has been created, but has yet to be processed</td><td><strong>-</strong></td></tr><tr><td>prepared</td><td>Waiting for outside action</td><td>-</td></tr><tr><td>authorized</td><td>Authorization completed</td><td>reverse, charge, rebill</td></tr><tr><td>charged</td><td>The order has been charged</td><td>refund, credit, rebill</td></tr><tr><td>reversed</td><td>The authorisation has been cancelled</td><td>rebill</td></tr><tr><td>refunded</td><td>The order was fully or partially refunded</td><td>refund, credit, rebill</td></tr><tr><td>rejected</td><td>The order has been rejected</td><td>rebill</td></tr><tr><td>fraud</td><td>The order has been determined as a fraud and rejected because of that</td><td>rebill</td></tr><tr><td>declined</td><td>The order has been declined by the acquirer</td><td>rebill</td></tr><tr><td>chargedback</td><td>Order is marked as chargeback</td><td>rebill</td></tr><tr><td>credited</td><td>Order has been credited (OCT)</td><td>rebill</td></tr><tr><td>error</td><td>An error occurred during order processing. You should probably contact the support team</td><td>rebill</td></tr></tbody></table>

## <mark style="color:blue;">Operation Status</mark>

Status represents the final result of processing the operation.

<table><thead><tr><th width="159">Status</th><th>Description</th></tr></thead><tbody><tr><td>success</td><td>Operation processed successfully</td></tr><tr><td>failure</td><td>The operation has been declined (for instance, an authorization decline occurred)</td></tr><tr><td>error</td><td>An error occurred during processing of the operation. You should probably contact the support team</td></tr></tbody></table>

{% hint style="info" %}
Please contact your dedicated manager to learn more about this feature.
{% endhint %}


---

# 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 following URL with the `ask` and `goal` query parameters:

```
GET https://docs.bizon.one/08.01/api-payment-gateway/orders-and-operation-paradigm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
