Create an allowed origin
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
In: header
Path Parameters
The unique identifier of the company account.
Unique identifier of the API credential.
Request Body
application/json
Domain of the allowed origin.
Unique identifier of the allowed origin.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/companies/string/apiCredentials/string/allowedOrigins" \ -H "Content-Type: application/json" \ -d '{ "domain": "https://www.eu.mystore.com" }'Example response for adding an allowed origin for the API credential.
{ "id": "YOUR_ALLOWED_ORIGIN", "domain": "https://www.eu.mystore.com", "_links": { "self": { "href": "https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN" } }}Get a list of allowed origins GET
Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write
Get an allowed origin GET
Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write
