Skip to main content

Landline

This API enables third-party systems or apps to integrate Landline services into their systems via CellPay.

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​

{
"status": true,
"sessionExpired": false,
"payload": {
"DoPaymentResult": {
"wouldRequireAuthorization": false,
"from": {
"id": 14838,
"name": "{{memberName}}",
"username": "{{memberUserName}}",
"mobileNo": "{{memberMobileNumber}}"
},
"finalAmount": 1.00,
"formattedFinalAmount": "Rs. 1.00",
"transferType": {
"id": 85,
"name": "NT Landline Bill Payment",
"from": {
"id": 5,
"name": "Account",
"currency": {
"id": 1,
"symbol": "रु",
"name": "Nepalese Rupee"
}
},
"to": {
"id": 6,
"name": "Cellcom Float Account",
"currency": {
"id": 1,
"symbol": "रु",
"name": "Nepalese Rupee"
}
}
},
"customValues": [
{
"internalName": "PAYMENTMETHOD",
"fieldId": 15,
"value": "Account"
},
{
"fieldId": "35",
"internalName": "SELECTBANK",
"value": "{{senderBankCode}}"
},
{
"fieldId": "14",
"internalName": "ACCOUNTNUMBER",
"value": "{{senderBankAccountNumber}}"
},
{
"internalName": "LANDLINENUMBER",
"fieldId": 18,
"value": "14265361"
}
],
"isOtpEnable": false,
"showConsolidateAmount": false,
"bookingId": 3
}
}
}

Book Payment – Successful Response (Sample)​

{
"status": true,
"sessionExpired": false,
"payload": {
"DoPaymentResult": {
"wouldRequireAuthorization": false,
"from": {
"id": 14838,
"name": "{{memberName}}",
"username": "{{memberUserName}}",
"mobileNo": "{{memberMobileNumber}}"
},
"finalAmount": 1.00,
"formattedFinalAmount": "Rs. 1.00",
"transferType": {
"id": 85,
"name": "NT Landline Bill Payment",
"from": {
"id": 5,
"name": "Account",
"currency": {
"id": 1,
"symbol": "रु",
"name": "Nepalese Rupee"
}
},
"to": {
"id": 6,
"name": "Cellcom Float Account",
"currency": {
"id": 1,
"symbol": "रु",
"name": "Nepalese Rupee"
}
}
},
"customValues": [
{
"internalName": "PAYMENTMETHOD",
"fieldId": 15,
"value": "Account"
},
{
"fieldId": "35",
"internalName": "SELECTBANK",
"value": "{{senderBankCode}}"
},
{
"fieldId": "14",
"internalName": "ACCOUNTNUMBER",
"value": "{{senderBankAccountNumber}}"
},
{
"internalName": "LANDLINENUMBER",
"fieldId": 18,
"value": "14265361"
}
],
"isOtpEnable": false,
"showConsolidateAmount": false,
"bookingId": 3
}
}
}

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": "1",
"description": "ok",
"traceNumber": "CEL-12345", //Use consistent transaction IDs like CELL-001 or PRV-001 per your company's standard. Trace Number must be unique.
"currencyId": "1",
"webRequest": true,
"bookingId": 3,
"transactionPin": "XXXXXX",
"customValues": [
{
"fieldId": "15",
"internalName": "PAYMENTMETHOD",
"value": "Account"
},
{
"fieldId": "35",
"internalName": "SELECTBANK",
"value": "{{senderBankCode}}"
},
{
"fieldId": "14",
"internalName": "ACCOUNTNUMBER",
"value": "{{senderbankAccountNumber}}"
},
{
"internalName": "LANDLINENUMBER",
"fieldId": "18",
"value": "{{rechargeNumber}}"
}
]
}

Confirm Payment – Successful Response (Sample)​

{
"status": true,
"sessionExpired": false,
"payload": {
"ConfirmPaymentResult": {
"id": 100011,
"traceNumber": "CEL-12345", //Use consistent transaction IDs like CELL-001 or PRV-001 per your company's standard. Trace Number must be unique.
"pending": false
}
}
}

Service Parameters​

Parameter NameTypeRequiredDescription
transferTypeIdIntegerYesUnique identifier for the Landline Bill Payment service.
amountDecimalYesBill amount to be paid for the landline service.
descriptionStringNoOptional remarks or description for the transaction.
currencyIdIntegerYesCurrency identifier. Use 1 for Nepalese Rupee (NPR).
webRequestBooleanYesIndicates whether the request is initiated from a web-based system.
customValuesArrayYesList of additional parameters required to process the landline bill payment.
customValues.fieldIdIntegerYesSystem-defined field identifier.
customValues.internalNameStringYesInternal parameter name. Supported values: PAYMENTMETHOD, LANDLINENUMBER.
customValues.valueStringYesValue corresponding to the internal parameter (e.g., wallet type, landline number).
bookingIdIntegerYesBooking reference returned from the Book Payment API. Required for Confirm Payment.
transactionPinStringYesUser’s transaction PIN. Required during Confirm Payment.
traceNumberStringYesUnique transaction reference number used during Confirm Payment. Must be unique per transaction.
isOtpEnableBooleanNoIndicates whether OTP verification is required for the transaction.
otpStringYesOne-time password. Required only if OTP is enabled.