openapi: 3.1.0 info: version: '6' x-publicVersion: true title: Adyen Account acceptDispute testNotificationConfiguration API description: "This API is used for the classic integration. If you are just starting your implementation, refer to our [new integration guide](https://docs.adyen.com/marketplaces-and-platforms) instead.\n\nThe Account API provides endpoints for managing account-related entities on your platform. These related entities include account holders, accounts, bank accounts, shareholders, and verification-related documents. The management operations include actions such as creation, retrieval, updating, and deletion of them.\n\nFor more information, refer to our [documentation](https://docs.adyen.com/marketplaces-and-platforms/classic).\n## Authentication\nYour Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value, for example:\n\n ```\ncurl\n-H \"Content-Type: application/json\" \\\n-H \"X-API-Key: YOUR_API_KEY\" \\\n...\n```\n\nAlternatively, you can use the username and password to connect to the API using basic authentication. For example:\n\n```\ncurl\n-U \"ws@MarketPlace.YOUR_PLATFORM_ACCOUNT\":\"YOUR_WS_PASSWORD\" \\\n-H \"Content-Type: application/json\" \\\n...\n```\nWhen going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).\n\n## Versioning\nThe Account API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://cal-test.adyen.com/cal/services/Account/v6/createAccountHolder\n```" x-timestamp: '2023-05-30T15:27:20Z' termsOfService: https://www.adyen.com/legal/terms-and-conditions contact: name: Adyen Developer Experience team url: https://github.com/Adyen/adyen-openapi servers: - url: https://cal-test.adyen.com/cal/services/Account/v6 tags: - name: testNotificationConfiguration paths: /testNotificationConfiguration: post: tags: - testNotificationConfiguration summary: Adyen Test a Notification Configuration description: Tests an existing notification subscription configuration. For each event type specified, a test notification will be generated and sent to the URL configured in the subscription specified. operationId: post-testNotificationConfiguration x-groupName: General x-sortIndex: 4 x-methodName: testNotificationConfiguration security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: basic: $ref: '#/components/examples/post-testNotificationConfiguration-basic' schema: $ref: '#/components/schemas/TestNotificationConfigurationRequest' responses: '200': content: application/json: examples: basic: $ref: '#/components/examples/post-testNotificationConfiguration-basic-200' schema: $ref: '#/components/schemas/TestNotificationConfigurationResponse' description: OK - the request has succeeded. '400': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-testNotificationConfiguration400Example: summary: Default post-testNotificationConfiguration 400 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Bad Request - a problem reading or understanding the request. '401': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-testNotificationConfiguration401Example: summary: Default post-testNotificationConfiguration 401 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unauthorized - authentication required. '403': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-testNotificationConfiguration403Example: summary: Default post-testNotificationConfiguration 403 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Forbidden - insufficient permissions to process the request. '422': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-testNotificationConfiguration422Example: summary: Default post-testNotificationConfiguration 422 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Unprocessable Entity - a request validation error. '500': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-testNotificationConfiguration500Example: summary: Default post-testNotificationConfiguration 500 response x-microcks-default: true value: errorCode: CODE123 errorType: standard message: example_value pspReference: REF-001 status: 500 description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: ErrorFieldType: properties: errorCode: description: The validation error code. format: int32 type: integer errorDescription: description: A description of the validation error. type: string fieldType: description: The type of error field. $ref: '#/components/schemas/FieldType' type: object FieldType: properties: field: description: The full name of the property. type: string fieldName: description: The type of the field. enum: - accountCode - accountHolderCode - accountHolderDetails - accountNumber - accountStateType - accountStatus - accountType - address - balanceAccount - balanceAccountActive - balanceAccountCode - balanceAccountId - bankAccount - bankAccountCode - bankAccountName - bankAccountUUID - bankBicSwift - bankCity - bankCode - bankName - bankStatement - branchCode - businessContact - cardToken - checkCode - city - companyRegistration - constitutionalDocument - controller - country - countryCode - currency - currencyCode - dateOfBirth - description - destinationAccountCode - document - documentContent - documentExpirationDate - documentIssuerCountry - documentIssuerState - documentName - documentNumber - documentType - doingBusinessAs - drivingLicence - drivingLicenceBack - drivingLicenceFront - drivingLicense - email - firstName - formType - fullPhoneNumber - gender - hopWebserviceUser - houseNumberOrName - iban - idCard - idCardBack - idCardFront - idNumber - identityDocument - individualDetails - infix - jobTitle - lastName - lastReviewDate - legalArrangement - legalArrangementCode - legalArrangementEntity - legalArrangementEntityCode - legalArrangementLegalForm - legalArrangementMember - legalArrangementMembers - legalArrangementName - legalArrangementReference - legalArrangementRegistrationNumber - legalArrangementTaxNumber - legalArrangementType - legalBusinessName - legalEntity - legalEntityType - logo - merchantAccount - merchantCategoryCode - merchantHouseNumber - merchantReference - microDeposit - name - nationality - originalReference - ownerCity - ownerCountryCode - ownerDateOfBirth - ownerHouseNumberOrName - ownerName - ownerPostalCode - ownerState - ownerStreet - passport - passportNumber - payoutMethod - payoutMethodCode - payoutSchedule - pciSelfAssessment - personalData - phoneCountryCode - phoneNumber - postalCode - primaryCurrency - reason - registrationNumber - returnUrl - schedule - shareholder - shareholderCode - shareholderCodeAndSignatoryCode - shareholderCodeOrSignatoryCode - shareholderType - shareholderTypes - shopperInteraction - signatory - signatoryCode - socialSecurityNumber - sourceAccountCode - splitAccount - splitConfigurationUUID - splitCurrency - splitValue - splits - stateOrProvince - status - stockExchange - stockNumber - stockTicker - store - storeDetail - storeName - storeReference - street - taxId - tier - tierNumber - transferCode - ultimateParentCompany - ultimateParentCompanyAddressDetails - ultimateParentCompanyAddressDetailsCountry - ultimateParentCompanyBusinessDetails - ultimateParentCompanyBusinessDetailsLegalBusinessName - ultimateParentCompanyBusinessDetailsRegistrationNumber - ultimateParentCompanyCode - ultimateParentCompanyStockExchange - ultimateParentCompanyStockNumber - ultimateParentCompanyStockNumberOrStockTicker - ultimateParentCompanyStockTicker - unknown - value - verificationType - virtualAccount - visaNumber - webAddress - year type: string shareholderCode: description: The code of the shareholder that the field belongs to. If empty, the field belongs to an account holder. type: string type: object TestNotificationConfigurationRequest: properties: eventTypes: description: 'The event types to test. If left blank, then all of the configured event types will be tested. >Permitted values: `ACCOUNT_HOLDER_CREATED`, `ACCOUNT_CREATED`, `ACCOUNT_UPDATED`, `ACCOUNT_HOLDER_UPDATED`, `ACCOUNT_HOLDER_STATUS_CHANGE`, `ACCOUNT_HOLDER_STORE_STATUS_CHANGE` `ACCOUNT_HOLDER_VERIFICATION`, `ACCOUNT_HOLDER_LIMIT_REACHED`, `ACCOUNT_HOLDER_PAYOUT`, `PAYMENT_FAILURE`, `SCHEDULED_REFUNDS`, `REPORT_AVAILABLE`, `TRANSFER_FUNDS`, `BENEFICIARY_SETUP`, `COMPENSATE_NEGATIVE_BALANCE`.' items: enum: - ACCOUNT_CLOSED - ACCOUNT_CREATED - ACCOUNT_FUNDS_BELOW_THRESHOLD - ACCOUNT_HOLDER_CREATED - ACCOUNT_HOLDER_LIMIT_REACHED - ACCOUNT_HOLDER_MIGRATED - ACCOUNT_HOLDER_PAYOUT - ACCOUNT_HOLDER_STATUS_CHANGE - ACCOUNT_HOLDER_STORE_STATUS_CHANGE - ACCOUNT_HOLDER_UPCOMING_DEADLINE - ACCOUNT_HOLDER_UPDATED - ACCOUNT_HOLDER_VERIFICATION - ACCOUNT_UPDATED - BENEFICIARY_SETUP - COMPENSATE_NEGATIVE_BALANCE - DIRECT_DEBIT_INITIATED - FUNDS_MIGRATED - PAYMENT_FAILURE - PENDING_CREDIT - REFUND_FUNDS_TRANSFER - REPORT_AVAILABLE - SCHEDULED_REFUNDS - SCORE_SIGNAL_TRIGGERED - TRANSFER_FUNDS - TRANSFER_NOT_PAIDOUT_TRANSFERS type: string type: array notificationId: description: The ID of the notification subscription configuration to be tested. format: int64 type: integer required: - notificationId type: object ServiceError: properties: errorCode: description: The error code mapped to the error message. type: string errorType: description: The category of the error. type: string message: description: A short explanation of the issue. type: string pspReference: description: The PSP reference of the payment. type: string status: description: The HTTP response status. format: int32 type: integer type: object ExchangeMessage: properties: messageCode: type: string messageDescription: type: string type: object TestNotificationConfigurationResponse: properties: errorMessages: description: Any error messages encountered. items: type: string type: array eventTypes: description: 'The event types that were tested. >Permitted values: `ACCOUNT_HOLDER_CREATED`, `ACCOUNT_CREATED`, `ACCOUNT_UPDATED`, `ACCOUNT_HOLDER_UPDATED`, `ACCOUNT_HOLDER_STATUS_CHANGE`, `ACCOUNT_HOLDER_STORE_STATUS_CHANGE` `ACCOUNT_HOLDER_VERIFICATION`, `ACCOUNT_HOLDER_LIMIT_REACHED`, `ACCOUNT_HOLDER_PAYOUT`, `PAYMENT_FAILURE`, `SCHEDULED_REFUNDS`, `REPORT_AVAILABLE`, `TRANSFER_FUNDS`, `BENEFICIARY_SETUP`, `COMPENSATE_NEGATIVE_BALANCE`.' items: enum: - ACCOUNT_CLOSED - ACCOUNT_CREATED - ACCOUNT_FUNDS_BELOW_THRESHOLD - ACCOUNT_HOLDER_CREATED - ACCOUNT_HOLDER_LIMIT_REACHED - ACCOUNT_HOLDER_MIGRATED - ACCOUNT_HOLDER_PAYOUT - ACCOUNT_HOLDER_STATUS_CHANGE - ACCOUNT_HOLDER_STORE_STATUS_CHANGE - ACCOUNT_HOLDER_UPCOMING_DEADLINE - ACCOUNT_HOLDER_UPDATED - ACCOUNT_HOLDER_VERIFICATION - ACCOUNT_UPDATED - BENEFICIARY_SETUP - COMPENSATE_NEGATIVE_BALANCE - DIRECT_DEBIT_INITIATED - FUNDS_MIGRATED - PAYMENT_FAILURE - PENDING_CREDIT - REFUND_FUNDS_TRANSFER - REPORT_AVAILABLE - SCHEDULED_REFUNDS - SCORE_SIGNAL_TRIGGERED - TRANSFER_FUNDS - TRANSFER_NOT_PAIDOUT_TRANSFERS type: string type: array exchangeMessages: description: The notification message and related response messages. items: $ref: '#/components/schemas/ExchangeMessage' type: array invalidFields: x-addedInVersion: '5' description: Contains field validation errors that would prevent requests from being processed. items: $ref: '#/components/schemas/ErrorFieldType' type: array notificationId: description: The ID of the notification subscription configuration. format: int64 type: integer okMessages: description: A list of messages describing the testing steps. items: type: string type: array pspReference: description: The reference of a request. Can be used to uniquely identify the request. type: string resultCode: description: The result code. type: string required: - notificationId type: object examples: post-testNotificationConfiguration-basic-200: summary: Test a notification configuration description: Example response of a test notification configuration request value: pspReference: '8616480452462678' errorMessages: - The required string "[accepted]" is not in all the results eventTypes: - ACCOUNT_HOLDER_VERIFICATION exchangeMessages: - messageCode: Number messageDescription: '1' - messageCode: Title messageDescription: 'Test 1: 8616480452462678' notificationId: 25032 okMessages: - '...' - 'ResponseTime_ms: 262' - 'ResponseCode: 404' post-testNotificationConfiguration-basic: summary: Test a notification configuration description: Returns the test result for a notification subscription value: eventTypes: - ACCOUNT_HOLDER_VERIFICATION notificationId: 25032 securitySchemes: ApiKeyAuth: in: header name: X-API-Key type: apiKey BasicAuth: scheme: basic type: http x-groups: - Account holders - Accounts - Verification