Get Chargeback
curl --request GET \
--url https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/ \
--header 'X-API-Version: <api-key>' \
--header 'X-Client-ID: <api-key>' \
--header 'X-Client-Secret: <api-key>'import requests
url = "https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/"
headers = {
"X-Client-ID": "<api-key>",
"X-Client-Secret": "<api-key>",
"X-API-Version": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Client-ID': '<api-key>',
'X-Client-Secret': '<api-key>',
'X-API-Version': '<api-key>'
}
};
fetch('https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Version: <api-key>",
"X-Client-ID: <api-key>",
"X-Client-Secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Client-ID", "<api-key>")
req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-API-Version", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/")
.header("X-Client-ID", "<api-key>")
.header("X-Client-Secret", "<api-key>")
.header("X-API-Version", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Client-ID"] = '<api-key>'
request["X-Client-Secret"] = '<api-key>'
request["X-API-Version"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Chargeback details retrieved successfully",
"data": {
"chargeback_id": "CB6358819770",
"payment_id": "PR1400935863",
"order_id": "OD8950153797",
"order_reference_id": "ORDER-10422",
"amount": "2500.00",
"status": "PENDING_DOC_REVIEW",
"action": "contest",
"chargeback_type": "Chargeback",
"reason_description": "Goods or Services Not Provided / Not Received",
"raised_on": "2026-10-26T03:47:59Z",
"respond_by": "2026-11-02T03:47:59Z",
"can_respond": false,
"created_at": "2026-10-26T03:47:59Z",
"response": {
"action": "contest",
"condition": "product_delivered",
"submitted_at": "2026-10-26T03:48:13Z"
}
}
}{
"success": false,
"error": {
"code": 40669,
"message": "Chargeback not found",
"details": {
"chargeback_id": "Chargeback not found"
}
}
}Chargeback
Get Chargeback
Retrieve one chargeback, with your latest answer to it.
GET
/
pg
/
chargebacks
/
{chargeback_id}
/
Get Chargeback
curl --request GET \
--url https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/ \
--header 'X-API-Version: <api-key>' \
--header 'X-Client-ID: <api-key>' \
--header 'X-Client-Secret: <api-key>'import requests
url = "https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/"
headers = {
"X-Client-ID": "<api-key>",
"X-Client-Secret": "<api-key>",
"X-API-Version": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Client-ID': '<api-key>',
'X-Client-Secret': '<api-key>',
'X-API-Version': '<api-key>'
}
};
fetch('https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Version: <api-key>",
"X-Client-ID: <api-key>",
"X-Client-Secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Client-ID", "<api-key>")
req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-API-Version", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/")
.header("X-Client-ID", "<api-key>")
.header("X-Client-Secret", "<api-key>")
.header("X-API-Version", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-pacb-uat.eximpe.com/pg/chargebacks/{chargeback_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Client-ID"] = '<api-key>'
request["X-Client-Secret"] = '<api-key>'
request["X-API-Version"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Chargeback details retrieved successfully",
"data": {
"chargeback_id": "CB6358819770",
"payment_id": "PR1400935863",
"order_id": "OD8950153797",
"order_reference_id": "ORDER-10422",
"amount": "2500.00",
"status": "PENDING_DOC_REVIEW",
"action": "contest",
"chargeback_type": "Chargeback",
"reason_description": "Goods or Services Not Provided / Not Received",
"raised_on": "2026-10-26T03:47:59Z",
"respond_by": "2026-11-02T03:47:59Z",
"can_respond": false,
"created_at": "2026-10-26T03:47:59Z",
"response": {
"action": "contest",
"condition": "product_delivered",
"submitted_at": "2026-10-26T03:48:13Z"
}
}
}{
"success": false,
"error": {
"code": 40669,
"message": "Chargeback not found",
"details": {
"chargeback_id": "Chargeback not found"
}
}
}The request and response are the same whatever
X-API-Version you send. v1, v2 and v3 integrations share these chargeback endpoints.