---
title: "Voids a payment"
method: PUT
path: "/payments/{id}/void"
tags: ["Payments"]
---

# Voids a payment

`PUT /payments/{id}/void`

Voids the specified payment per the specified parameters

## Path parameters

- `id` string, required

## Request body

- VoidPaymentJson
  - `paymentId` string
  - `voidDate` integer, required
  - `invoiceBalance` number, required
  - `invoiceNumber` string, required
  - `note` string

## Response `200`

successful operation

- PaymentJson
  - `id` string, uuid
  - `paymentId` string
  - `accountId` string, required
  - `paymentMethodId` string, uuid, required
  - `currencyCode` string
  - `state` 'CREATED' | 'CONFIRMED' | 'CAPTURED' | 'PROCESSING' | 'CARD_DECLINED' | 'ACH_TRANSFER_FAILED' | 'RECONCILED' | 'INITIATED' | 'FAILED' | 'SUCCEED' | 'VOIDED'
  - `status` string
  - `amount` number
  - `paymentDate` integer
  - `exchangeRateId` string
  - `exchangeRate` number
  - `exchangeRateDate` integer
  - `functionalAmount` number
  - `functionalAmountCaptured` number
  - `functionalBankFee` number

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/versions/c30f5b9fbfab/schema)
