Update a notification subscription configuration
Updates an existing notification subscription configuration. If you are updating the event types, you must provide all event types, otherwise the previous event type configuration will be overwritten.
Details of the notification subscription configuration to be updated.
Indicates whether the notification subscription is active.
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.
A description of the notification subscription configuration.
Contains objects that define event types and their subscription settings.
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.
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 theincludeMode
set to EXCLUDE.
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).
Adyen-generated ID for the entry, returned in the response when you create a notification configuration. Required when updating an existing configuration using /updateNotificationConfiguration
.
The password to use when accessing the notifyURL with the specified username.
The URL to which the notifications are to be sent.
The username to use when accessing the notifyURL.
The SSL protocol employed by the endpoint.
Permitted values:
TLSv12
,TLSv13
.
After submitting a call, you receive a response message to inform you that your request was received and processed.
Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.
HTTP Responses
200 - OK
The request has succeeded.
configurationDetailsobjectDetails of the notification subscription configuration.
activebooleanIndicates whether the notification subscription is active.
apiVersionintegerThe 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.
descriptionstringA description of the notification subscription configuration.
eventConfigsarray[object]Contains objects that define event types and their subscription settings.
eventTypestringThe 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.
includeModestringIndicates 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 theincludeMode
set to EXCLUDE.
hmacSignatureKeystringA 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 headerProtocol
. A notification body along with itshmacSignatureKey
andProtocol
can be used to calculate a hash value; matching this hash value with theHmacSignature
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
andProtocol
headers in notification(s).notificationIdintegerAdyen-generated ID for the entry, returned in the response when you create a notification configuration. Required when updating an existing configuration using
/updateNotificationConfiguration
.notifyPasswordstringThe password to use when accessing the notifyURL with the specified username.
notifyURLstringThe URL to which the notifications are to be sent.
notifyUsernamestringThe username to use when accessing the notifyURL.
sslProtocolstringThe SSL protocol employed by the endpoint.
Permitted values:
TLSv12
,TLSv13
.invalidFieldsarray[object]Contains field validation errors that would prevent requests from being processed.
errorCodeintegerThe validation error code.
errorDescriptionstringA description of the validation error.
fieldTypeobjectThe type of error field.
fieldstringThe full name of the property.
fieldNamestringThe type of the field.
shareholderCodestringThe code of the shareholder that the field belongs to. If empty, the field belongs to an account holder.
pspReferencestringThe reference of a request. Can be used to uniquely identify the request.
resultCodestringThe result code.
- INCLUDE: Send the specified
400 - Bad Request
A problem reading or understanding the request.
errorCodestringThe error code mapped to the error message.
errorTypestringThe category of the error.
messagestringA short explanation of the issue.
pspReferencestringThe PSP reference of the payment.
statusintegerThe HTTP response status.
401 - Unauthorized
Authentication required.
errorCodestringThe error code mapped to the error message.
errorTypestringThe category of the error.
messagestringA short explanation of the issue.
pspReferencestringThe PSP reference of the payment.
statusintegerThe HTTP response status.
403 - Forbidden
Insufficient permissions to process the request.
errorCodestringThe error code mapped to the error message.
errorTypestringThe category of the error.
messagestringA short explanation of the issue.
pspReferencestringThe PSP reference of the payment.
statusintegerThe HTTP response status.
422 - Unprocessable Entity
A request validation error.
errorCodestringThe error code mapped to the error message.
errorTypestringThe category of the error.
messagestringA short explanation of the issue.
pspReferencestringThe PSP reference of the payment.
statusintegerThe HTTP response status.
500 - Internal Server Error
The server could not process the request.
errorCodestringThe error code mapped to the error message.
errorTypestringThe category of the error.
messagestringA short explanation of the issue.
pspReferencestringThe PSP reference of the payment.
statusintegerThe HTTP response status.