---
title: "Submit a refund for a payment"
method: POST
path: "/v1/payments/{paymentId}/refunds"
tags: ["Refunding payments"]
---

# Submit a refund for a payment

`POST /v1/payments/{paymentId}/refunds`

Return issued refund information. The Authorisation token needs to be specified in the 'authorization' header as 'authorization: Bearer YOUR_API_KEY_HERE'

## Path parameters

- `paymentId` string, required

## Request body

- PaymentRefundRequest — The Payment Refund Request Payload
  - `amount` integer, required — Amount in pence. Can't be more than the available amount for refunds
  - `refund_amount_available` integer — Amount in pence. Total amount still available before issuing the refund

## Response `200`

successful operation

- Refund
  - `refund_id` string
  - `created_date` string
  - `amount` integer
  - `_links` RefundLinksForSearch — links for search refunds resource
    - `self` Link — A link related to a payment
      - `href` string
      - `method` string
    - `payment` Link — A link related to a payment
      - `href` string
      - `method` string
  - `status` 'submitted' | 'success' | 'error'

## Other responses

- `202` — ACCEPTED
- `401` — Credentials are required to access this resource
- `404` — Not found
- `412` — Refund amount available mismatch
- `429` — Too many requests
- `500` — Downstream system error

## Changes

- **2019-08-01** `6e01c8022b87` — 2 info
  - api tag `Refunding payments` added
  - api tag `Refunds` removed
- **2019-07-31** `f8066d82895d` — 1 info
  - api operation id `submitRefund` removed and replaced with `Submit a refund for a payment`
- **2019-07-31** `ef50a2b1c4f1` — 2 info
  - api tag `Refunds` added
  - api tag `refunds` removed
- **2019-02-22** `89daf4ffa64f` — 3 info
  - api operation id `Submit a refund for a payment` removed and replaced with `submitRefund`
  - api tag `refunds` added
  - api tag `Refunding card payments` removed

[Change history](https://skmtc.dev/alphagov/apis/gov-uk-pay-api/changes/v1/payments/:paymentId/refunds/post.md)

---

[API](https://skmtc.dev/alphagov/apis/gov-uk-pay-api.md) · [All operations](https://skmtc.dev/alphagov/apis/gov-uk-pay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/alphagov/apis/gov-uk-pay-api/revisions/6e01c8022b87?raw)
