openapi: 3.1.0 info: version: '6' x-publicVersion: true title: Adyen Account acceptDispute getTerminalDetails 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: getTerminalDetails paths: /getTerminalDetails: post: tags: - getTerminalDetails summary: Adyen Get the Details of a Terminal description: Returns the details of a payment terminal, including where the terminal is assigned to. The response returns the same details that are provided in the terminal list in your Customer Area and in the Terminal Fleet report. operationId: post-getTerminalDetails x-sortIndex: 1 x-methodName: getTerminalDetails security: - BasicAuth: [] - ApiKeyAuth: [] requestBody: content: application/json: examples: getTerminalDetails: $ref: '#/components/examples/post-getTerminalDetails-getTerminalDetails' schema: $ref: '#/components/schemas/GetTerminalDetailsRequest' responses: '200': content: application/json: examples: getTerminalDetails: $ref: '#/components/examples/post-getTerminalDetails-getTerminalDetails-200' schema: $ref: '#/components/schemas/GetTerminalDetailsResponse' description: OK - the request has succeeded. '400': content: application/json: examples: generic: $ref: '#/components/examples/generic-400' schema: $ref: '#/components/schemas/ServiceError' description: Bad Request - a problem reading or understanding the request. '401': content: application/json: schema: $ref: '#/components/schemas/ServiceError' examples: post-getTerminalDetails401Example: summary: Default post-getTerminalDetails 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: examples: generic: $ref: '#/components/examples/generic-403' schema: $ref: '#/components/schemas/ServiceError' description: Forbidden - insufficient permissions to process the request. '422': content: application/json: examples: generic: $ref: '#/components/examples/generic-422' schema: $ref: '#/components/schemas/ServiceError' description: Unprocessable Entity - a request validation error. '500': content: application/json: examples: generic: $ref: '#/components/examples/generic-500' schema: $ref: '#/components/schemas/ServiceError' description: Internal Server Error - the server could not process the request. x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: Store: properties: address: description: The address of the store. $ref: '#/components/schemas/Address' description: description: The description of the store. type: string inStoreTerminals: description: The list of terminals assigned to the store. items: type: string type: array merchantAccountCode: description: The code of the merchant account. type: string status: description: "The status of the store:\n\n- `PreActive`: the store has been created, but not yet activated. \n\n- `Active`: the store has been activated. This means you can process payments for this store. \n\n- `Inactive`: the store is currently not active. \n\n- `InactiveWithModifications`: the store is currently not active, but payment modifications such as refunds are possible. \n\n- `Closed`: the store has been closed. " type: string store: description: The code of the store. type: string required: - store 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 GetTerminalDetailsResponse: properties: bluetoothIp: description: The Bluetooth IP address of the terminal. type: string bluetoothMac: description: The Bluetooth MAC address of the terminal. type: string companyAccount: description: The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. type: string country: description: The country where the terminal is used. type: string deviceModel: description: The model name of the terminal. type: string dhcpEnabled: description: Indicates whether assigning IP addresses through a DHCP server is enabled on the terminal. type: boolean displayLabel: description: The label shown on the status bar of the display. This label (if any) is specified in your Customer Area. type: string ethernetIp: description: The terminal's IP address in your Ethernet network. type: string ethernetMac: description: The terminal's MAC address in your Ethernet network. type: string firmwareVersion: description: The software release currently in use on the terminal. type: string iccid: description: The integrated circuit card identifier (ICCID) of the SIM card in the terminal. type: string lastActivityDateTime: description: Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. format: date-time type: string lastTransactionDateTime: description: Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. format: date-time type: string linkNegotiation: description: "The Ethernet link negotiation that the terminal uses: \n\n- `auto`: Auto-negotiation\n\n- `100full`: 100 Mbps full duplex" type: string merchantAccount: description: The merchant account that the terminal is associated with. If the response doesn't contain a `store` the terminal is assigned to this merchant account. type: string merchantInventory: description: 'Boolean that indicates if the terminal is assigned to the merchant inventory. This is returned when the terminal is assigned to a merchant account. - If **true**, this indicates that the terminal is in the merchant inventory. This also means that the terminal cannot be boarded. - If **false**, this indicates that the terminal is assigned to the merchant account as an in-store terminal. This means that the terminal is ready to be boarded, or is already boarded.' type: boolean permanentTerminalId: description: The permanent terminal ID. type: string serialNumber: description: The serial number of the terminal. type: string simStatus: description: 'On a terminal that supports 3G or 4G connectivity, indicates the status of the SIM card in the terminal: ACTIVE or INVENTORY.' type: string store: description: The store code of the store that the terminal is assigned to. type: string storeDetails: description: The store that the terminal is assigned to. $ref: '#/components/schemas/Store' terminal: description: The unique terminal ID. type: string terminalStatus: description: "The status of the terminal: \n\n- `OnlineToday`, `OnlineLast1Day`, `OnlineLast2Days` etcetera to `OnlineLast7Days`: Indicates when in the past week the terminal was last online. \n\n- `SwitchedOff`: Indicates it was more than a week ago that the terminal was last online. \n\n- `ReAssignToInventoryPending`, `ReAssignToStorePending`, `ReAssignToMerchantInventoryPending`: Indicates the terminal is scheduled to be reassigned." enum: - OnlineLast1Day - OnlineLast2Days - OnlineLast3Days - OnlineLast4Days - OnlineLast5Days - OnlineLast6Days - OnlineLast7Days - OnlineToday - ReAssignToInventoryPending - ReAssignToMerchantInventoryPending - ReAssignToStorePending - SwitchedOff type: string wifiIp: description: The terminal's IP address in your Wi-Fi network. type: string wifiMac: description: The terminal's MAC address in your Wi-Fi network. type: string required: - companyAccount - terminal type: object GetTerminalDetailsRequest: properties: terminal: description: "The unique terminal ID in the format `[Device model]-[Serial number]`. \n\nFor example, **V400m-324689776**." type: string required: - terminal type: object Address: properties: city: type: string countryCode: type: string postalCode: type: string stateOrProvince: type: string streetAddress: type: string streetAddress2: type: string type: object examples: generic-500: summary: Response code 500. Internal server error. value: status: 500 errorCode: '000' message: The server could not process the request. errorType: internal generic-403: summary: Response code 403. Forbidden. value: status: 403 errorCode: '010' message: Insufficient permissions to process the request. errorType: security post-getTerminalDetails-getTerminalDetails-200: summary: Example response for request 'getTerminalDetails' value: companyAccount: YOUR_COMPANY_ACCOUNT merchantAccount: YOUR_MERCHANT_ACCOUNT merchantInventory: false store: YOUR_STORE terminal: M400-401972715 deviceModel: M400 serialNumber: 401-972-715 permanentTerminalId: '88912016' terminalStatus: SwitchedOff firmwareVersion: Verifone_VOS 1.57.6 country: NETHERLANDS storeDetails: store: YOUR_STORE description: TestStore address: city: The City countryCode: NL postalCode: '1234' streetAddress: The Street ethernetMac: 60:c7:98:5a:69:cd ethernetIp: 192.168.2.11 wifiMac: c4:ac:59:47:f3:71 wifiIp: 192.168.2.12 dhcpEnabled: false generic-400: summary: Response code 400. Bad request. value: status: 400 errorCode: '702' message: Problem reading or understanding the request. errorType: validation post-getTerminalDetails-getTerminalDetails: summary: Get information about a specific terminal description: Returns the details of a payment terminal, including where the terminal is assigned to. value: terminal: M400-401972715 generic-422: summary: Response code 422. Unprocessable entity. value: status: 422 errorCode: '901' message: Request validation error. errorType: validation securitySchemes: ApiKeyAuth: in: header name: X-API-Key type: apiKey BasicAuth: scheme: basic type: http x-groups: - Account holders - Accounts - Verification