Skip to content

Get Config

METHOD NAME getConfig

Description

Get the current configuration of the device.

Parameters

null

Result

Object on success

  • config Config
    Device configuration

Errors

  • None

Example

Request

1
2
3
4
5
{
  "jsonrpc": "2.0",
  "id": "1234567890",
  "method": "getConfig"
}

Response

{
    "jsonrpc": "2.0",
    "id": "c2835c9f-7d8e-4624-a5e5-e497493e7d95",
    "result": {
        "config": {
            "testEnv": true,
            "terminalId": "0884401",
            "terminalNo": 1,
            "paymentGateway": "SHVA",
            "pinpad": "SYNQPAY_HTTP",
            "beneficiary": "",
            "posMode": true,
            "settlementTime": "00:10",
            "declineFailedDeposit": false,
            "logo": "",
            "autoDeposit": true,
            "maxAmountLimit": 10000,
            "screenAlwaysOn": false
        }
    }
}