---
search:
  tags:
    - Orders
    - POST
seo:
  description: >-
    Refund an order. Reference for the POST /orders/{id}/refund endpoint in the
    Bolder API v2.
sidebar:
  label: Refund an order
  badge: POST
title: Refund an order
type: openapi-operation
---
`POST /orders/{id}/refund`

**Request body** (`application/json`, required)

- `amount` (integer) — Refund amount in cents
- `description` (string)
- `reason` (string)
- `authorization_code` (string) — Reference code for manual refunds
- `manual` (boolean) — Skip the payment gateway and record the refund directly

Request body example:

```json
{
  "amount": 2500,
  "reason": "customer_request"
}
```

**Responses**

- `200` — Refund processed
- `422` — Order is not refundable, or amount exceeds max\_refundable\_amount

Response example, 200:

```json
{
  "id": 0,
  "order_id": 0,
  "amount": 0,
  "absolute_amount": 0,
  "successful": true,
  "card_token_id": 0,
  "payment_method_type": "string",
  "transaction_id": "string",
  "authorization_code": "string",
  "description": "string",
  "created_at": "2019-08-24T14:15:22Z"
}
```
