openapi: 3.1.0 info: version: '6' x-publicVersion: true title: Adyen Account acceptDispute scheduleAccountUpdater 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: scheduleAccountUpdater paths: /scheduleAccountUpdater: post: tags: - scheduleAccountUpdater summary: Adyen Schedule Running the Account Updater description: 'When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory.' x-addedInVersion: '4' operationId: post-scheduleAccountUpdater x-sortIndex: 3 x-methodName: scheduleAccountUpdater security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: scheduleAccountUpdaterWithCardData: $ref: '#/components/examples/post-scheduleAccountUpdater-scheduleAccountUpdaterWithCardData' scheduleAccountUpdaterWithTokenData: $ref: '#/components/examples/post-scheduleAccountUpdater-scheduleAccountUpdaterWithTokenData' schema: $ref: '#/components/schemas/ScheduleAccountUpdaterRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/ScheduleAccountUpdaterResult' examples: post-scheduleAccountUpdater200Example: summary: Default post-scheduleAccountUpdater 200 response x-microcks-default: true value: pspReference: REF-001 result: example_value description: OK - the request has succeeded. '400': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-scheduleAccountUpdater400Example: summary: Default post-scheduleAccountUpdater 400 response x-microcks-default: true value: additionalData: {} 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-scheduleAccountUpdater401Example: summary: Default post-scheduleAccountUpdater 401 response x-microcks-default: true value: additionalData: {} 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-scheduleAccountUpdater403Example: summary: Default post-scheduleAccountUpdater 403 response x-microcks-default: true value: additionalData: {} 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-scheduleAccountUpdater422Example: summary: Default post-scheduleAccountUpdater 422 response x-microcks-default: true value: additionalData: {} 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-scheduleAccountUpdater500Example: summary: Default post-scheduleAccountUpdater 500 response x-microcks-default: true value: additionalData: {} 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: Card: properties: cvc: description: 'The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored.' maxLength: 20 minLength: 1 type: string expiryMonth: description: 'The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November' maxLength: 2 minLength: 1 type: string expiryYear: description: 'The card expiry year. Format: 4 digits. For example: 2020' maxLength: 4 minLength: 4 type: string holderName: description: The name of the cardholder, as printed on the card. maxLength: 50 minLength: 1 type: string issueNumber: description: The issue number of the card (for some UK debit cards only). maxLength: 2 minLength: 1 type: string number: description: 'The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned.' maxLength: 19 minLength: 4 type: string startMonth: description: The month component of the start date (for some UK debit cards only). maxLength: 2 minLength: 1 type: string startYear: description: The year component of the start date (for some UK debit cards only). maxLength: 4 minLength: 4 type: string type: object ServiceError: properties: additionalData: x-addedInVersion: '46' additionalProperties: type: string description: Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. type: object 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 ScheduleAccountUpdaterRequest: properties: additionalData: additionalProperties: type: string description: This field contains additional data, which may be required for a particular request. type: object card: description: 'Credit card data. Optional if `shopperReference` and `selectedRecurringDetailReference` are provided.' $ref: '#/components/schemas/Card' merchantAccount: description: Account of the merchant. type: string reference: description: A reference that merchants can apply for the call. type: string selectedRecurringDetailReference: description: 'The selected detail recurring reference. Optional if `card` is provided.' type: string shopperReference: description: 'The reference of the shopper that owns the recurring contract. Optional if `card` is provided.' type: string required: - merchantAccount - reference type: object ScheduleAccountUpdaterResult: properties: pspReference: description: Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request. type: string result: description: The result of scheduling an Account Updater. If scheduling was successful, this field returns **Success**; otherwise it contains the error message. type: string required: - pspReference - result type: object examples: post-scheduleAccountUpdater-scheduleAccountUpdaterWithCardData: summary: Schedule AccountUpdater with card data value: merchantAccount: YOUR_MERCHANT_ACCOUNT reference: YOUR_REFERENCE card: expiryMonth: '03' expiryYear: '2030' holderName: Adyen Test number: '4111111111111111' post-scheduleAccountUpdater-scheduleAccountUpdaterWithTokenData: summary: Schedule AccountUpdater with token data value: merchantAccount: YOUR_MERCHANT_ACCOUNT reference: YOUR_REFERENCE shopperReference: YOUR_SHOPPER_REFERENCE securitySchemes: ApiKeyAuth: in: header name: X-API-Key type: apiKey BasicAuth: scheme: basic type: http x-groups: - Account holders - Accounts - Verification