Chargebacks

Overview

The Chargebacks API handles disputed transactions. It’s commonly used when a customer claims a charge was unauthorized or fraudulent, or if a refund was declined and a formal dispute is necessary.

Endpoint

When a chargeback occurs, merchants must:

Use POST {baseUrl}/api/v1/Chargeback/AcceptChargeBack to accept

JSON
{
  "txRef": "CHG53827867342",
  "note": "I accept that the value was not delivered to the customer."
}
curl -X 'POST' \
  '{baseUrl}/api/v1/Chargeback/AcceptChargeBack' \
  -H 'accept: text/plain' \
  -H 'DeviceType: 1' \
  -H 'ApplicationID: 3qfw3' \
  -H 'SecretKey: afwqefdqfe' \
  -H 'Authorization: bearer gl0JhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9' \
  -H 'Content-Type: application/json' \
  -d 'JSON
{
  "txRef": "CHG53827867342",
  "note": "I accept that the value was not delivered to the customer."
}'

For disputes: Attach evidence (proof of delivery, receipts, or communications) via multipart/form-data POST {baseUrl}/api/v1/Chargeback/DeclineChargeBack?TxRef=SSP637544_INV01&Note=enter note

Track status via GET {baseUrl}/api/v1/Chargeback/GetChargeBackDispute?disputeId={id} Automated webhooks notify on new chargebacks and status changes.

GET All : {baseUrl}/api/v1/Chargeback/GetAllChargeBackDispute?StartDate=01-01-2025&EndDate=12-12-2025&PageNumber=1&PageSize=20

Example Response

Purpose

Facilitates the process for users or merchants to dispute unauthorized or problematic transactions and formally initiate a chargeback claim. Typically used when:

  • A refund is denied

  • A customer suspects fraud

  • Services were not delivered

Last updated