Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token authentication using JWT format |
Content-Type | Yes | Application/json |
Parameter | Type | Description |
---|---|---|
data | Object | Contains the stamp statistics categorized by status |
data.pending | Array | List of stamps that are in pending status |
data.available | Array | List of stamps that are available for use |
data.on_hold | Array | List of stamps that are currently on hold |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
Parameter | Type | Description |
---|---|---|
state | String | Status code of the stamp (e.g., "DL") |
amount | Integer | Monetary value of the stamp |
article_id | String | Stamp Article ID |
count | Integer | Quantity of stamps with these specifications |
{
"data": {
"pending": [],
"available": [
{
"state": "DL",
"amount": 20,
"article_id": "22128",
"count": 1
},
{
"state": "DL",
"amount": 40,
"article_id": "22128",
"count": 21
}
],
"on_hold": [
{
"state": "DL",
"amount": 20,
"article_id": "22128",
"count": 1
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 401,
"success": false,
"message": "Authentication failed. Invalid token provided.",
"message_code": "authentication_failed"
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/stamper-v2/stats' \
--header 'Content-Type: application/json'
{
"data": {
"pending": [],
"available": [
{
"state": "DL",
"amount": 20,
"article_id": "22128",
"count": 1
},
{
"state": "DL",
"amount": 40,
"article_id": "22128",
"count": 21
}
],
"on_hold": [
{
"state": "DL",
"amount": 20,
"article_id": "22128",
"count": 1
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}