Merosoft¶
Overview¶
Merosoft provides various Internet Service Providers (ISPs) along with their respective service slugs. Below is the list of ISPs under Merosoft:
ISPs and Their Service Slugs¶
- Meta Link:
metalink
- Prime Network:
prime-network
- Alisha Communication:
alisha-communication
- Smart Link:
smart-link
- PDS Server Network:
pds-server-network
API Details¶
Merosoft offers a multi-step API to fetch details and process payments for the services.
1. Detail Fetch API¶
Request URL:
{{base_url}}/api/servicegroup/details/merosoft/
Request Method:
POST
Service Parameters:
{
"token": "token",
"reference": "unique reference",
"Username": "kiran",
"service_slug": "service_slug" // service_slug of respective ISP, e.g., prime-network, metalink, alisha-communication
}
Response:
{
"customer_name": "Kiran Shrestha",
"remaining_days": "2781 days",
"expiry_date": "2029-07-26",
"active_package": "Basic for 1 month",
"packages": [
{
"id": 9,
"name": "Basic for 1 month",
"price": 1150
},
{
"id": 13,
"name": "Advanced for 1 month",
"price": 1700
},
{
"id": 21,
"name": "Extreme for 1 month",
"price": 2300
}
],
"session_id": 22,
"status": true
}
2. Payment API¶
Request URL:
{{base_url}}/api/servicegroup/commit/merosoft/
Request Method:
POST
Service Parameters:
{
"token": "token",
"reference": "unique reference",
"username": "kiran",
"service_slug": "service_slug",
"package_id": 9,
"package_name": "Basic for 1 month",
"amount": 1150,
"session_id": 1
}
Response:
{
"status": true,
"state": "Success",
"message": "Successfully Completed Transaction",
"extra_data": {},
"detail": "Recharged Successfully",
"credits_consumed": 1150.0,
"credits_available": 9999919624.3,
"id": 29256
}