Add an allowed origin for the API credential

POST {{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins

Adds a new allowed origin to the API credential's list of allowed origins. To make this request, your API credential must have the following roles: * Management API—API credentials read and write

Request Body

{"domain"=>"https://www.eu.mystore.com"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"domain":"https://www.eu.mystore.com","_links":{"self":{"href":"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN"}}}