Get chargeback

Chargebacks API v1

Warning

The v1 API has been deprecated. The v1 API will be supported for the foreseeable future, at least until July 2023. However, new features will only be added to the v2 API.

The documentation for retrieving chargebacks in the new v2 API can be found here. For more information on the v2 API, refer to our v2 migration guide.

GEThttps://api.mollie.com/v1/payments/*paymentId*/chargebacks/*id*

Retrieve a single chargeback by its ID. Note the original payment’s ID is needed as well.

If you do not know the original payment’s ID, you can use the chargebacks list endpoint.

Parameters

Replace paymentId in the endpoint URL by the payment’s ID, and replace id by the chargeback’s ID. For example: /v1/payments/tr_7UhSN1zuXS/chargebacks/chb_n9z0tp.

Includes

This endpoint allows you to include additional information by appending the following values via the include querystring parameter.

  • payment Include the payment object in the response.

Response

200 application/json

idstring
The chargeback’s unique identifier, for example chb_n9z0tp.
paymentstring|object
The ID of the payment this chargeback belongs to. If the payment include is requested, the ID will be replaced by a payment object as described in Get payment.
amountdecimal
The amount charged back.
chargebackDatetimedatetime
The date and time the chargeback was issued, in ISO 8601 format.
reversedDatetimedatetime
The date and time the chargeback was reversed if applicable, in ISO 8601 format.

Example

Request

1
2
curl -X GET https://api.mollie.com/v1/payments/tr_WDqYK6vllg/chargebacks/chb_n9z0tp \
    -H "Authorization: Bearer test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
HTTP/1.1 200 OK
Content-Type: application/json

{
    "resource": "chargeback",
    "id": "chb_n9z0tp",
    "payment": "tr_WDqYK6vllg",
    "amount": "-35.07",
    "chargebackDatetime": "2018-03-14T17:00:52.0Z",
    "reversedDatetime": null
}