Get payment chargeback
Chargebacks API

GET
https://api.mollie.nl/v1/payments/paymentId/chargebacks/id
Authentication: API keys OAuth access tokens

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 top level 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

Some endpoints allow you to indicate if you want more information to be included in the API response via the include querystring parameter.

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

Response

200
application/json; charset=utf-8
id
string

The chargeback's unique identifier, for example chb_n9z0tp.

payment
string|object

The id of the payment this chargeback belongs to. However if the payment include is requested, it will be the original payment, as described in Get payment.

amount
decimal

The amount charged back.

chargebackDatetime
datetime

The date and time the chargeback was issued, in ISO 8601 format.

reversedDatetime
datetime | null

The date and time the chargeback was reversed, in ISO 8601 format.

Example

Request code

// Not implemented. Create a pull request:
//   https://github.com/mollie/mollie-api-php

Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
    "resource": "chargeback",
    "id": "chb_n9z0tp",
    "payment": "tr_WDqYK6vllg",
    "amount": "35.07",
    "chargebackDatetime": "2017-12-14T14:05:55.0Z",
    "reversedDatetime": null
}