Chargebacks

getChargebacksId

GET
/chargebacks/{id}

Query a Chargeback. A Chargeback is the reversal of a Transaction and means that the funds have been returned to their source. The resource for a Chargeback gives details of the Chargeback, including the reason why it occurred and the date when it occurred.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of the Chargeback.

Query Parameters

embed?string

Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Response Body

application/json

application/json

curl -X GET "https://example.com/chargebacks/t1_chb_678e573098a7706d87b45c1"
{  "response": {    "data": [      {        "id": "t1_chb_678e573098a7706d87b45c1",        "created": "2025-01-20 09:01:20.6435",        "modified": "2025-01-20 09:09:33.7798",        "creator": "t1_log_6564b6476c2015fa1c08th9",        "modifier": "t1_log_6564b6476c2015fa1c08th9",        "merchant": "t1_mer_66a7dcc35e03d452faa32dc",        "txn": "t1_txn_678e56d221e81b116dbb452",        "mid": "01242567",        "description": "Chargeback for the txn of $200,000",        "total": 20000,        "representedTotal": 20000,        "cycle": "first",        "currency": "USD",        "platform": "VANTIV",        "paymentMethod": 1,        "ref": "6574367",        "reason": "No Cardholder Authorization",        "reasonCode": "4837",        "issued": 20140815,        "received": 20140815,        "reply": 20140919,        "bankRef": "6574367",        "chargebackRef": "6574367",        "status": "open",        "lastStatusChange": "6574367",        "actionable": 1,        "shadow": 0,        "inactive": 0,        "frozen": 0      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}