ACCOUNT_CREATED

This notification is triggered when an account is created.

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

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
pspReference String (tick)
PSP Reference.
accountHolderCode String (tick) A code identifying the account holder, which owns the created account.
accountCode String (tick) A code identifying the created account.
status Enum (tick)

The current status of the account.

Allowed values:

  • Active
  • Inactive
  • Suspended
  • Closed

Code example

{
   "eventType":"ACCOUNT_CREATED",
   "eventDate":"2018-04-23T13:13:44+02:00",
   "executingUserKey":"ws",
   "live":true,
   "pspReference":"Test_ACCOUNT_CREATED",
   "content":{
      "pspReference":"Test_ACCOUNT_CREATED",
      "accountHolderCode":"TestAccountHolder",
      "accountCode":"100000000",
      "status":"Active"
   }
}