# 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: 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.bizon.one/08.01/api-payment-gateway/orders-and-operation-paradigm.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.
