Nepal Telecom (NTC) API¶
The Nepal Telecom API endpoint allows you to perform a single-step transaction. This API requires a POST request and provides information about the success or failure of the transaction.
API Details¶
- URL:
{{base_url}}/api/use/ntc/
- Type: Single Step API
- Request Type: POST
Parameters¶
- number: 10-digit mobile number (NT Prepaid, NT Postpaid, NT CDMA Prepaid & Postpaid)
- token: Authentication token
- reference: Unique reference identifier
- amount: Between 10 to 25,000
Request Format¶
The request body should be in JSON format:
{
"token": "Token Provided",
"reference": "unique-reference",
"amount": "amount",
"number": "number"
}
Response Format¶
{
"token": "Token Provided",
"reference": "unique-reference",
"amount": "amount",
"number": "number"
}