Card Chargebacks

This API is for the merchants to initiate card payments charge-back and refunds from a third-party system.

Before using this resource, please read carefully our article on how we handle Chargebacks and the Terms and Conditions statements on the same.

These endpoints require authentication.

post
Create Chargeback

https://sandbox.intasend.com/api/v1/chargebacks/
Create a new chargeback request. IntaSend will be notified for processing.
Request
Response
Request
Headers
Authentication
required
string
Bearer <Token>
Body Parameters
invoice
required
number
Invoice id of the transaction. This ID is normally returned in the complete card transaction as tracking_id or invoice_id
amount
required
string
Amount to be refunded. Must be equal or less than the billed amount
reason
required
string
Reason for refund
reason_details
optional
string
More details on the reason provided
Response
200: OK
A new chargeback entry details are returned
{
"id": 1,
"transaction": 1,
"invoice": 1,
"amount": 200,
"reason": "Delayed shipping",
"status": "PENDING",
"resolution": "",
"staff_created": "false"
}

get
List Chargeback

https://sandbox.intasend.com/api/v1/chargebacks/
List chargebacks made to the account
Request
Response
Request
Headers
Authentication
required
string
Bearer <Token>
Response
200: OK
Returns array of results
[{
"id": 1,
"transaction": 1,
"invoice": 1,
"amount": 200,
"reason": "Delayed shipping",
"reason_details": "System malfunction, could not send item faster",
"status": "PENDING",
"resolution": "",
"staff_created": "false"
}]

get
Retrieve Chargeback

https://sandbox.intasend.com/api/v1/chargebacks/:chargeback_id/
Retrieve single chargeback record
Request
Response
Request
Path Parameters
chargeback_id
required
integer
Record id to retrieve
Headers
Authentication
optional
string
Bearer <Token>
Response
200: OK
Chargeback record
{
"id": 1,
"transaction": 1,
"invoice": 1,
"amount": 200,
"reason": "Delayed shipping",
"reason_details": "System malfunction, could not send item faster",
"status": "PENDING",
"resolution": "",
"staff_created": "false"
}