List settlement refunds

Settlements API v2
GEThttps://api.mollie.com/v2/settlements/*settlementId*/refunds

Retrieve all refunds included in a settlement.

Parameters

Replace settlementId in the endpoint URL by the settlement’s ID, for example stl_jDk30akdN.

This endpoint is an alias of the List refunds endpoint. All parameters for that endpoint can be used here as well.

Response

200 application/hal+json

This endpoint is an alias of the List refunds endpoint. The response is therefore the exact same.

Example

Request

1
2
curl -X GET https://api.mollie.com/v2/settlements/stl_jDk30akdN/refunds \
    -H "Authorization: Bearer access_Wwvu7egPcJLLJ9Kb7J632x8wJ2zMeJ"

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
HTTP/1.1 200 OK
Content-Type: application/hal+json

{
    "_embedded": {
        "refunds": [
            {
                "resource": "refund",
                "id": "re_3aKhkUNigy",
                "amount": {
                    "value": "10.00",
                    "currency": "EUR"
                },
                "status": "refunded",
                "createdAt": "2018-08-30T07:59:02+00:00",
                "description": "Order #33",
                "paymentId": "tr_maJaG2j8OM",
                "settlementAmount": {
                    "value": "-10.00",
                    "currency": "EUR"
                },
                "_links": {
                    "self": {
                        "href": "https://api.mollie.com/v2/payments/tr_maJaG2j8OM/refunds/re_3aKhkUNigy",
                        "type": "application/hal+json"
                    },
                    "payment": {
                        "href": "https://api.mollie.com/v2/payments/tr_maJaG2j8OM",
                        "type": "application/hal+json"
                    },
                    "settlement": {
                        "href": "https://api.mollie.com/v2/settlements/stl_jDk30akdN",
                        "type": "application/hal+json"
                    }
                }
            },
            { }
        ]
    },
    "count": 1,
    "_links": {
        "documentation": {
            "href": "https://docs.mollie.com/reference/v2/settlements-api/list-settlement-refunds",
            "type": "text/html"
        },
        "self": {
            "href": "https://api.mollie.com/v2/settlements/stl_jDk30akdN/refunds?limit=50",
            "type": "application/hal+json"
        },
        "previous": null,
        "next": null
    }
}