---
title: "Withdraw a Payment"
method: POST
path: "/v1/payments/{paymentId}/withdraw"
tags: ["Payout Service"]
---

# Withdraw a Payment

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

withdraw a payment

There are a variety of reasons why this can fail

*   the payment must be in a state of 'accepted' or 'unfunded'
*   the payout must not be in a state of 'instructed'

## Path parameters

- `paymentId` string, uuid, required

## Request body

- WithdrawPaymentRequest
  - `reason` string, required — Reason for withdrawal

## Response `204`

The payment was withdrawn

## Other responses

- `400` — Invalid request. See Error message payload for details of failure
- `401` — Invalid access token. May be expired or invalid
- `403` — The authentication does not have permissions to access the resource This usually occurs when there is a valid authentication instance (client or user) but they do not have the required permissions
- `404` — The resource was not found or is no longer available

## Changes

- **2020-09-25** `dd71433847a6` — 4 breaking, 24 info
  - the `errors/items/` response's property type changed from no type to `object` for status `400`
  - the `errors/items/` response's property type changed from no type to `object` for status `401`
  - the `errors/items/` response's property type changed from no type to `object` for status `403`
  - the `errors/items/` response's property type changed from no type to `object` for status `404`
  - …24 more
- **2020-06-24** `aded220b0d7b` — 2 breaking, 2 info
  - the response's body type changed from `object` to no type for status `404`
  - the `errors/items/` response's property type changed from `object` to no type for status `404`
  - api tag `Payout Service` added
  - api tag `Withdraw Payment` removed
- **2020-03-19** `10644a139f81` — 1 info
  - endpoint added
- **2019-07-15** `ced8e167a97c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/velopaymentsapi/apis/velo-payments-apis/changes/v1/payments/:paymentId/withdraw/post.md)

---

[API](https://skmtc.dev/velopaymentsapi/apis/velo-payments-apis.md) · [All operations](https://skmtc.dev/velopaymentsapi/apis/velo-payments-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/velopaymentsapi/apis/velo-payments-apis/revisions/25a3d8f6e24a?raw)
