On the last day of each month Adyen MarketPay checks if there are any accounts with a negative balance. When such accounts are found, MarketPay compensates their balance from the liable platform account and sends the COMPENSATE_NEGATIVE_BALANCE notification to the platform.
Common fields
The table below lists the fields that are present in each Adyen MarketPay notification and provide general information about the event that triggered this notification.
Name | Type | Returned by default | Description | |||||
---|---|---|---|---|---|---|---|---|
eventType |
String | ![]() |
This notification event's type. For this event, it is COMPENSATE_NEGATIVE_BALANCE. |
|||||
eventDate |
DateTime | ![]() |
NEW IN V4 The date and time when an event has been completed. |
|||||
executingUserKey |
String | ![]() |
A user or process that has triggered the notification. |
|||||
live |
Boolean | ![]() |
Informs about the origin of the notification:
|
|||||
pspReference |
String | ![]() |
PSP Reference of the notification. | |||||
content |
Object | ![]() |
Notification message content, which is specific for each notification type. For the detailed description of its structure, see the table below. |
Content field structure
The content
field of this notification contains the following elements.
Name | Type | Returned by default | Description |
---|---|---|---|
accountCode |
String | ![]() |
The code of the compensated account. |
amount |
Amount | ![]() |
The compensation amount. |
transferDate |
Date/Time | ![]() |
The date when the account was compensated. |
Code example
{ "eventType":"COMPENSATE_NEGATIVE_BALANCE", "eventDate":"2018-04-23T13:13:44+02:00", "executingUserKey":"Compensate Negative Balance", "live":false, "pspReference":"9914713409980138", "content":{ "accountCode":"168114583", "amount":{ "currency":"EUR", "value":5000 }, "transferDate":"2017-03-13T11:10:03+01:00" } }