API Active Payment Terminal — Functional Documentation
Overview
This API lists the active payment terminals owned by the merchant, including the characteristics of each payment terminal.
| Field | Detail |
|---|---|
| Version | 1.0.3 |
| Protocol | HTTPS / REST |
| Format | JSON |
| Authentication | Bearer Token |
Environments
| Environment | Base URL |
|---|---|
| Development (HG) | https://api-hg.getnet.com.br/sap/equipment/v1 |
| QA (HTI) | https://api-homologacao.getnet.com.br/sap/equipment/v1 |
Authentication
All requests must include a Bearer token in the
Authorization header:text
Authorization: Bearer <token>
text
Authorization: Bearer <token>
Endpoints
List Active Payment Terminals
Returns a list of all active payment terminals associated with the specified merchant, including the characteristics of each terminal.
| Field | Value |
|---|---|
| Method | GET |
| Path | /payment-terminals/{merchant_id} |
Path Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| merchant_id | path | string | Yes | Merchant ID. |
Request Example
text
600;">GET /sap/equipment/v1/payment-terminals/10000 HTTP/1.1
Host: api-hg.getnet.com.br
Authorization: Bearer <token>
text
600;">GET /sap/equipment/v1/payment-terminals/10000 HTTP/1.1
Host: api-hg.getnet.com.br
Authorization: Bearer <token>
Responses
200 — Success
Returns the merchant data and the list of active payment terminals.
text
{
"merchant_id": "10000",
"equipments": {
"item": [
{
"payment_terminal_sku": "302890",
"payment_terminal_serial_number": "903191104705571440",
"capture_method_code": "10",
"capture_method_des": "POS",
"communication_method_code": "000000004",
"communication_method_des": "WI FI",
"activation_datetime": "2010-03-29T13:57:42Z",
"payment_terminal_brand": "INGENICO",
"payment_terminal_model": "MOVE 5000 ESSENTIAL",
"commercial_mode": "ALUGUEL",
"warranty_available": true
}
]
}
}
text
{
"merchant_id": "10000",
"equipments": {
"item": [
{
"payment_terminal_sku": "302890",
"payment_terminal_serial_number": "903191104705571440",
"capture_method_code": "10",
"capture_method_des": "POS",
"communication_method_code": "000000004",
"communication_method_des": "WI FI",
"activation_datetime": "2010-03-29T13:57:42Z",
"payment_terminal_brand": "INGENICO",
"payment_terminal_model": "MOVE 5000 ESSENTIAL",
"commercial_mode": "ALUGUEL",
"warranty_available": true
}
]
}
}
EquipListResponse Fields
| Field | Type | Description |
|---|---|---|
| merchant_id | string | Merchant ID |
| equipments | object | Object containing the terminal item list |
EquipmentItem Fields (each entry in equipments.item[])
| Field | Type | Max Length | Description | Possible Values / Example |
|---|---|---|---|---|
| payment_terminal_sku | string | 18 | Terminal SKU | "302890" |
| payment_terminal_serial_number | string | 18 | Terminal serial number | "903191104705571440" |
| capture_method_code | string | 18 | Capture method code | "10", "13", "40" |
| capture_method_des | string | 20 | Capture method description | POS, VERMELHINHA, PIN PAD |
| communication_method_code | string | 9 | Communication method code | "000000005", "000000008", "000000035" |
| communication_method_des | string | 50 | Communication method description | GPRS MOVEL, TEF, POS DIGITAL, WI FI |
| activation_datetime | string (date-time) | — | Terminal activation date and time | 2010-03-29T13:57:42Z |
| payment_terminal_brand | string | 50 | Terminal brand | INGENICO |
| payment_terminal_model | string | 50 | Terminal model | MOVE 5000 ESSENTIAL |
| commercial_mode | string | 10 | Commercial mode | ALUGUEL, VENDA, TAXA_AD |
| warranty_available | boolean | — | Indicates whether the sold terminal is under warranty | true / false |
403 — Forbidden
Returned when access to the requested resource is forbidden.
text
{
"error": {
"code": "403",
"message": "403 - Forbidden",
"logID": "<log-identifier>"
}
}
text
{
"error": {
"code": "403",
"message": "403 - Forbidden",
"logID": "<log-identifier>"
}
}
| Field | Type | Description |
|---|---|---|
| error.code | string | Status code |
| error.message | string | Error message |
| error.logID | string | Log identifier for tracing |
500 — Internal Server Error
Returned when an internal error occurs during request processing.
text
{
"Status": "Erro no processamento da requisicao"
}
text
{
"Status": "Erro no processamento da requisicao"
}
| Field | Type | Description |
|---|---|---|
| Status | string | Server request processing status |
Business Rules
- Only terminals with active status are returned by the API.
- The
commercial_modefield is restricted to the enumerated values:ALUGUEL,VENDA, orTAXA_AD. - The
warranty_availablefield is only applicable to terminals with theVENDAcommercial mode.
On this page
API Active Payment Terminal — Functional Documentation