--- title: "Query the PED object for device information" url: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/extras-com-extension/query-the-ped-object-for-device-information-com-extension" source_url: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/extras-com-extension/query-the-ped-object-for-device-information-com-extension.md" canonical: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/extras-com-extension/query-the-ped-object-for-device-information-com-extension" last_modified: "2026-05-23T12:56:20+02:00" language: "en" --- # Query the PED object for device information [View source](/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/extras-com-extension/query-the-ped-object-for-device-information-com-extension.md) ## PEDDevice object | Name | Description | | ----------- | ---------------------------------------- | | `PedDevice` | PED object that represents the terminal. | ## Getter | Name | Description | | ----------------- | ------------------------------------- | | `GetTerminalInfo` | Retrieves information from the PED.   | ## Returned Parameters | Name | Type | Description | | ------- | ------- | ------------------------------------- | | `id` | Variant | Unique ID of the terminal. | | `brand` | Variant | Brand of the terminal, i.e. Verifone. | | `type` | Variant | Type of the terminal. | | `snr` | Variant | Serial number of the terminal. | | `hw` | Variant | Terminal hardware version. | | `os` | Variant | Terminal Operating System. | | `api` | Variant | Terminal firmware version | ## Method | Name | Description | | ------------ | -------------------------------------------------------------------------------------------------------------------------- | | `RefreshPed` | Updates the terminal information. Triggers a PED state callback from which you can query the state using `GetDeviceState`. | ## Parameters | Name | Type | Required | Description | | --------- | ---- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `retries` | Int | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | Number of times to retry refreshing the PED state. If you have multiple POS systems connected to a single PED, there may be an active transaction on the device which would block the request. Set this to a high number to avoid blocking. | ## Callback | Name | Description | | ---------------- | -------------------------------------------- | | `PedStateChange` | Callback that returns the current PED state. | ## Getter | Name | Description | | ---------------- | ------------------------------------------------------- | | `GetDeviceState` | Used on PedStateChange to return the current PED state. | ## PED States | State | Description | | -------------------------------------- | ----------------------------------------------------------------------------- | | `ped_state_undetected` | Incorrect IP, cannot detect the PED. This is a final state. | | `ped_state_detected` | PED detected, correct serial/IP address. | | `ped_state_identified` | Valid PED. | | `ped_state_registered` | PED is registered, final result on RegisterPED. | | `ped_state_config_synced` | PED is has synchronized its configuration. | | `ped_state_wait_reboot_ready` | PED is rebooting. | | `ped_state_wait_ready_for_transaction` | PED must complete another process before it is ready to create a transaction. | | `ped_state_not_ready` | PED is busy. This is a final state.  | | `ped_state_ready_for_transaction` | PED is ready for transaction. | | `ped_state_tender` | PED is busy with a tender. |