ManagementAllowed originsAllowed origins company level

Get an allowed origin

GET
/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}

Returns the allowed origin identified in the path.

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

  • Management API—API credentials read and write

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

companyId*string

The unique identifier of the company account.

apiCredentialId*string

Unique identifier of the API credential.

originId*string

Unique identifier of the allowed origin.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/companies/string/apiCredentials/string/allowedOrigins/string"

Example response for getting an allowed origin for the API credential.

{  "id": "YOUR_ALLOWED_ORIGIN",  "domain": "https://www.us.mystore.com",  "_links": {    "self": {      "href": "https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN"    }  }}