v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-131362831.1 MB
Allowed origins - company level

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
post/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins

Path parameters

companyIdstring required

The unique identifier of the company account.

apiCredentialIdstring required

Unique identifier of the API credential.

Request body

domainstring required

Domain of the allowed origin.

idstring

Unique identifier of the allowed origin.

Example request

{
  "domain": "https://adyen.com"
}

Response

OK - the request has succeeded.

domainstring required

Domain of the allowed origin.

idstring

Unique identifier of the allowed origin.

Example response

{
  "domain": "https://adyen.com"
}