Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| first_party | String | Yes | Name of the first party on the stamp paper |
| second_party | String | Yes | Name of the second party (use generic terms like "Borrower") |
| article_id | Integer | Yes | Specific article ID for the stamp type |
| first_party_address | String | No | Address of the first party |
| courier_address | String | No | Address where the stamp should be couriered |
| first_party_father_name | String | No | Father's name of the first party |
| amount | Integer | Yes | The stamp duty amount in INR |
| consideration_amount | Integer | Yes | The consideration amount for the agreement |
| state | String | Yes | Two-letter state code where the stamp will be issued |
| description | String | No | Brief description of the stamp purpose |
state parameter must be one of the following two-letter codes:DL (Delhi)22128{
"first_party": "ABC Pvt Ltd",
"second_party": "Borrower",
"state": "DL",
"article_id": 22128,
"amount": 40,
"consideration_amount": 1,
"description": "Estamp"
}| Parameter | Type | Description |
|---|---|---|
| client_id | String | Unique identifier for the client |
| stamp_id | String | Unique identifier for the stamp |
| created_at | DateTime | Timestamp |
| amount | Integer | Monetary value of the stamp in INR |
| consideration_amount | Integer | Value of the transaction/agreement |
| first_party | String | First party name |
| second_party | String | Second party name |
| first_party_father_name | String | First party name |
| first_party_address | String | First party address |
| courier_address | String | Courier address of the stamp |
| article_id | String | Article ID |
| state | String | Two-letter state code |
| description | String | Stamp description |
| status | Enum | Current status of the order |
| on_hold | Boolean | Indicates if the order is on hold |
| link | String (URL) | Link to access the stamp (if available) |
| certificate_details | List | Certificate details |
status field can have the following values:pending: Order is being processedavailable: Estamp is ready for useon_hold: Order is temporarily on holdused: Estamp has been utilized{
"data": {
"client_id": "stamp_v2_jxXNHjntEoeaMHiiVcUi",
"stamp_id": "stamp_v2_jxXNHjntEoeaMHiiVcUi",
"created_at": "2024-12-24T13:55:40.168229",
"amount": 40,
"consideration_amount": 1,
"first_party": "ABC Pvt Ltd",
"second_party": "Borrower",
"first_party_father_name": null,
"first_party_address": null,
"courier_address": null,
"article_id": null,
"state": "DL",
"description": null,
"status": "pending",
"on_hold": false,
"link": null,
"certificate_details": []
},
"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-v2/order-stamp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_party": "ABC Pvt Ltd",
"second_party": "Borrower",
"state": "DL",
"article_id": 22128,
"amount": 40,
"consideration_amount": 1,
"description": "Estamp"
}'{
"data": {
"client_id": "stamp_v2_jxXNHjntEoeaMHiiVcUi",
"stamp_id": "stamp_v2_jxXNHjntEoeaMHiiVcUi",
"created_at": "2024-12-24T13:55:40.168229",
"amount": 40,
"consideration_amount": 1,
"first_party": "ABC Pvt Ltd",
"second_party": "Borrower",
"state": "DL",
"status": "pending",
"on_hold": false,
"link": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}