An open API service indexing awesome lists of open source software.

https://github.com/abdullahwins/smart_pathshala_payment_docs

This documentation covers the Smart Paathshala Payment API, which provides integration with multiple mobile financial services in Bangladesh, including bKash and Rocket. The API allows educational institutions to manage student bill generation and payment processing through USSD (Unstructured Supplementary Service Data) channels.
https://github.com/abdullahwins/smart_pathshala_payment_docs

bkash inapp-billing nagad payment rocket ussd

Last synced: 3 months ago
JSON representation

This documentation covers the Smart Paathshala Payment API, which provides integration with multiple mobile financial services in Bangladesh, including bKash and Rocket. The API allows educational institutions to manage student bill generation and payment processing through USSD (Unstructured Supplementary Service Data) channels.

Awesome Lists containing this project

README

          

# Smart Paathshala Payment API Documentation


Smart Paathshala Banner

## Overview

This documentation covers the Smart Paathshala Payment API, which provides integration with multiple mobile financial services in Bangladesh, including bKash, Rocket, Tap, and Cellfin. The API allows educational institutions to manage student bill generation and payment processing through USSD (Unstructured Supplementary Service Data) channels.

## Base URL

```
https://backend.smartpathshalabd.com/api/v1
```

## Available Payment Providers






bKash Logo

bKash

Bangladesh's leading mobile financial service




Rocket Logo

Rocket

Mobile banking service by Dutch-Bangla Bank




Tap Logo

Tap

Digital payment solution for Bangladesh




Cellfin Logo

Cellfin

Mobile financial service for Bangladesh




## Authentication

All API endpoints are secured with Basic Authentication. Each payment provider has its own set of credentials:

- **bKash**: Requires specific bKash Basic Auth credentials
- **Rocket**: Requires specific Rocket Basic Auth credentials
- **Tap**: Requires specific Tap Basic Auth credentials
- **Cellfin**: Requires specific Cellfin Basic Auth credentials

Basic Authentication credentials should be included in the headers of each request.

## Common Request Format

All endpoints accept form-data POST requests with a `data` parameter containing a JSON string with the required fields.

```http
POST /api/v1/invoices/ussd/{provider}/{endpoint} HTTP/1.1
Host: backend.smartpathshalabd.com
Authorization: Basic [encoded credentials]
Content-Type: multipart/form-data

data={
"institute_id": "SPID9",
"student_username": "SPID9",
...other parameters...
}
```

## Common Parameters

Most endpoints require the following parameters:

| Parameter | Description |
|-----------|-------------|
| `institute_id` | The unique identifier for the educational institution (e.g., "SPID9") |
| `student_username` | The unique identifier for the student (e.g., "SPID9") |

## Environment Variables

The API collection uses the following environment variables:

| Variable | Description |
|----------|-------------|
| `baseURL` | The base URL for the API |
| `basicAuthUsernameBkash` | Username for bKash Basic Authentication |
| `basicAuthPasswordBkash` | Password for bKash Basic Authentication |
| `basicAuthUsernameRocket` | Username for Rocket Basic Authentication |
| `basicAuthPasswordRocket` | Password for Rocket Basic Authentication |
| `basicAuthUsernameTap` | Username for Tap Basic Authentication |
| `basicAuthPasswordTap` | Password for Tap Basic Authentication |
| `basicAuthUsernameCellfin` | Username for Cellfin Basic Authentication |
| `basicAuthPasswordCellfin` | Password for Cellfin Basic Authentication |

## API Workflow

The Smart Paathshala Payment API follows this general workflow:

1. **Get Bill Information**: Retrieve bill details for a specific student
2. **Process Payment**: Record payment made through the mobile financial service
3. **Verify Payment Status**: Confirm if the payment was successful

## Additional Resources






Documentation Icon

bKash
Documentation





Documentation Icon

Rocket
Documentation





Documentation Icon

Tap
Documentation





Documentation Icon

Cellfin
Documentation





## Postman Collections

For testing the API endpoints, you can use the Postman collections provided in this repository:

- [bKash Postman Collection](./bkash/Bkash%20-%20Smart%20Paathshala%20Payment.postman_collection.json)
- [Rocket Postman Collection](./rocket/Rocket%20-%20Smart%20Paathshala%20Payment.postman_collection.json)
- [Tap Postman Collection](./tap/Tap%20-%20Smart%20Paathshala%20Payment.postman_collection.json)
- [Cellfin Postman Collection](./cellfin/Cellfin%20-%20Smart%20Paathshala%20Payment.postman_collection.json)

## Contact Information

For questions, support, or further information regarding this API documentation, please contact:





Name Icon

Name
Abdullah Al MahMud


Company Icon

Company
Netro Systems



Email Icon

Email
abdudevs@gmail.com



LinkedIn Icon

LinkedIn
Abdullah Al MahMud



Last Updated: 2026-Feb-04



© 2026 Smart Paathshala. All rights reserved.