SuryaJyoti Insurance
This API enables third-party systems or apps to integrate SuryaJyoti Insurance services into their systems via CellPay.
Get Possible Values
Endpoint:
{base-url}/payments/possibleValues/{transferTypeId}
Method: POST
Request Headers:
The following HTTP headers are required when calling the API:
Content-Type: application/json
Cellpay-Access-Token: {{accessToken}}
Get Possible Values – Request Example
{
"policyNumber": "{{policyNumber}}",
"dateOfBirth": "{{dateOfBirth}}",
"dateType": "{{dateType}}"
}
Get Possible Values – Response Example
{
"status": true,
"sessionExpired": false,
"payload": {
"possibleValues": {
"policyNumber": "{{policyNumber}}",
"insuredName": "{{insuredName}}",
"gender": "{{gender}}",
"planCode": "71",
"plan": "SuryaJyoti Sanrachhit Bal Jeevan Beema",
"dateOfBirth": "{{dateOfBirth}}",
"sumAssured": 200000.0000,
"periodicPremium": 13605.0000,
"premiumTermYear": 15,
"policyTermYear": 15,
"matureDate": "2030-09-01T00:00:00",
"payMode": "YRLY",
"mobileNumber": "{{customerMobileNumber}}",
"fromDueDate": "2025-09-01T00:00:00",
"uptoDueDate": "2025-09-01T00:00:00",
"totalInterest": 477.0000,
"totalPremium": 13605.0000,
"totalDue": 14082.0000,
"dueInstallment": 1,
"lastPremiumPayDate": "2029-09-01T00:00:00",
"totalDueAfterAdjRecPay": 14082.0000,
"toMemberPrincipal": "{{toMemberPrincipal}}"
}
}
}
Book Payment
Endpoint:
{base-url}/payments/systemPayment
Method: POST
Request Headers:
The following HTTP headers are required when calling the API:
Content-Type: application/json
Cellpay-Access-Token: {{accessToken}}
Book Payment – Request Example
{
"transferTypeId": "{{transferTypeId}}",
"amount": "14082",
"description": "Self Transfer Large Merchant",
"currencyId": "1",
"toMemberPrincipal": "{{to-member-principal}}",
"webRequest": "true",
"customValues": [
{
"fieldId": "15",
"internalName": "PAYMENTMETHOD",
"value": "Mobile Wallet"
},
{
"fieldId": "176",
"internalName": "POLICY_NUMBER",
"value": "{{policyNumeber}}"
},
{
"fieldId": "177",
"internalName": "DATE_OF_BIRTH",
"value": "{{dateOfBirth}}"
}
],
"extraParam": {
"dateType": "AD"
},
"isOtpEnable": false
}
Book Payment – Successful Response (Sample)
{
"status": true,
"sessionExpired": false,
"payload": {
"DoPaymentResult": {
"wouldRequireAuthorization": false,
"from": {
"id": {{fromMemberId}},
"name": "{{fromMemberId}}",
"username": "{{fromMemberUsername}}",
"mobileNo": "{{fromMemberPrincipal}}",
"premiumMember": false
},
"to": {
"id": {{toMemberId}},
"name": "{{toMemberName}}",
"username": "{{toMemberUsername}}",
"mobileNo": "{{toMemberPrincipal}}",
"premiumMember": false
},
"finalAmount": 675.00,
"formattedFinalAmount": "Rs. 675.00",
"transferType": {
"id": {{transferTypeId}},
"name": "{{transferTypeName}}",
"title": "{{transferTypeTitle}}",
"from": {
"id": 14,
"name": "Mobile Wallet",
"currency": {
"id": 1,
"symbol": "रु",
"name": "Nepalese Rupee"
}
},
"to": {
"id": 5,
"name": "Transaction Account",
"currency": {
"id": 1,
"symbol": "रु",
"name": "Nepalese Rupee"
}
}
},
"customValues": [
{
"internalName": "PAYMENTMETHOD",
"fieldId": 15,
"value": "Mobile Wallet"
},
{
"internalName": "POLICY_NUMBER",
"fieldId": 176,
"value": "{{policyNumber}}"
},
{
"internalName": "DATE_OF_BIRTH",
"fieldId": 177,
"value": "{{dateOfBirth}}"
}
],
"isOtpEnable": false,
"advanceValues": {
"premiumAmount": 7031.0000,
"gender": "MALE",
"dueDate": "2025-09-01T00:00:00",
"policyNumber": "{{policyNumber}}",
"dateOfBirth": "{{dateOfBirth}}",
"totalInsuredAmount": 100000.0000,
"anticipatedAdjAmount": 0.0000,
"lastPremiumPayDate": "2034-09-01T00:00:00",
"totalPayableAmount": 7235.0000,
"installmentCount": 1,
"fineAmount": 204.0000,
"insuredName": "{{insuredName}}",
"plan": "SuryaJyoti Sanrachhit Bal Jeevan Beema"
},
"showConsolidateAmount": false,
"extraParam": {
"eventId": 0,
"subEventId": 0,
"disableOtp": false,
"renewOption": false,
"dateType": "AD"
},
"bookingId": "{{boolingId}}"
}
}
}
Confirm Payment
Endpoint:
{base-url}/payments/confirmSystemPayment
Method: POST
Request Headers:
The following headers are required when calling the API:
Content-Type: application/json
Cellpay-Access-Token: {{accessToken}}
Confirm Payment – Request Example
{
"transferTypeId": "{{transferTypeId}}",
"amount": "722",
"description": "Self Transfer Large Merchant",
"currencyId": "1",
"toMemberPrincipal": "{{to-member-principal}}",
"bookingId": "{{bookingId}}",
"webRequest": "true",
"transactionPin": "{{login-password}}",
"customValues": [
{
"fieldId": "15",
"internalName": "PAYMENTMETHOD",
"value": "Mobile Wallet"
},
{
"fieldId": "176",
"internalName": "POLICY_NUMBER",
"value": "{{policyNumber}}"
},
{
"fieldId": "177",
"internalName": "DATE_OF_BIRTH",
"value": "{{dateOfBirth}}"
}
],
"extraParam": {
"dateType": "AD",
"userId": "test", // login username
"initiatorName": "{{initiatorName}}",
"initiatorEmail": "{{initiatorEmail}}",
"initiatorMobileNumber": "{{initiatorMobileNumber}}"
},
"isOtpEnable": false
}}
Confirm Payment – Successful Response (Sample)
{
"status": true,
"sessionExpired": false,
"payload": {
"ConfirmPaymentResult": {
"id": 175920,
"pending": false,
"traceNumber": "CEL-123456"
}
}
}