---
title: "Update a chargeback"
method: PATCH
path: "/chargebacks/{id}"
---

# Update a chargeback

`PATCH /chargebacks/{id}`

## Request

- Base URL: `https://gateway.pmnts-sandbox.io/v1.0`
- URL: `https://gateway.pmnts-sandbox.io/v1.0/chargebacks/{id}`
- Auth: HTTP basic

## Path parameters

- `id` string, required

## Headers

- `Content-Type` string

## Request body

- object
  - `merchant_status` string: Merchant's status for the chargeback process
  - `purchase_id` string: Id of the purchase to match this chargeback to
  - `metadata` object

## Response `200`

200

- object
  - `successful` boolean
  - `response` object
    - `acquirer_merchant_id` string
    - `id` string
    - `reference` string
    - `chargeback_control_number` string
    - `amount` integer
    - `reason_code` unknown
    - `reason_description` string
    - `status` string
    - `merchant_status` string
    - `due_date` string
    - `transaction_id` string
    - `metadata` object
      - `transaction_date` string
      - `transaction_time` string
    - `created_at` string
    - `updated_at` string
  - `errors` unknown[]
    - unknown
  - `test` boolean

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `a62ddbae3800`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fatzebra/apis/gateway/changes/chargebacks/:id/patch.md)

---

[API](https://skmtc.dev/fatzebra/apis/gateway.md) - [All operations](https://skmtc.dev/fatzebra/apis/gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/fatzebra/apis/gateway/revisions/a62ddbae3800?raw)
