Attestation & Monitoring Service
API Reference
Attestation Status

Attestation Status

GET https://sp.mspayhub.com/cpoc/sp/{environment}/security/{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.lastAttestationTsStringTimestamp of the last attestation.
body.lastAttestationResultStringResult of the last attestation.
body.attestationinfoStringAttestation information.
body.blockIntBlock status.
body.idStringSDK ID.
body.tsStringTimestamp of the response.
{
  "msg": "success",
  "code": 0,
  "body": {
    "lastAttestationTs": "1721212883000",
    "lastAttestationResult": "HEALTH",
    "attestationinfo": "success",
    "block": 0,
    "id": "60f06bc8eca4f85b",
    "ts": "1721212943920"
  }
}