These docs are for v1.7. Click to read the latest docs for v2.1.

Check Proof Link Authenticity

Check a digital passport proof link authenticity.

Let's start πŸš€

Use the /wallet/isCertificateProofValid with the tokenId as the body.

[
  983002786
]
curl -X POST "https://custodial.arianee.com/testnet/wallet/isCertificateProofValid" -H "accept: application/json" -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.ey..." -H "Content-Type: application/json" -d "[tokenId,\"passphrase\"]"

Result:

httpCodeDescription
200Boolean to valid the authenticity of the proof link.
400Not authorized. You must be authenticated.
{
    "isTrue": false,
    "code": "proof.token.dontmatch",
    "message": "token proof does not match"
}
{
    "message": "JWT cannot be decoded",
    "code": "custodial.jwt.miscErrors"
}