# Retrieve terminal, host, and device configuration for a Payroc Cloud device.

Retrieve terminal, host, and device configuration for a Payroc Cloud device.

1. Retrieve the processing terminal: its active/inactive status, gateway and application settings, features, receipt and security settings, and the devices that use the terminal's configuration. Only terminals whose terminal order was created via the Payroc API can be retrieved.
 [getProcessingTerminal](/api/get-processing-terminal)
2. OPTIONAL — retrieve the host processor configuration (merchant and terminal settings such as posMid, chainNumber, terminalId, and sharing groups). Integrate with this step only if you use your own gateway and want to validate the processor configuration.
 [getProcessingTerminalHostConfiguration](/api/get-processing-terminal-host-configuration)
3. Retrieve the configuration for a specific device model on the terminal: supported features, applications, EMV certificates and revoked certificates, and visual assets. The `model` path parameter selects the device family — pass the value for the ID TECH, Ingenico, or Android/PAX device you are configuring (the terminal's devices array from step 1 lists the models bound to this terminal).
 [retrieveDeviceConfiguration](/api/retrieve-device-configuration)

## Workflow diagram

```mermaid
flowchart TD
  step0["1. processing terminal lookup · API"]
  step1["2. host configuration lookup · API"]
  step0 --> step1
  step2["3. device configuration lookup · API"]
  step1 --> step2
```
