v1
latestOpenAPI 3.1.02026-07-242325051.4 MBClearing
Clearings:Settlements
A Pay. clearing contains multiple clearing lines. This API returns the clearing grouped by settlements, including the clearing lines. You can filter on a merchant code, so if you are a partner and you have right to that merchants you can retrieve the clearing information for your merchant. You can also filter on settlement code and clearing id.
get/v2/clearings/settlements
Query parameters
pageinteger
The collection page number
limitinteger
The number of items per page
Provides filtering based on merchant code.
{
"eq": "M-1234-4321"
}Filter for a specific clearing ID.
{
"eq": "CLEARING-20212977767"
}Filter settlements by settlement code.
{
"eq": "SK6Y-7PBP"
}Filter settlements by payment date.
{
"eq": "2024-10-01",
"gt": "2024-09-01",
"gte": "2024-09-01",
"lt": "2024-11-01",
"lte": "2024-11-01"
}Filter settlements by turnover group.
{
"eq": "CT-1234-1234",
"neq": "CT-5678-5678"
}Response
OK
Example response
{
"settlements": [
{
"code": "SK6Y-7PBP",
"description": "Clearing: 4 invoices / Funds: 227.562,66",
"settlementDate": "2007-10-02",
"confirmationDate": "2021-12-31",
"amount": {
"value": 100,
"currency": "EUR"
},
"baseAccountIban": "NL35RABO0117713678",
"clearingAccount": {
"method": "iban",
"iban": {
"iban": "NL91ABNA0417164300",
"bic": "ABNANL2A",
"owner": "Robbert van der Werf"
}
},
"clearings": [
{
"clearingId": "CLEARING-20212977767",
"clearingLines": [
{
"code": "RT-1234-4321-1234",
"clearingDate": "2024-06-04",
"settlementDate": "2024-06-04",
"valueDate": "2024-06-04",
"state": "SETTLED",
"turnoverGroup": {
"code": "CT-1234-4321",
"name": "E-Commerce"
},
"clearingLineType": {
"id": 10,
"name": "iDeal",
"direction": "DEBIT",
"collecting": true
},
"amount": {
"value": 100,
"currency": "EUR"
},
"merchant": {
"code": "M-1234-4321",
"name": "GMS Demo Merchant",
"contractPackage": "Corporate"
},
"transactions": 3,
"uniquePayers": 3
}
]
}
]
}
],
"count": 5,
"pages": 2,
"total": 10
}