Skip to content
Wire Ghdocs

Refunds

Send all or part of a successful payment back to your customer. Mobile Money payments go back to their Mobile Money wallet, and Wire Gh wallet payments go back to their Wire Gh wallet at once.

Create a refund

Call Create Refund with the transaction reference or ID. Leave out amount to refund everything that has not already been refunded.

POST/refund
curl https://api.wiregh.com/refund \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
  "transaction": "WG2611096D4HQE52FMY9KW",
  "amount": 2000,
  "customer_note": "Sorry, this item is out of stock"
}' \
-X POST
Response
{
  "status": true,
  "message": "Refund has been queued for processing",
  "data": {
    "id": 34,
    "integration": 100231,
    "domain": "test",
    "transaction": 173,
    "transaction_reference": "WG2611096D4HQE52FMY9KW",
    "amount": 2000,
    "currency": "GHS",
    "status": "processed",
    "refunded_by": "merchant_api",
    "customer_note": null,
    "merchant_note": "Item out of stock",
    "refunded_at": "2026-11-09T01:03:40.000Z",
    "createdAt": "2026-11-09T01:03:40.000Z"
  }
}

Partial refunds

You can refund a transaction in several parts. Each refund can be up to the amount not yet refunded, and refunded_amount on the transaction shows the running total. When the full amount has been refunded, the transaction status becomes reversed.

Refund statuses

StatusMeaningWebhook
pendingQueued for processing.
processingSent to the network, waiting for confirmation.refund.pending
processedThe money is back with the customer.refund.processed
failedThe refund could not be completed. The amount is returned to your balance.refund.failed
needs_attentionOur team is looking into it. No action is needed from you.

Your balance

Refunds are paid from your Wire Gh balance, from the pending or available part depending on whether the payment has settled yet. If your balance cannot cover a refund, the request fails with insufficient_balance. Check your balance any time with Check Balance.