Skip to main content
PUT
/
chargebacks
/
{id}
Update a chargeback
curl --request PUT \
  --url https://developersandbox-api.flutterwave.com/chargebacks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "accepted",
  "uploaded_proof": "https://example.com/proofs/proof_123.pdf",
  "comment": "",
  "provider": "Visa",
  "arn": "1243453453434234534443423",
  "due_datetime": "2025-05-30T23:59:59Z",
  "proof_data": "JVBERi0xLjIgCjkgMAojX"
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {
    "id": 1,
    "charge_id": "chg_eahdhfThdHsgaSra",
    "amount": 12.34,
    "meta": {},
    "stage": "new",
    "status": "new",
    "type": "local",
    "due_datetime": "2025-05-30T23:59:59Z",
    "created_datetime": "2025-06-01T23:59:59Z",
    "updated_datetime": "2025-06-01T23:59:59Z",
    "settlement_id": "SETTLEMENT-XYZ-12345",
    "uploaded_proof": "https://example.com/proofs/chargeback-ABC-67890.pdf",
    "comment": "Customer claims service not rendered. Attached signed delivery confirmation.",
    "provider": "Visa",
    "arn": "70010000000000000000001",
    "initiator": "Cardholder"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Trace-Id
string

A unique identifier to track this operation. It must be between 12 and 255 characters in length.

Required string length: 12 - 255

Path Parameters

id
string
required

ID of the chargeback

Body

application/json
status
enum<string>

The status indicates the final resolution of a dispute or request, showing whether it has been accepted or declined.

Available options:
accepted,
declined
Example:

"accepted"

uploaded_proof
string

Link to proof against chargeback

Example:

"https://example.com/proofs/proof_123.pdf"

comment
string

Additional comments for the chargeback

Example:

""

provider
string

Provider for the chargeback

Example:

"Visa"

arn
string

Acquirer reference number for transaction

Example:

"1243453453434234534443423"

due_datetime
string<date-time>

The due_datetime specifies the exact date and time by which an action or response is required. This is typically used to set deadlines for submitting documentation or responding to a chargeback.

Example:

"2025-05-30T23:59:59Z"

proof_data
string

Base64 encoded string of proof against chargeback

Example:

"JVBERi0xLjIgCjkgMAojX"

Response

OK

status
enum<string>
Available options:
success,
failed
message
string
data
object

A chargeback object