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 for authentication. Format: Bearer {JWT_TOKEN} |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Unique Client ID received in the Order Estamp API response. This identifies the specific e-Stamp order. |
GET /api/v1/stamper-v2/order-status?client_id=stamp_v2_oeieAotinqqKvkaPXjrM
Parameter | Type | Description |
---|---|---|
data | Object | Contains all the e-Stamp order details |
data.client_id | String | Unique Client ID for the e-Stamp order |
data.stamp_id | String | Unique Stamp ID for the e-Stamp |
data.created_at | Date String | Timestamp when the e-Stamp was created |
data.amount | Integer | Total stamp duty amount |
data.consideration_amount | Integer | Consideration amount for the stamp duty |
data.first_party | String | Name of the first party in the agreement |
data.second_party | String | Name of the second party in the agreement |
data.article_id | String | Article ID for the e-Stamp |
data.state | String | State code where the e-Stamp is valid |
data.description | String | Description of the agreement |
data.status | String Enum | Current status of the e-Stamp order (pending, available, on_hold, used) |
data.on_hold | Boolean | Indicates if the e-Stamp is on hold |
data.link | String | Temporary URL to download the e-Stamp PDF (valid for a limited time) |
data.certificate_details | Array of Objects | List of e-Stamp certificate details |
data.certificate_details[].certificate_number | String | Unique certificate number for the e-Stamp |
data.certificate_details[].issue_date | Date String | Issue date of the certificate in YYYY-MM-DD format |
data.certificate_details[].denomination | Integer | Denomination value of the individual certificate |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API request was successful |
message | String | Response message |
message_code | String | Code representing the response message |
pending
: The e-Stamp order is being processedavailable
: The e-Stamp is ready and available for useon_hold
: The e-Stamp order is currently on holdused
: The e-Stamp has been used and is no longer available{
"data": {
"client_id": "stamp_v2_oeieAotinqqKvkaPXjrM",
"stamp_id": "stamp_v2_oeieAotinqqKvkaPXjrM",
"created_at": "2025-01-30T10:03:20.281000",
"amount": 40,
"consideration_amount": 1,
"first_party": "ABC Pvt Ltd",
"second_party": "Borrower",
"article_id": "22128",
"state": "DL",
"description": "Test Agreement",
"status": "available",
"on_hold": false,
"link": "https://bucket.s3.amazonaws.com/stamp_v2_oeieAotinqqKvkaPXjrM/DL_22128_1738231500922351.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5AT7ISOF4%2F20250130%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20250130T101337Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=54a0a55971a76cbd74fc5594cf677fb2099adbf09ed7efabe7da0feb31a5ee5e",
"certificate_details": [
{
"certificate_number": "IN DLTHASE401067",
"issue_date": "2024-12-16",
"denomination": 20
},
{
"certificate_number": "IN DLTHASE401068",
"issue_date": "2024-12-16",
"denomination": 20
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid client_id provided",
"message_code": "invalid_client_id"
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/stamper-v2/order-status?client_id=stamp_v2_oeieAotinqqKvkaPXjrM' \
--header 'Content-Type: application/json'
{
"data": {
"client_id": "stamp_v2_oeieAotinqqKvkaPXjrM",
"stamp_id": "stamp_v2_oeieAotinqqKvkaPXjrM",
"created_at": "2025-01-30T10:03:20.281000",
"amount": 40,
"consideration_amount": 1,
"first_party": "ABC Pvt Ltd",
"second_party": "Borrower",
"article_id": "22128",
"state": "DL",
"description": "Test Agreement",
"status": "available",
"on_hold": false,
"link": "https://bucket.s3.amazonaws.com/stamp_v2_oeieAotinqqKvkaPXjrM/DL_22128_1738231500922351.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAY5K3QRM5AT7ISOF4%2F20250130%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20250130T101337Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=54a0a55971a76cbd74fc5594cf677fb2099adbf09ed7efabe7da0feb31a5ee5e",
"certificate_details": [
{
"certificate_number": "IN DLTHASE401067",
"issue_date": "2024-12-16",
"denomination": 20
},
{
"certificate_number": "IN DLTHASE401068",
"issue_date": "2024-12-16",
"denomination": 20
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}