{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/management-create-company-api-credential-request-schema.json", "title": "CreateCompanyApiCredentialRequest", "description": "CreateCompanyApiCredentialRequest schema from Adyen API", "type": "object", "properties": { "allowedOrigins": { "description": "List of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the new API credential.", "items": { "type": "string" }, "type": "array" }, "associatedMerchantAccounts": { "description": "List of merchant accounts that the API credential has access to.", "items": { "type": "string" }, "type": "array" }, "description": { "description": "Description of the API credential.", "type": "string" }, "roles": { "description": "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential. Only roles assigned to 'ws@Company.' can be assigned to other API credentials.", "items": { "type": "string" }, "type": "array" } } }