List chargebacks

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 listing 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/chargebacks
GEThttps://api.mollie.com/v1/payments/*paymentId*/chargebacks

Retrieve all received chargebacks. If the payment-specific endpoint is used, only chargebacks for that specific payment are returned.

The results are paginated. See pagination for more information.

Parameters

When using the payment-specific endpoint, replace paymentId in the endpoint URL by the payment’s ID, for example tr_7UhSN1zuXS.

offsetintegeroptional
The number of chargebacks to skip.
countintegeroptional
The number of chargebacks to return (with a maximum of 250).

Includes

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

  • payment For each chargeback, include the payment it belongs to.

Response

200 application/json

totalCountinteger
The total number of chargebacks available.
offsetinteger
The number of skipped chargebacks as requested.
countinteger
The number of chargebacks found in data, which is either the requested number (with a maximum of 250) or the default number.
dataarray
An array of chargebacks objects as described in Get chargeback.
linksobject

Links to help navigate through the lists of chargebacks, based on the given offset.

Show child parameters

previousstring
The previous set of chargebacks, if available.
nextstring
The next set of chargebacks, if available.
firststring
The first set of chargebacks, if available.
laststring
The last set of chargebacks, if available.

Example

Request

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

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
HTTP/1.1 200 OK
Content-Type: application/json

{
    "totalCount": 3,
    "offset": 0,
    "count": 3,
    "data": [
        {
            "resource": "chargeback",
            "id": "chb_n9z0tp",
            "payment": "tr_WDqYK6vllg",
            "amount": "-35.07",
            "chargebackDatetime": "2018-03-14T17:00:53.0Z",
            "reversedDatetime": null
        },
        { },
        { }
    ]
}