ManagementAccountAccount store level

Create a store

POST
/stores

Creates a store for the merchant account specified in the request.

To make this request, your API credential must have the following role:

  • Management API—Stores read and write

In the live environment, requests to this endpoint are subject to rate limits.

Authorization

AuthorizationBasic <token>

In: header

Request Body

application/json

address*

The address of the store.

businessLineIds?array<string>

The unique identifiers of the business lines that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account.

description*string

Your description of the store.

externalReferenceId?string

The unique identifier of the store, used by certain payment methods and tax authorities.

Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators.

Optional for SIRET in France, up to 14 digits.

Optional for Zip in Australia, up to 50 digits.

localizedInformation?
merchantId*string

The unique identifier of the merchant account that the store belongs to.

phoneNumber*string

The phone number of the store, including '+' and country code in the E.164 format. If passed in a different format, we convert and validate the phone number against E.164.

reference?string

Your reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_).

If you do not provide a reference in your POST request, it is populated with the Adyen-generated id.

shopperStatement*string

The store name to be shown on the shopper's bank or credit card statement and on the shopper receipt. Maximum length: 22 characters; can't be all numbers.

splitConfiguration?

Rules for Adyen for Platforms merchants to split the transaction amount and fees.

subMerchantData?

The sub-merchant data relevant for registered payment facilitators transacting on standalone terminals.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/stores" \  -H "Content-Type: application/json" \  -d '{    "merchantId": "YOUR_MERCHANT_ACCOUNT_ID",    "description": "City centre store",    "shopperStatement": "Springfield Shop",    "phoneNumber": "+13123456789",    "reference": "Spring_store_2",    "address": {      "country": "US",      "line1": "200 Main Street",      "line2": "Building 5A",      "line3": "Suite 3",      "city": "Springfield",      "stateOrProvince": "NY",      "postalCode": "20250"    }  }'

Example response after creating a store

{  "id": "YOUR_STORE_ID",  "address": {    "country": "US",    "line1": "200 Main Street",    "line2": "Building 5A",    "line3": "Suite 3",    "city": "Springfield",    "stateOrProvince": "NY",    "postalCode": "20250"  },  "description": "City centre store",  "merchantId": "YOUR_MERCHANT_ACCOUNT_ID",  "shopperStatement": "Springfield Shop",  "phoneNumber": "+13123456789",  "reference": "Spring_store_2",  "status": "active",  "_links": {    "self": {      "href": "https://management-test.adyen.com/v1/stores/YOUR_STORE_ID"    }  }}