Chargeback Messages

getChargebackMessagesId

GET
/chargebackMessages/{id}

Query a chargebackMessage. A chargebackMessage resource represents a message that is sent by a Merchant, processor, or bank in relation to a Chargeback.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this chargeback message.

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.

search?string

Set this header to filter or sort the list of resources that the method returns. See Searches for detailed information and examples on how to use search header.

Response Body

application/json

application/json

curl -X GET "https://example.com/chargebackMessages/t1_chm_fd94438bed7d5e80f0000ea"
{  "response": {    "data": [      {        "id": "t1_chm_fd94438bed7d5e80f0000ea",        "created": "2019-09-08 22:30:00.0000",        "modified": "2019-09-08 22:30:00.0000",        "creator": "t1_log_6564b6476c2015fa1c04ec7",        "modifier": "t1_log_6564b6476c2015fa1c04ec7",        "chargeback": "t1_chb_2c2443d86f1c94d3846f85b",        "date": "20190908",        "type": "respond",        "fromQueue": "",        "toQueue": "",        "contact": "",        "amount": 1,        "currency": "USD",        "note": "Charge Merchant",        "status": "processed",        "inactive": 0,        "frozen": 0,        "imported": 1      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}