Skip to main content
POST
/
terminals
/
download
/
file
File Download
curl --request POST \
  --url https://api.staging.paycodefintech.net/terminals/download/file \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "terminal_id": "<string>",
  "file_type": "PARAMS",
  "file_version": "<string>",
  "hash": "<string>",
  "network_token": "<string>"
}
'
{
  "file_type": "PARAMS",
  "file_version": "<string>",
  "file_content": {}
}

Authorizations

api-key
string
header
required

Use the API key created under your merchant account from the Paycode dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.

Body

application/json

Request body for downloading terminal file content

terminal_id
string
required

Terminal ID (required)

file_type
enum<string>
required
Available options:
PARAMS,
HOTLIST,
TAC,
CVM,
TAGS,
AID,
CAPK,
KEYS,
FXRATES
file_version
string
required

version of the file

hash
string
required

checksum of the file SHA256 checksum represented as a hex string

network_token
string
required

network-token

Response

Terminal File Content Downloaded

file_type
enum<string>
required
Available options:
PARAMS,
HOTLIST,
TAC,
CVM,
TAGS,
AID,
CAPK,
KEYS,
FXRATES
file_version
string
required

version of the file

file_content
object
required

binary content of the file, base64 encoded