Manakamana Cablecar
This API enables third-party systems or apps to integrate Manakamana Cablecar services into their systems via CellPay.
Notes for Developers
The `` API requires two path parameters: transferTypeId and transactionId. Both parameters must be accurately mapped to ensure the correct transaction receipt is retrieved.
The tripType represents the type of trips i.e. One Way or Two Way.
And For serviceType represents type of services i.e. manakamana-cable-car and annapurna-cable-car.
Get Possible Values
Endpoint:
{base-url}/payments/possibleValues/{transferTypeId}
Method: GET
Request Headers:
The following HTTP headers are required when calling the API:
Content-Type: application/json
Cellpay-Access-Token: {{accessToken}}
Get Possible Values – Response Example
{
"tripType": "{{tripType}}",
"cableCarService": "{{serviceType}}"
}
{
"status": true,
"sessionExpired": false,
"payload": {
"possibleValues": {
"trips": [
{
"tripType": "Two Way",
"passengerType": "Child",
"price": 405.0,
"vat": 46.59,
"lc": 0.0,
"passengerTypeDesc": "Child"
},
{
"tripType": "Two Way",
"passengerType": "Student",
"price": 505.0,
"vat": 58.1,
"lc": 0.0,
"passengerTypeDesc": "Student"
},
{
"tripType": "Two Way",
"passengerType": "Elderly",
"price": 470.0,
"vat": 54.07,
"lc": 0.0,
"passengerTypeDesc": "Elderly"
},
{
"tripType": "Two Way",
"passengerType": "Diff-Able",
"price": 335.0,
"vat": 38.54,
"lc": 0.0,
"passengerTypeDesc": "Differently Able"
},
{
"tripType": "Two Way",
"passengerType": "Indian",
"price": 840.0,
"vat": 96.64,
"lc": 0.0,
"passengerTypeDesc": "Indian Normal"
},
{
"tripType": "Two Way",
"passengerType": "Indian-CH",
"price": 552.0,
"vat": 63.5,
"lc": 0.0,
"passengerTypeDesc": "Indian Child"
}
],
"sessionId": "9472",
"status": true,
"reference": "CEL1764481655711",
"cableCarService": "{{serviceType}}",
"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": "1820",
"description": "Self Transfer Large Merchant",
"currencyId": "1",
"webRequest": "true",
"toMemberPrincipal": "{{toMemberPrincipal}}",
"bookingId": {{bookingId-data}},
"transactionPin": "XXXXXX",
"customValues": [
{
"fieldId": "15",
"internalName": "PAYMENTMETHOD",
"value": "Mobile Wallet"
}
],
"extraParam": {
"tickets": [
{
"passengerType": "Child",
"passengerCount": "2"
}
,
{
"passengerType": "Student",
"passengerCount": "2"
}
],
"referenceId": "{{referenceId}}",
"sessionId": "{{sessionId}}",
"cableCarService": "{{serviceType}}",
"tripType": "Two Way",
"contactPerson": "Himal Nepal",
"contactNumber": "{{passengerContactNumber}}"
},
"isOtpEnable": false
}
Book Payment – Successful Response (Sample)
{
"status": true,
"sessionExpired": false,
"payload": {
"DoPaymentResult": {
"wouldRequireAuthorization": false,
"from": {
"id": {{fromMemberId}},
"name": "{{fromMemberName}}",
"username": "{{fromMemberUserName}}",
"mobileNo": "{{fromMemberPrincipal}}",
"premiumMember": false
},
"to": {
"id": {{toMemberId}},
"name": "{{toMemberName}}",
"username": "{{toMemberUsername}}",
"mobileNo": "{{toMemberPrinipal}}",
"premiumMember": false
},
"finalAmount": 1820.00,
"formattedFinalAmount": "Rs. 1,820.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": "Account",
"currency": {
"id": 1,
"symbol": "रु",
"name": "Nepalese Rupee"
}
}
},
"customValues": [
{
"internalName": "PAYMENTMETHOD",
"fieldId": 15,
"value": "Account"
},
{
"internalName": "SELECTBANK",
"fieldId": 35,
"value": "{{senderBankCode}}"
},
{
"internalName": "ACCOUNTNUMBER",
"fieldId": 14,
"value": "{{senderBankAccountNumber}}"
}
],
"isOtpEnable": false,
"showConsolidateAmount": false,
"extraParam": {
"contactPerson": "{{PassengerName}}",
"contactNumber": "{{passengerContactNumber}}",
"referenceId": "CEL1764481655711",
"eventId": 0,
"subEventId": 0,
"disableOtp": false,
"sessionId": "9472",
"tripType": "{{tripType}}",
"cableCarService": "{{serviceType}}",
"tickets": [
{
"passengerType": "Child",
"passengerCount": "2"
},
{
"passengerType": "Student",
"passengerCount": "2"
}
],
"renewOption": false
},
"bookingId": "{{bookingId}}"
}
}
}
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": "1820",
"description": "Self Transfer Large Merchant",
"currencyId": "1",
"webRequest": "true",
"traceNumber": "CEL-12345",
"toMemberPrincipal": "{{toMemberPrincipal}}",
"bookingId": "{{bookingId}}",
"transactionPin": "XXXXXX",
"customValues": [
{
"fieldId": "15",
"internalName": "PAYMENTMETHOD",
"value": "Account"
},
{
"internalName": "SELECTBANK",
"fieldId": 35,
"value": "{{senderBankCode}}"
},
{
"internalName": "ACCOUNTNUMBER",
"fieldId": 14,
"value": "{{senderBankAccountNumber}}"
}
],
"extraParam": {
"tickets": [
{
"passengerType": "Child",
"passengerCount": "2"
},
{
"passengerType": "Student",
"passengerCount": "2"
}
],
"referenceId": "{{referenceId}}",
"sessionId": "{{sessionId}}",
"cableCarService": "{{serviceType}}",
"tripType": "{{tripType}}",
"contactPerson": "{{passengerName}}",
"contactNumber": "{{passengerContactNumber}}"
},
"isOtpEnable": false
}
Confirm Payment – Successful Response (Sample)
{
"status": true,
"sessionExpired": false,
"payload": {
"ConfirmPaymentResult": {
"id": 175525,
"pending": false,
"traceNumber": "CEL-12345"
}
}
}