Attestation & Monitoring Service
API Reference
SDK Info

SDK Info

GET https://sp.mspayhub.com/cpoc/sp/{environment}/info/{customerId}/{sdkId}
X-Api-Key: {your-api-key}

Request

NameTypeInRequiredDescription
environmentStringpathYesThe environment (dev/ stage/ api for prod)
customerIdStringpathYesThe unique customerId assigned by MineSec.
sdkIdStringpathYesThe unique SDK ID that payment server receives from MPoC application

Response

NameTypeDescription
msgStringStatus message of the response.
codeIntStatus code of the response.
bodyObjectBody containing detailed info if API success.
body.publickeyStringKEK public PEM.
body.devicestatusStringStatus of the device.
body.idStringSDK ID.
body.stateStringValidation state of the device.
body.versionStringVersion information.
body.terminal_idStringTerminal identifier (if present).
body.timestampStringTimestamp of the response.
{
  "msg": "success",
  "code": 0,
  "body": {
    "publickey": "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----",
    "devicestatus": "HEALTH",
    "id": "sdkId",
    "state": "VALID",
    "version": "1.10.105.12.20",
    "terminal_id": "",
    "timestamp": "1721213512423"
  }
}