Chargebacks and refunds
To refund all or part of a completed collection, raise a chargeback:
curl -X POST https://api.intasend.com/api/v1/chargebacks/ \
-H "Authorization: Bearer $INTASEND_SECRET_KEY" -H "Content-Type: application/json" \
-d '{"invoice_id": "ABC123", "amount": 100, "reason": "Duplicate payment"}'
| Field | Description |
|---|---|
invoice_id | A COMPLETE invoice on your account |
amount | Up to the invoice value |
reason | Unavailable service, Delayed delivery, Wrong service, Duplicate payment or Other |
The payment's transaction becomes CHARGEBACK-PENDING until the chargeback is resolved. KES M-Pesa refunds are processed automatically.
status | Meaning |
|---|---|
PENDING | Raised |
PROCESSING | Refund in progress |
COMPLETED | Refunded. The transaction is REFUNDED |
DISPUTED / OVERDUE | Under review |
CANCELLED | Withdrawn. The funds are released back |
Updates are sent as the reversal_event webhook.