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 | JWT Bearer token for authentication. Format: Bearer <your_jwt_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Description |
---|---|---|
data | Array | List of stamp objects containing detailed information about each stamp |
data[].client_id | String | Unique identifier for the client associated with the stamp |
data[].stamp_id | String | Unique identifier for the stamp |
data[].created_at | String | ISO 8601 timestamp indicating when the stamp was created |
data[].amount | Number | The monetary value of the stamp in INR |
data[].amount_added | Number | The amount that was added to create this stamp |
data[].state | String | The Indian state for which the stamp is valid |
data[].status | String | Current status of the stamp (e.g., "available", "used") |
data[].on_hold | Boolean | Indicates if the stamp is currently on hold |
data[].link | String | Temporary URL to download the e-stamp PDF (valid for a limited time) |
status_code | Number | HTTP status code of the response |
success | Boolean | Indicates if the API request was successful |
message | String | Human-readable message describing the result |
message_code | String | Machine-readable code representing the result |
{
"data": [
{
"client_id": "stamp_SSFpoLGpgLjMHirdgqyd",
"stamp_id": "stamp_SSFpoLGpgLjMHirdgqyd",
"created_at": "2024-04-05T21:42:47.536000",
"amount": 100,
"amount_added": 100,
"state": "Maharashtra",
"status": "available",
"on_hold": false,
"link": "https://surepass-esign.s3.amazonaws.com/vishal.rathore/stamper/stamp_SSFpoLGpgLjMHirdgqyd/stamp_1712353367449898.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20240405%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240405T214249Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=a07f1a0ce0b420bbee5d2c341d439235fcb8dac2227c718e1c4aa73ee045a222"
},
{
"client_id": "stamp_houVgQfAvaijGNlWOyEi",
"stamp_id": "stamp_houVgQfAvaijGNlWOyEi",
"created_at": "2024-04-05T21:39:34.053000",
"amount": 500,
"amount_added": 500,
"state": "Maharashtra",
"status": "available",
"on_hold": false,
"link": "https://surepass-esign.s3.amazonaws.com/vishal.rathore/stamper/stamp_houVgQfAvaijGNlWOyEi/stamp_1712353173955622.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20240405%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240405T214249Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=8f1b0f5298512c41bf654185819d5a9bf09ee5fe1e653ddc90fecb19eeca9420"
}
],
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 401,
"success": false,
"message": "Invalid or expired token",
"message_code": "unauthorized"
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/stamper/list-stamps' \
--header 'Content-Type: application/json'
{
"data": [
{
"client_id": "stamp_SSFpoLGpgLjMHirdgqyd",
"stamp_id": "stamp_SSFpoLGpgLjMHirdgqyd",
"created_at": "2024-04-05T21:42:47.536000",
"amount": 100,
"amount_added": 100,
"state": "Maharashtra",
"status": "available",
"on_hold": false,
"link": "https://surepass-esign.s3.amazonaws.com/vishal.rathore/stamper/stamp_SSFpoLGpgLjMHirdgqyd/stamp_1712353367449898.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20240405%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240405T214249Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=a07f1a0ce0b420bbee5d2c341d439235fcb8dac2227c718e1c4aa73ee045a222"
},
{
"client_id": "stamp_houVgQfAvaijGNlWOyEi",
"stamp_id": "stamp_houVgQfAvaijGNlWOyEi",
"created_at": "2024-04-05T21:39:34.053000",
"amount": 500,
"amount_added": 500,
"state": "Maharashtra",
"status": "available",
"on_hold": false,
"link": "https://surepass-esign.s3.amazonaws.com/vishal.rathore/stamper/stamp_houVgQfAvaijGNlWOyEi/stamp_1712353173955622.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5FYWPQJEB%2F20240405%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240405T214249Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=8f1b0f5298512c41bf654185819d5a9bf09ee5fe1e653ddc90fecb19eeca9420"
}
],
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}