POST /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
Servers
- https://management-test.adyen.com/v3
Path parameters
Name | Type | Required | Description |
---|---|---|---|
merchantId |
String | Yes |
The unique identifier of the merchant account. |
apiCredentialId |
String | Yes |
Unique identifier of the API credential. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
_links |
Object | No |
References to resources linked to the allowed origin. |
_links.self |
Object | Yes |
Link to the resource itself. |
_links.self.href |
String | No | |
id |
String | No |
Unique identifier of the allowed origin. |
domain |
String | Yes |
Domain of the allowed origin. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.