Attestation Status
GET https://sp.mspayhub.com/cpoc/sp/{environment}/security/{customerId}/{sdkId}
X-Api-Key: {your-api-key}Request
| Name | Type | In | Required | Description | 
|---|---|---|---|---|
environment | String | path | Yes | The environment (dev/ stage/ api for prod) | 
customerId | String | path | Yes | The unique customerId assigned by MineSec. | 
sdkId | String | path | Yes | The unique SDK ID that payment server receives from MPoC application | 
Response
| Name | Type | Description | 
|---|---|---|
msg | String | Status message of the response. | 
code | Int | Status code of the response. | 
body | Object | Body containing detailed info if API success. | 
body.lastAttestationTs | String | Timestamp of the last attestation. | 
body.lastAttestationResult | String | Result of the last attestation. | 
body.attestationinfo | String | Attestation information. | 
body.block | Int | Block status. | 
body.id | String | SDK ID. | 
body.ts | String | Timestamp of the response. | 
{
  "msg": "success",
  "code": 0,
  "body": {
    "lastAttestationTs": "1721212883000",
    "lastAttestationResult": "HEALTH",
    "attestationinfo": "success",
    "block": 0,
    "id": "60f06bc8eca4f85b",
    "ts": "1721212943920"
  }
}