# order_paid

> The order is paid

- Status: 400 Bad Request
- Returned by: /api/public
- Operations: [cancelOrder](https://developers.rivr.io/reference/api-public/cancelOrder.md)
- Retry (`retryWhen`): `never`
- Did anything happen? (`outcome`): `none` (It did not happen)
- Cancelling and refunding in /api/public
- Page in the portal: https://developers.rivr.io/errors/order_paid
- Try it: `GET https://developers.rivr.io/errors/simulate/order_paid` answers with the code's exact wire form; `?succeedAfter=N&attempt=K` gives a 200 once `attempt` passes `N`

## What it means

The order has been paid and can no longer be cancelled. Nothing was done.

## What your system does

Refund the order with `POST /api/public/orders/{orderId}/refund` if the payment is to be returned.

## Is it worth retrying?

No, not without changing the call.

`retryWhen`: `never`. Don't send it again. The answer is final for this request: read the current state, the order for example, and act on that.

## Did anything happen?

`outcome`: `none`. **It did not happen.** This call did not do what you asked for and changed nothing else that you can see or that concerns money. Where the code has an `outcomeNote`, it takes precedence.

## Example: /api/public

```http
HTTP/1.1 400 Bad Request
Content-Type: application/json

{
  "propertyName": "Status",
  "message": "The order has been paid and can no longer be cancelled. Use POST /api/public/orders/{orderId}/refund to refund the payment.",
  "errorCode": "order_paid",
  "code": "order_paid",
  "type": "https://developers.rivr.io/errors/order_paid"
}
```

The `title`, `detail`, `message` and `error_description` texts are exactly as the API writes them today.
