POST /createNotificationConfiguration

Creates a subscription to notifications informing you of events on your platform. After the subscription is created, the events specified in the configuration will be sent to the URL specified in the configuration. Subscriptions must be configured on a per-event basis (as opposed to, for example, a per-account holder basis), so all event notifications of a marketplace and of a given type will be sent to the same endpoint(s). A marketplace may have multiple endpoints if desired; an event notification may be sent to as many or as few different endpoints as configured.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
configurationDetails Object Yes

Details of the prospective notification subscription configuration.

configurationDetails.notifyPassword String No

The password to use when accessing the notifyURL with the specified username.

configurationDetails.active Boolean No

Indicates whether the notification subscription is active.

configurationDetails.description String No

A description of the notification subscription configuration.

configurationDetails.notifyURL String No

The URL to which the notifications are to be sent.

configurationDetails.sslProtocol String No

The SSL protocol employed by the endpoint.

Permitted values: TLSv12, TLSv13.

Possible values:

  • "TLSv13"
  • "TLSv12"
configurationDetails.notificationId Integer No

Adyen-generated ID for the entry, returned in the response when you create a notification configuration. Required when updating an existing configuration using /updateNotificationConfiguration.

configurationDetails.notifyUsername String No

The username to use when accessing the notifyURL.

configurationDetails.hmacSignatureKey String No

A string with which to salt the notification(s) before hashing. If this field is provided, a hash value will be included under the notification header HmacSignature and the hash protocol will be included under the notification header Protocol. A notification body along with its hmacSignatureKey and Protocol can be used to calculate a hash value; matching this hash value with the HmacSignature will ensure that the notification body has not been tampered with or corrupted.

Must be a 32-byte hex-encoded string (i.e. a string containing 64 hexadecimal characters; e.g. "b0ea55c2fe60d4d1d605e9c385e0e7f7e6cafbb939ce07010f31a327a0871f27").

The omission of this field will preclude the provision of the HmacSignature and Protocol headers in notification(s).

configurationDetails.apiVersion Integer No

The version of the notification to which you are subscribing. To make sure that your integration can properly process the notification, subscribe to the same version as the API that you're using.

configurationDetails.eventConfigs[] Array No

Contains objects that define event types and their subscription settings.

configurationDetails.eventConfigs[].includeMode String Yes

Indicates whether the specified eventType is sent to your webhook endpoint. Possible values:

  • INCLUDE: Send the specified eventType.
  • EXCLUDE: Send all event types except the specified eventType and other event types with the includeMode set to EXCLUDE.

Possible values:

  • "INCLUDE"
  • "EXCLUDE"
configurationDetails.eventConfigs[].eventType String Yes

The type of event.

Possible values: ACCOUNT_CLOSED, ACCOUNT_CREATED, ACCOUNT_FUNDS_BELOW_THRESHOLD, ACCOUNT_HOLDER_CREATED, ACCOUNT_HOLDER_LIMIT_REACHED, ACCOUNT_HOLDER_PAYOUT, ACCOUNT_HOLDER_STATUS_CHANGE, ACCOUNT_HOLDER_STORE_STATUS_CHANGE, ACCOUNT_HOLDER_UPCOMING_DEADLINE, ACCOUNT_HOLDER_UPDATED, ACCOUNT_HOLDER_VERIFICATION, ACCOUNT_UPDATED, BENEFICIARY_SETUP, COMPENSATE_NEGATIVE_BALANCE, DIRECT_DEBIT_INITIATED, PAYMENT_FAILURE, REFUND_FUNDS_TRANSFER, REPORT_AVAILABLE, SCHEDULED_REFUNDS, TRANSFER_FUNDS.

Possible values:

  • "ACCOUNT_HOLDER_PAYOUT"
  • "COMPENSATE_NEGATIVE_BALANCE"
  • "SCHEDULED_REFUNDS"
  • "REFUND_FUNDS_TRANSFER"
  • "PAYMENT_FAILURE"
  • "PENDING_CREDIT"
  • "ACCOUNT_FUNDS_BELOW_THRESHOLD"
  • "ACCOUNT_HOLDER_UPCOMING_DEADLINE"
  • "ACCOUNT_HOLDER_STATUS_CHANGE"
  • "ACCOUNT_UPDATED"
  • "SCORE_SIGNAL_TRIGGERED"
  • "ACCOUNT_CLOSED"
  • "ACCOUNT_HOLDER_CREATED"
  • "FUNDS_MIGRATED"
  • "ACCOUNT_HOLDER_STORE_STATUS_CHANGE"
  • "ACCOUNT_HOLDER_LIMIT_REACHED"
  • "DIRECT_DEBIT_INITIATED"
  • "BENEFICIARY_SETUP"
  • "REPORT_AVAILABLE"
  • "ACCOUNT_HOLDER_MIGRATED"
  • "TRANSFER_FUNDS"
  • "TRANSFER_NOT_PAIDOUT_TRANSFERS"
  • "ACCOUNT_HOLDER_UPDATED"
  • "ACCOUNT_HOLDER_VERIFICATION"
  • "ACCOUNT_CREATED"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.