COMPENSATE_NEGATIVE_BALANCE

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 marketplace account and sends the COMPENSATE_NEGATIVE_BALANCE notification to the marketplace.

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 (tick)

This notification event's type.

For this event, it is COMPENSATE_NEGATIVE_BALANCE.

eventDate DateTime (tick)

NEW IN V4 The date and time when an event has been completed.

executingUserKey String (tick)

A user or process that has triggered the notification.

live Boolean (tick)

Informs about the origin of the notification:

  • true: the notification originated from the live environment.
  • false: the notification originated from the test environment.
pspReference String (tick) PSP Reference of the notification.
content Object (tick)

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 (tick)

The code of the compensated account.

amount Amount (tick)

The compensation amount.

transferDate Date/Time (tick) 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"
   }
}