Settlements API

List settlement refunds

Retrieve all refunds 'deducted' from the given settlement.

The response is in the same format as the response of the List refunds endpoint.

🔑 Access with

Advanced access token with settlements.read refunds.read

OAuth access with settlements.read refunds.read

get/settlements/{settlementId}/refunds

Request

  • Base URL
    https://api.mollie.com/v2
  • URL
    https://api.mollie.com/v2/settlements/{settlementId}/refunds
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://my.mollie.com/oauth2/authorize
      Token URL: https://api.mollie.com/oauth2/tokens scopes: settlements.read, refunds.read

Query parameters

fromstring
Example:re_5B8cwPMGnU

Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the result set.

limitinteger nullable
Example:50

The maximum number of items to return. Defaults to 50 items.

embed'payment'
Example:payment

This endpoint allows embedding related API items by appending the following values via the embed query string parameter.

Response

A list of refund objects.

countinteger required

The number of items in this result set. If more items are available, a _links.next URL will be present in the result as well.

The maximum number of items per result set is controlled by the limit property provided in the request. The default limit is 50 items.

Example response

{
  "count": 5,
  "_embedded": {
    "refunds": [
      {
        "resource": "refund",
        "id": "re_5B8cwPMGnU",
        "mode": "live",
        "description": "Refunding a Chess Board",
        "amount": {
          "currency": "EUR",
          "value": "10.00"
        },
        "settlementAmount": {
          "currency": "EUR",
          "value": "10.00"
        },
        "paymentId": "tr_5B8cwPMGnU",
        "settlementId": "stl_5B8cwPMGnU",
        "status": "refunded",
        "createdAt": "2024-03-20T09:13:37+00:00",
        "externalReference": {
          "type": "acquirer-reference"
        },
        "routingReversals": [
          {
            "amount": {
              "currency": "EUR",
              "value": "10.00"
            },
            "source": {
              "type": "organization",
              "organizationId": "org_1234567"
            }
          }
        ],
        "_links": {
          "self": {
            "href": "https://...",
            "type": "application/hal+json"
          },
          "payment": {
            "href": "https://...",
            "type": "application/hal+json"
          },
          "settlement": {
            "href": "https://...",
            "type": "application/hal+json"
          }
        }
      }
    ]
  },
  "_links": {
    "self": {
      "href": "https://...",
      "type": "application/hal+json"
    },
    "previous": {
      "href": "https://...",
      "type": "application/hal+json"
    },
    "next": {
      "href": "https://...",
      "type": "application/hal+json"
    },
    "documentation": {
      "href": "https://...",
      "type": "application/hal+json"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.