TRANSFER_FUNDS

This notification is triggered in case the /transferFunds request has been called.

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 TRANSFER_FUNDS.

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

sourceAccountCode

String (tick) A code of the account, from which the funds should be reduced.

destinationAccountCode

String (tick) A code of the account, to which the funds should be transferred.

amount

Amount (tick) The amount to be transferred.

transferCode

String (tick)

One of the predefined codes that identify the type of a transfer.

To define transfer codes for your marketplace account, contact Support Team.

status OperationStatus (tick)

Status of the transfer operation.

Possible status codes:

  • Success
  • Failed
merchantReference String (error) A unique value that you can provide to link multiple transactions to each other.

Code example: Sent to a marketplace if there are not enough funds on the source account

{
   "eventType":"TRANSFER_FUNDS",
   "eventDate":"2018-04-23T13:13:44+02:00",
   "executingUserKey":"ws",
   "live":true,
   "pspReference":"9914748996740271",
   "content":{
      "sourceAccountCode":"100000000",
      "destinationAccountCode":"190324759",
      "amount":{
         "currency":"EUR",
         "value":2000
      },
      "transferCode":"CODE_A",
      "status":{
         "statusCode":"Failed",
         "message":{ 
            "code":"10_065",
            "text":"10_065 There is no balance for account 100000000"
         }
      }
   }
}