Check SST
Overview
The validity of the SST generated by the token provider for the transfer permit is continuously checked. The SST verification checks if the third party has the right to fetch the digital passport and its associated content.
If the SST is not valid, you may encounter one of these issues:
- The SST has expired (default value is 30 days).
- The passport linked to the SST has been transferred by the owner to another user.
- The SST has already been used.
Let's start ๐
URL
To check if an SST is valid, use https://custody.arianee.com/{{client}}/{{chainType}}/service-provider/isValidSST
.
POST - https://custody.arianee.com/{{client}}/{{chainType}}/service-provider/isValidSST
Body
Field | Type | Required | Description |
---|---|---|---|
sst | String | โ | sst value generated by the token provider. |
{
"sst": "eyJ0eXAiOiJKV1QiLCJhbGciOiJzZWNwMjU2azEifQ==.eyJpc3MiOiIweDRmZWJiYTMzNDE1YWI0MTI1NmNiYzk4MWMxNzgyOTdmOTI2YTY0OTAiLCJzdWIiOiJjZXJ0aWZpY2F0ZSIsImV4cCI6MTcwMzE1MDI5MzMwNiwiaWF0IjoxNzAzMTQ5OTkzMzA2LCJzdWJJZCI6MzM0OTExNzQsIm5ldHdvcmsiOiJ0ZXN0bmV0IiwicGVybWl0Ijp7InBlcm1pdHRlZCI6eyJ0b2tlbiI6IjB4NTEyQzFGQ0Y0MDExMzM2ODBmMzczYTM4NkYzZjc1MmI5ODA3MEJDNSIsInRva2VuSWQiOjMzNDkxMTc0fSwic3BlbmRlciI6IjB4NGZlYmJhMzM0MTVhYjQxMjU2Y2JjOTgxYzE3ODI5N2Y5MjZhNjQ5MCIsIm5vbmNlIjoxNDgwMjUsImRlYWRsaW5lIjoxNzA1NzQxOTkxfSwicGVybWl0U2lnIjoiMHg4OTE2ZGFmN2QwYmNmMjBhNTMxZWY3Y2Y5ZjI4ZjY0ZmViYzhiZTZlMjFiNGYzZDExZjkzZjAzMjQ0N2Q2ZTc5NWFmMTQ3YTYzZmQ3YjM3ZTVlOWNhMDI4ZmQ3NTAxMjdlMGJlOTQ0OGMwZjQ1NDMwODViNTA5NzcyMGY4Mzg1ZTFiIn0=.0x2cf31d062429857ea4175525defb346f6e2f856cf0e5b0856ea76af7b781f4f..."
}
Return Payload
Statut Code | Success | Description |
---|---|---|
200 | true | true : SST is valid.false : SST is not valid. |
{
"valid": true
}
Updated 2 months ago