---
title: "Account settings webhooks"
description: "Receive status updates for your company and merchant accounts and stores."
url: "https://docs.adyen.com/development-resources/webhooks/webhook-types/account-settings-webhooks"
source_url: "https://docs.adyen.com/development-resources/webhooks/webhook-types/account-settings-webhooks.md"
canonical: "https://docs.adyen.com/development-resources/webhooks/webhook-types/account-settings-webhooks"
last_modified: "2023-05-26T17:38:00+02:00"
language: "en"
---

# Account settings webhooks

Receive status updates for your company and merchant accounts and stores.

[View source](/development-resources/webhooks/webhook-types/account-settings-webhooks.md)

Account setting [webhooks](/development-resources/webhooks) inform you of status changes related to your company account, merchant accounts, and stores.

For example, an account settings webhook event is sent when:

* A merchant account or store is created, activated, deactivated, or closed.
* The main settlement currency is changed.
* A merchant account is assigned to a different merchant category code (MCC).

On this page we describe what you need to do to receive account settings webhooks, what triggers them, and what they contain.

## Set up account settings webhooks

1. [Expose an endpoint on your server](/development-resources/webhooks/configure-and-manage#expose-an-endpoint-on-your-server) where you want to receive account settings webhooks.

2. Implement a way to [accept webhooks](/development-resources/webhooks/configure-and-manage#accept-webhooks). This includes [verifying the HMAC signature](/development-resources/webhooks/secure-webhooks/verify-hmac-signatures) using our libraries or your own solution. You must acknowledge every notification with a [successful HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#successful_responses), for example **202**, within 10 seconds.

3. Configure account settings webhooks as described in [Set up webhooks in your Customer Area](/development-resources/webhooks/configure-and-manage#set-up-webhooks-in-your-customer-area). Note the following:

   * In your [Customer Area](https://ca-test.adyen.com/), go to **Developers** > **Webhooks**, and select **+ Webhook**. In the pop-up window, find **Account settings details**, and select **Add**.

   * Under **Server Configuration** > **Method**, select *JSON* as the notification format.

When [going live](/development-resources/webhooks/configure-and-manage#test-and-go-live), you need to configure account settings webhooks again in your [live Customer Area](https://ca-live.adyen.com/). If you are using HMAC signed webhooks, this includes generating and verifying a new HMAC key.

### Exclude account fields from SOAP webhooks

If you selected *SOAP* as the notification format, you can customize the content by excluding one or more [account field names](#accountfieldnames) from your implementation of the WSDL definition. The corresponding information is then not included in the notification messages.\
These are the **test** and **live** URL endpoints exposing the WSDL definitions:

|                                                    |                                                                             |
| -------------------------------------------------- | --------------------------------------------------------------------------- |
| **Test account settings** **notification service** | https\://ca-**test**.adyen.com/ca/services/AccountSettingsNotification?wsdl |
| **Live account settings** **notification service** | https\://ca-**live**.adyen.com/ca/services/AccountSettingsNotification?wsdl |

When you exclude a field, no new webhooks are generated for that field. However, if there are any pending unsent webhook events that include it, they are processed normally and the excluded field is not removed before sending.

## Events that trigger account settings webhooks

Account settings webhooks are sent when there is a change in one or more of the following account fields for your company account, merchant account, or store:

| Account field              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| -------------------------- |   |
| **`accountStatus`**        | The status of the account or store:- `PreActive`: The merchant account or store has been created, but not yet activated.

- `Active`: The merchant account or store has been activated. This means you can process payments over the merchant account or store.

- `Inactive`: The merchant account or store is currently not active.

- `InactiveWithModifications`: The merchant account or store is currently not active, but payment modifications such as refunds are still allowed.

- `Closed`: The merchant account or store has been closed. Closing a merchant account also closes any underlying stores.Merchant accounts can also have the following status:- `TemporaryInactive`: The merchant account is temporarily not active. |
| **`blockPayout`**          | The payable status of a payout. For example, `Payable` or `Blocked`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **`merchantName`**         | The registered merchant name associated with the account. For example, Acme.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **`settlementCurrency`**   | The primary currency used for settlements, in [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217) format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **`merchantCategoryCode`** | The [merchant category code (MCC)](https://en.wikipedia.org/wiki/Merchant_category_code) assigned to the merchant by the card issuer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |

## Structure of account settings webhooks

account settings webhooks show information in the following fields:

| Notification field     | Type   | Included by default                                                                         | Description                                                                                                                                                                                                                                                                                                                 |
| ---------------------- | ------ | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`entityKey`**        | String | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | The entity that was changed. This can be at company, merchant, store, or user level. Format:- `Company.companyCode`
- `MerchantAccount.merchantCode`
- `Store.merchantCode.storeCode`
- [code>username@accountKey\</code](mailto:code>username@accountKey</code)                                                            |
| **`executingDate`**    | String | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | The date and time when the change was applied. Format:- [`YYYY_MM_DD_HH_MM_SS_sss_Z`](http://www.w3.org/TR/NOTE-datetime)                                                                                                                                                                                                   |
| **`executingUserKey`** | String | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | Identifies the author of the change. Format:- [code>username@accountKey\</code](mailto:code>username@accountKey</code)If a change is implemented by Adyen, the `executingUserKey` value is **internal**.``                                                                                                                  |
| **`fieldName`**        | String | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | The [account field](/development-resources/webhooks/webhook-types/account-settings-webhooks#accountfieldnames) that the change applies to: - `accountStatus`

- `blockPayout`

- `merchantName`

- `settlementCurrency`

- `merchantCategoryCode`                                                                           |
| **`newValue`**         | String | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | Returns the new or current value that replaced the old one.                                                                                                                                                                                                                                                                 |
| **`oldValue`**         | String | ![-x-](/user/data/smileys/emoji/x.png "-x-")                                                | Returns the original value, before it was changed.                                                                                                                                                                                                                                                                          |
| **`pspReference`**     | String | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | Adyen's 16-character unique reference associated with the change that triggered the notification. Normally a PSP reference is associated with a payment. In this case it isn't, so **NO\_PSP\_REF** is added before the 16 characters. This value is globally unique; quote it when communicating with us about the change. |

## Examples

#### Account status change: store de-activated

```json
{
    "entityKey": "Store.Acme_POS.Acme_Store2",
    "executingDate": "2020-04-21 18:01:19.263 CEST",
    "executingUserKey": "internal",
    "fieldName": "accountStatus",
    "newValue": "Inactive",
    "oldValue": "Active",
    "pspReference": "NO_PSP_REF_1587484879263067"
}
```

#### Payout status change

```json
{
    "entityKey": "MerchantAccount.AcmeBulkSettlement",
    "executingDate": "2015-07-13 19:37:22.403 CEST",
    "executingUserKey": "internal",
    "fieldName": "blockPayout",
    "newValue": "Payable",
    "oldValue": "Blocked",
    "pspReference": "NO_PSP_REF_9914368090421650"
}
```

#### Merchant name change

```json
{
    "entityKey": "MerchantAccount.SimoneFrancez",
    "executingDate": "2020-02-21 20:44:23.693 CET",
    "executingUserKey": "internal",
    "fieldName": "merchantName",
    "newValue": "Si",
    "oldValue": "Sim",
    "pspReference": "NO_PSP_REF_1582314263693431"
}
```

#### Settlement currency change

```json
{
    "entityKey": "MerchantAccount.Acme",
    "executingDate": "2020-02-06 00:54:01.700 CET",
    "executingUserKey": "internal",
    "fieldName": "settlementCurrency",
    "newValue": "USD",
    "oldValue": "EUR",
    "pspReference": "NO_PSP_REF_1580946841700291"
}
```

## See also

* [Verify HMAC signatures](/development-resources/webhooks/secure-webhooks/verify-hmac-signatures)
