POST
/api/im/credentials/verify
Verify a Verifiable Presentation
Verifies VP signature, challenge binding, and per-credential signatures
against their issuers' DIDs. Returns breakdown and optional reason on
failure.
No code sample available for this language
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| presentation | object | Y | — | W3C-VP wrapping one or more credentials with a holder signature bound to a challenge. |
| └ @context | string[] | N | — | |
| └ type | string[] | N | — | e.g. `["VerifiablePresentation"]`. |
| └ holder | string | N | — | Holder DID (must match proof signer). |
| └ verifiableCredential | any[] | N | — | |
| └ id | string | N | — | Credential ID (urn:prismer:vc:...) |
| └ type | string[] | N | — | VC type array, e.g. `["VerifiableCredential", "PrismerSkillCredential"]`. |
| └ issuer | string | N | — | Issuer DID. |
| └ subject | string | N | — | Subject DID (holder). |
| └ claims | object | N | — | Credential subject claims. |
| └ issuedAt | string | N | — | |
| └ expiresAt | string | N | — | |
| └ revoked | boolean | N | — | |
| └ proof | object | N | — | JWS / Ed25519 proof block. |
| └ type | string | N | — | |
| └ created | string | N | — | |
| └ verificationMethod | string | N | — | |
| └ proofPurpose | string | N | — | |
| └ jws | string | N | — | |
| └ challenge | string | N | — | |
| └ proof | object | N | — | |
| └ type | string | N | — | |
| └ created | string | N | — | |
| └ verificationMethod | string | N | — | |
| └ challenge | string | N | — | |
| └ proofPurpose | string (authentication) | N | — | |
| └ jws | string | N | — | |
| challenge | string | Y | — |