Skip to main content
The Management API lets you retrieve, create, and update your stores by making API requests. You can also do this manually in your Customer Area, but with API requests you can automate these processes. For more information about stores and point-of-sale account structures, see Set up your Adyen account for point of sale. When creating and managing stores using API requests, you need to be aware of:

Requirements

Before you begin, take into account the following requirements, limitations, and preparations.

Store identification

Historically, stores under a merchant account have a human-readable reference, also known as the store code. This reference is unique for the merchant account. However, it is possible that a store reference is not unique on our platform. So we introduced a platform-generated unique store ID for each store. When you create a store, you can provide a reference for it, and Adyen will automatically assign a unique ID. For existing stores, the situation can vary. We are currently assigning unique IDs to existing stores, but it will take a while before this is completed. This means that if your existing store doesn’t have an ID yet, you cannot make a PATCH request to update the store.

Opening and closing stores

Stores can have three statuses that determine how they operate:
  • Active: When you create a store, it is automatically set to active. After assigning and boarding payment terminals, the store is immediately open for business.
  • Inactive: When you change the store status from active to inactive, the store is blocked from accepting new transactions, but capturing outstanding transactions is still possible. The maximum transaction limits and number of Store-and-Forward transactions for the store are set to zero (0). When you change the store status back to active, this restriction is removed.
  • Closed: Before you can close a store, you must first change the store status to inactive. Then, when you change the store status from inactive to closed, all payment terminals under the store are immediately reassigned to the merchant inventory. This means the terminals need to be assigned to a different store and boarded before they can process transactions again. It is not possible to change the status anymore because a closed store cannot be reopened.

Retrieve store details

You can make API requests to:

Get a list of stores

  1. To get a list of stores, use one of the following endpoints: You can filter the paginated response using the following query parameters:
    • pageNumber: returns the stores listed on the specified page.
    • pageSize: the number of stores to have on a page. The default is 10, the maximum is 100.
    • merchantId: the merchant account ID that a store belongs to. You can only use this query parameter with a GET /stores request.
    • reference: the reference of the store. Because a store reference is only unique within a merchant account, a GET /stores request using the store reference as a query parameter returns all stores with that reference, including those of different merchant accounts.
    Get a list of your stores

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. In the response, note the id of the store. You can use this value to get the details of a specific store or to update a store. The next table shows the store details that the response can include. List of stores

Get the details of a specific store

  1. Make sure that you know the id or the reference of the store. To find these values, get a list of stores.
  2. To get the details of a single store, use the following endpoints: You can also use the store reference as a query parameter. Because the reference is only unique within a merchant account, if you use the /stores endpoint you get all stores with that reference, including those of different merchant accounts. To get the details of a store under a merchant account using the store reference, make a GET request to /merchants/{merchantId}/stores?reference={reference}. This example shows how to get information about a store using the store ID in the path. Get the details of a specific store

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  3. Note that the response returns the same details as when you get a list of stores, but only for the specified store. Response showing the store details

Create a store

Before you create a store, make sure you know the merchant account ID that the store will be associated with.
For a list of merchant account IDs accessible with your API key, make a GET /merchants request.
  1. To create a store, make a POST /stores request, specifying: For Japan, the card schemes require two local shopper statements, one in ja-Hani and one in ja-Kana. | | You can also make a POST request to /merchants/{merchantId}/stores using the same parameters. In that case you do not need to include the merchant account ID in the request body.
Create a store