Skip to content

Log Upload

POST /terminal/uploadLog

Log upload is an operational endpoint for support diagnostics. It is not part of the payment authorization path.

Signing

Sign with terminal_sn and the current terminal_key.

Request

FieldTypeRequiredDescription
terminal_snstring(32)YesTerminal serial number.
device_idstringYesDevice identifier.
log_typestringYesClient-defined category such as transaction, network, or device.
contentstringYesLog payload or uploaded log reference agreed during onboarding.
occurred_atstringNoEvent time in ISO 8601 or Unix milliseconds.

Example

bash
curl -X POST 'https://vsi-api.shouqianba.com/terminal/uploadLog' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: 10298371039 <md5-of-raw-body-plus-terminal-key>' \
  -d '{"terminal_sn":"10298371039","device_id":"android-imei-001","log_type":"network","content":"pay timeout client_sn=MEX202605220001","occurred_at":"2026-05-22T08:00:00Z"}'

Response

json
{
  "result_code": "200",
  "biz_response": {
    "result_code": "SUCCESS"
  }
}

Logs must never contain vendor_key, terminal_key, customer PAN data, or full payment credentials.

MUWE OpenAPI documentation for bank and payment partners.