# Refund

Making a refund request for a specific order by MugglePay order ID.

Use it when the order status is PAID.

It's done by MugglePay payment page. ONLY use this if you want to build an in-house payment without redirecting.

***

## Definition

**POST** <https://api.mugglepay.com/v1/orders/:order\\_id/refund>

## Body Params

| Param     | Type     | Required | Description                                                        |
| --------- | -------- | -------- | ------------------------------------------------------------------ |
| order\_id | `string` | Yes      | MugglePay order ID. It's provided in the response of Create Order. |

## Example

```
curl -X POST \
  https://api.mugglepay.com/v1/orders/8cbe9c00-7b0d-4b03-816f-e88a3c6bfa5c \
  -H 'token: API_TOKEN_GET_FROM_ADMIN_PORTAL'
	
```
