---
title: "Refund"
method: POST
path: "/refunds"
---

# Refund

`POST /refunds`

Sandbox (Testing): https://global-api.sand.au.edge.zip.co/merchant/refunds

Once a charge has been captured, if a customer wishes to return an item you will need to create a refund.

## Headers

- `Authorization` string, required
- `Idempotency-Key` string, required
- `Zip-Version` string, date, required

## Request body

- object
  - `charge_id` string, required — Zip transaction charge ID to apply the refund.
  - `reference` string — Unique transaction reference.
  - `reason` string, required — Reason of the refund.
  - `amount` string, required — Refund amount.

## Response `200`

200

- object
  - `amount` integer
  - `charge_id` string
  - `created` string
  - `id` string
  - `reason` string
  - `metadata` object

---

[API](https://skmtc.dev/zip/apis/gateway-api.md) · [All operations](https://skmtc.dev/zip/apis/gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zip/gateway-api/revisions/4b1127fdca1e/schema)
