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:
httpCode | Description |
---|---|
200 | Boolean to valid the authenticity of the proof link. |
400 | Not 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"
}
Updated about 1 year ago