# Refund a payment (/docs/api/v1/refunds/refund-transaction)

Refunds a completed mobile money payment in full, within 45 days. The refund is processed asynchronously and the result is POSTed to `callbackUrl`.

`POST https://refund-api.hubtel.com/refund/{accountNumber}/order/{transactionId}`

## Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `accountNumber` | path | Yes | Your **collection account number** (POS sales), where customer payments land. Find it in your Hubtel merchant account under [Programmable keys → Account ID](/dashboard/account-ids). In the sandbox, use the collection account in Workbench. |
| `transactionId` | path | Yes |  |

## Request example

```json
{
  "callbackUrl": "https://webhook.site/b503d1a9-e726-f315254a6ede"
}
```

## Response 200: Business result in ResponseCode: `0001`, `4000`. See the response code table.

```json
{
  "message": "Transaction pending. Expect callback request for final state.",
  "responseCode": "0001",
  "data": {
    "orderId": "b230733cd56b4a0fad820e39f66bc27c"
  }
}
```

Full schema: /openapi/v1/refunds.json