Saltar para o conteúdo

Show terminal details

Pedido

Retrieves the terminal details.

Required scope: terminal:read

Segurança
accountId and apiKey
Caminho
idstring, (uuid)obrigatório

Resource Identification

curl -i -X GET \
  'https://api.test.easypay.pt/2.0/terminal/{id}' \
  -H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
  -H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92'

Respostas

OK

Corpoapplication/json
idstring, (uuid)

The unique identifier of the terminal.

Exemplo:"458b2fc4-3092-4de3-abd4-fe1600c09420"
serial_numberstring

The serial number of the terminal device. Unique per acquirer.

Exemplo:"123-456-789"
namestring

The name of the terminal. Must be unique.

Exemplo:"Terminal Checkout 1"
statusstring

The current status of the terminal. Determined by the device state.

Enum:"ACTIVE""INACTIVE""DELETED"
Exemplo:"ACTIVE"
acquirerstring

The acquirer associated with the terminal.

Value:"VERIFONE"
Exemplo:"VERIFONE"
modelstring

The model of the terminal device. Inferred from the serial number.

Exemplo:"V240m"
last_transaction_atstring or null, (date-time)

The date and time of the last transaction processed by the terminal. Null if no transactions have been processed.

Exemplo:"2025-08-05T13:44:29Z"
created_atstring, (date-time)

The date and time when the terminal was created.

Exemplo:"2025-08-05T13:44:29Z"
Response
Success
{ "id": "458b2fc4-3092-4de3-abd4-fe1600c09420", "serial_number": "123-456-789", "name": "Terminal Checkout 1", "status": "ACTIVE", "acquirer": "VERIFONE", "model": "V240m", "last_transaction_at": "2025-08-05T13:44:29Z", "created_at": "2025-08-01T10:00:00Z" }