{"id":28489677,"url":"https://github.com/abdullahwins/smart_pathshala_payment_docs","last_synced_at":"2026-03-17T23:01:30.771Z","repository":{"id":296182891,"uuid":"992495128","full_name":"AbdullahWins/Smart_Pathshala_Payment_Docs","owner":"AbdullahWins","description":"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.","archived":false,"fork":false,"pushed_at":"2025-07-20T05:03:49.000Z","size":2124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-09T02:34:07.759Z","etag":null,"topics":["bkash","inapp-billing","nagad","payment","rocket","ussd"],"latest_commit_sha":null,"homepage":"https://www.smartpathshalabd.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbdullahWins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-29T08:46:24.000Z","updated_at":"2025-09-15T11:36:30.000Z","dependencies_parsed_at":"2025-05-29T11:49:20.993Z","dependency_job_id":"ce783074-357d-4844-b33b-c9503f513389","html_url":"https://github.com/AbdullahWins/Smart_Pathshala_Payment_Docs","commit_stats":null,"previous_names":["abdullahwins/smart_pathshala_payment_docs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/AbdullahWins/Smart_Pathshala_Payment_Docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahWins%2FSmart_Pathshala_Payment_Docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahWins%2FSmart_Pathshala_Payment_Docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahWins%2FSmart_Pathshala_Payment_Docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahWins%2FSmart_Pathshala_Payment_Docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbdullahWins","download_url":"https://codeload.github.com/AbdullahWins/Smart_Pathshala_Payment_Docs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdullahWins%2FSmart_Pathshala_Payment_Docs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30635007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T22:38:22.569Z","status":"ssl_error","status_checked_at":"2026-03-17T22:38:11.804Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bkash","inapp-billing","nagad","payment","rocket","ussd"],"created_at":"2025-06-08T07:00:43.942Z","updated_at":"2026-03-17T23:01:30.767Z","avatar_url":"https://github.com/AbdullahWins.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Paathshala Payment API Documentation\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/images/smart-pathshala-banner.png\" alt=\"Smart Paathshala Banner\" width=\"100%\"\u003e\n\u003c/p\u003e\n\n## Overview\n\nThis 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.\n\n## Base URL\n\n```\nhttps://backend.smartpathshalabd.com/api/v1\n```\n\n## Available Payment Providers\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e\n        \u003ca href=\"./bkash/BKASH_README.md\"\u003e\n          \u003cimg src=\"./assets/images/bkash-logo.png\" alt=\"bKash Logo\" width=\"200\"\u003e\u003cbr\u003e\n          \u003cstrong\u003ebKash\u003c/strong\u003e\u003cbr\u003e\n          Bangladesh's leading mobile financial service\n        \u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e\n        \u003ca href=\"./rocket/ROCKET_README.md\"\u003e\n          \u003cimg src=\"./assets/images/rocket-logo.png\" alt=\"Rocket Logo\" width=\"200\"\u003e\u003cbr\u003e\n          \u003cstrong\u003eRocket\u003c/strong\u003e\u003cbr\u003e\n          Mobile banking service by Dutch-Bangla Bank\n        \u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e\n        \u003ca href=\"./tap/TAP_README.md\"\u003e\n          \u003cimg src=\"./assets/images/tap-logo.png\" alt=\"Tap Logo\" width=\"200\"\u003e\u003cbr\u003e\n          \u003cstrong\u003eTap\u003c/strong\u003e\u003cbr\u003e\n          Digital payment solution for Bangladesh\n        \u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e\n        \u003ca href=\"./cellfin/CELLFIN_README.md\"\u003e\n          \u003cimg src=\"./assets/images/cellfin-logo.png\" alt=\"Cellfin Logo\" width=\"200\"\u003e\u003cbr\u003e\n          \u003cstrong\u003eCellfin\u003c/strong\u003e\u003cbr\u003e\n          Mobile financial service for Bangladesh\n        \u003c/a\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n## Authentication\n\nAll API endpoints are secured with Basic Authentication. Each payment provider has its own set of credentials:\n\n- **bKash**: Requires specific bKash Basic Auth credentials\n- **Rocket**: Requires specific Rocket Basic Auth credentials\n- **Tap**: Requires specific Tap Basic Auth credentials\n- **Cellfin**: Requires specific Cellfin Basic Auth credentials\n\nBasic Authentication credentials should be included in the headers of each request.\n\n## Common Request Format\n\nAll endpoints accept form-data POST requests with a `data` parameter containing a JSON string with the required fields.\n\n```http\nPOST /api/v1/invoices/ussd/{provider}/{endpoint} HTTP/1.1\nHost: backend.smartpathshalabd.com\nAuthorization: Basic [encoded credentials]\nContent-Type: multipart/form-data\n\ndata={\n  \"institute_id\": \"SPID9\",\n  \"student_username\": \"SPID9\",\n  ...other parameters...\n}\n```\n\n## Common Parameters\n\nMost endpoints require the following parameters:\n\n| Parameter | Description |\n|-----------|-------------|\n| `institute_id` | The unique identifier for the educational institution (e.g., \"SPID9\") |\n| `student_username` | The unique identifier for the student (e.g., \"SPID9\") |\n\n## Environment Variables\n\nThe API collection uses the following environment variables:\n\n| Variable | Description |\n|----------|-------------|\n| `baseURL` | The base URL for the API |\n| `basicAuthUsernameBkash` | Username for bKash Basic Authentication |\n| `basicAuthPasswordBkash` | Password for bKash Basic Authentication |\n| `basicAuthUsernameRocket` | Username for Rocket Basic Authentication |\n| `basicAuthPasswordRocket` | Password for Rocket Basic Authentication |\n| `basicAuthUsernameTap` | Username for Tap Basic Authentication |\n| `basicAuthPasswordTap` | Password for Tap Basic Authentication |\n| `basicAuthUsernameCellfin` | Username for Cellfin Basic Authentication |\n| `basicAuthPasswordCellfin` | Password for Cellfin Basic Authentication |\n\n## API Workflow\n\nThe Smart Paathshala Payment API follows this general workflow:\n\n1. **Get Bill Information**: Retrieve bill details for a specific student\n2. **Process Payment**: Record payment made through the mobile financial service\n3. **Verify Payment Status**: Confirm if the payment was successful\n\n## Additional Resources\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e\n        \u003ca href=\"./bkash/BKASH_README.md\"\u003e\n          \u003cimg src=\"./assets/icons/documentation.png\" alt=\"Documentation Icon\" width=\"48\"\u003e\u003cbr\u003e\n          \u003cstrong\u003ebKash\u003cbr\u003eDocumentation\u003c/strong\u003e\n        \u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e\n        \u003ca href=\"./rocket/ROCKET_README.md\"\u003e\n          \u003cimg src=\"./assets/icons/documentation.png\" alt=\"Documentation Icon\" width=\"48\"\u003e\u003cbr\u003e\n          \u003cstrong\u003eRocket\u003cbr\u003eDocumentation\u003c/strong\u003e\n        \u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e\n        \u003ca href=\"./tap/TAP_README.md\"\u003e\n          \u003cimg src=\"./assets/icons/documentation.png\" alt=\"Documentation Icon\" width=\"48\"\u003e\u003cbr\u003e\n          \u003cstrong\u003eTap\u003cbr\u003eDocumentation\u003c/strong\u003e\n        \u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"25%\"\u003e\n        \u003ca href=\"./cellfin/CELLFIN_README.md\"\u003e\n          \u003cimg src=\"./assets/icons/documentation.png\" alt=\"Documentation Icon\" width=\"48\"\u003e\u003cbr\u003e\n          \u003cstrong\u003eCellfin\u003cbr\u003eDocumentation\u003c/strong\u003e\n        \u003c/a\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n## Postman Collections\n\nFor testing the API endpoints, you can use the Postman collections provided in this repository:\n\n- [bKash Postman Collection](./bkash/Bkash%20-%20Smart%20Paathshala%20Payment.postman_collection.json)\n- [Rocket Postman Collection](./rocket/Rocket%20-%20Smart%20Paathshala%20Payment.postman_collection.json)\n- [Tap Postman Collection](./tap/Tap%20-%20Smart%20Paathshala%20Payment.postman_collection.json)\n- [Cellfin Postman Collection](./cellfin/Cellfin%20-%20Smart%20Paathshala%20Payment.postman_collection.json)\n\n## Contact Information\n\nFor questions, support, or further information regarding this API documentation, please contact:\n\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003cimg src=\"./assets/icons/user.png\" alt=\"Name Icon\" width=\"24\"\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\u003cstrong\u003eName\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003eAbdullah Al MahMud\u003c/td\u003e\n    \u003c/tr\u003e\u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003cimg src=\"./assets/icons/netro-systems.png\" alt=\"Company Icon\" width=\"24\"\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\u003cstrong\u003eCompany\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://netrosystems.com\"\u003eNetro Systems\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003cimg src=\"./assets/icons/email.png\" alt=\"Email Icon\" width=\"24\"\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\u003cstrong\u003eEmail\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"mailto:abdudevs@gmail.com\"\u003eabdudevs@gmail.com\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e\n        \u003cimg src=\"./assets/icons/linkedin.png\" alt=\"LinkedIn Icon\" width=\"24\"\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\u003cstrong\u003eLinkedIn\u003c/strong\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"https://www.linkedin.com/in/abdullahwins\"\u003eAbdullah Al MahMud\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003csmall\u003eLast Updated: 2026-Feb-04\u003c/small\u003e\n\u003c/p\u003e\n\n\u003chr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003csmall\u003e© 2026 Smart Paathshala. All rights reserved.\u003c/small\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahwins%2Fsmart_pathshala_payment_docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahwins%2Fsmart_pathshala_payment_docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahwins%2Fsmart_pathshala_payment_docs/lists"}