---
title: "Chargeback: Defend"
method: POST
path: "/chargeback_requests/{id}/defend"
tags: ["Chargebacks"]
---

# Chargeback: Defend

`POST /chargeback_requests/{id}/defend`

Submits a defense against a chargeback, including supporting documentation.

A chargeback can only be defended while its status is `pending`. If the due
date has passed, the request returns an error. Defending an already-defended
chargeback returns `204` (idempotent). Only one defense can be created per
chargeback request.

The `document.document_base64` payload must be 15 MB or less. Supported types
are PDF, JPG/JPEG, PNG, and GIF; the type is inferred from the file's bytes,
not the filename.

## Path parameters

- `id` string, required — A unique 25-character alphanumeric resource identifier.

## Request body

- DefendChargebackRequestBody
  - `description` string, required — Explanation of your defense.
  - `document` DefendChargebackDocument, required
    - `document_base64` string, required — Base64-encoded file contents. Must be 15 MB or less. Supported types: PDF, JPG/JPEG, PNG, GIF.
    - `filename` string — Original file name.
    - `content_type` string — MIME type of the file.
  - `product_name` string — Name of the product or service.
  - `shipping_info` DefendChargebackShippingInfo — Shipping details supplied when submitting a defense.
    - `company_name` string — Shipping carrier company name.
    - `shipping_date` string — Date the item was shipped (e.g. 2026-05-20).
    - `tracking_number` string — Carrier tracking number.
    - `shipping_address` string — Destination shipping address.
  - `recipient_info` DefendChargebackRecipientInfo — Recipient details supplied when submitting a defense.
    - `name` string — Recipient's name.
    - `phone` string — Recipient's phone number.
    - `email` string — Recipient's email address.

## Response `204`

204 response

## Other responses

- `400` — Only pending chargebacks can be defended, the due date has passed, or the document payload is invalid
- `401` — Authentication failed
- `404` — Chargeback does not exist, or the feature is disabled for the merchant
- `422` — Missing required parameters, or invalid date-time format in query params

---

[API](https://skmtc.net/komoju/apis/komoju-api.md) · [All operations](https://skmtc.net/komoju/apis/komoju-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/komoju/komoju-api/revisions/65483c40ba32/schema)
