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_TOKEN ) |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
webhook_url | String (URL) | Yes | The URL where verification status updates will be sent after the user completes the payment |
{
"webhook_url": "https://test.example.com"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification details |
data.client_id | String | Unique identifier for this verification request |
data.payment_link | String | Universal UPI payment link for verification |
data.ios_links | Object | Platform-specific UPI links optimized for iOS devices |
data.ios_links.paytm | String | Paytm-specific UPI link |
data.ios_links.phonepe | String | PhonePe-specific UPI link |
data.ios_links.gpay | String | Google Pay-specific UPI link |
data.ios_links.bhim | String | BHIM-specific UPI link |
data.ios_links.whatsapp | String | WhatsApp-specific UPI link |
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": "reverse_penny_drop_YnaoOsFcdMxQxbvOBlqr",
"payment_link": "upi://pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"ios_links": {
"paytm": "paytm://upi/pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"phonepe": "phonepe://upi/pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"gpay": "gpay://upi/pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"bhim": "bhim://upi/pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"whatsapp": "upi://pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 401,
"success": false,
"message": "Unauthorized access",
"message_code": "unauthorized"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/bank-verification/reverse-penny-drop/initialize' \
--header 'Content-Type: application/json' \
--data-raw '{
"webhook_url": "https://test.example.com"
}'
{
"data": {
"client_id": "reverse_penny_drop_YnaoOsFcdMxQxbvOBlqr",
"payment_link": "upi://pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"ios_links": {
"paytm": "paytm://upi/pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"phonepe": "phonepe://upi/pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"gpay": "gpay://upi/pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"bhim": "bhim://upi/pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220",
"whatsapp": "upi://pay?pa=SUREPASS@dbs&pn=&am=1&cu=INR&tn=&tr=CHE00041220"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}