Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for authentication. Format: Bearer {your_jwt_token} |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| amount | Integer | Yes | The denomination value of the stamp in INR |
| state | String | Yes | The Indian state for which the stamp is being registered |
| client_id | String | No | Optional client identifier for your reference |
{
"amount": 500,
"state": "Maharashtra",
"client_id": "client_reference_123"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the stamp registration details |
| data.client_id | String | Unique identifier for the client |
| data.stamp_id | String | Unique identifier for the registered stamp |
| data.created_at | String | Timestamp when the stamp was created (ISO 8601 format) |
| data.amount | Integer | The denomination value of the stamp in INR |
| data.amount_added | Integer | The amount that was added to create this stamp |
| data.state | String | The state for which the stamp is registered |
| data.status | String | Current status of the stamp (e.g., "available") |
| data.on_hold | Boolean | Indicates if the stamp is currently on hold |
| data.link | String | Temporary URL to download the stamp certificate (expires in 10 minutes) |
| 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 |
{
"data": {
"client_id": "stamp_houVgQfAvaijGNlWOyEi",
"stamp_id": "stamp_houVgQfAvaijGNlWOyEi",
"created_at": "2024-04-05T21:39:34.053696",
"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=20240405T213934Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=46a8c4477015e3a9f896fb413ebfa8bce208bace20dfec65295ce3941b84e06a"
},
"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 POST 'https://kyc-api.surepass.app/api/v1/stamper/register-stamp' \
--header 'Authorization: Bearer <token>' \
--form 'amount="500"' \
--form 'state="Maharashtra"' \
--form 'file=@""'{
"data": {
"client_id": "stamp_houVgQfAvaijGNlWOyEi",
"stamp_id": "stamp_houVgQfAvaijGNlWOyEi",
"created_at": "2024-04-05T21:39:34.053696",
"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=20240405T213934Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=46a8c4477015e3a9f896fb413ebfa8bce208bace20dfec65295ce3941b84e06a"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}