Device Integrity

Verify device integrity

Decodes a Play Integrity token server-side and returns a gate decision (pass/fail/degraded/skipped). JWT-authenticated; the verdict is bound to the caller's session. iOS returns "skipped" (no server-side jailbreak verdict exists).

post/v1/device_integrity/verify

Request

  • Base URL
    https://identity-api.paymongo.com
  • URL
    https://identity-api.paymongo.com/v1/device_integrity/verify
  • Auth
    none required

Request body

Example request

{
  "data": {
    "attributes": {
      "integrity_token": "<play-integrity-token>",
      "platform": "android"
    }
  }
}

Response

OK

has_moreboolean

Example response

{
  "data": {
    "attributes": {
      "decision": "pass",
      "platform": "android"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.