Welcome to MBBank API for Python
A small Python library to interact with MB Bank APIs.
Why we have this library?
Because I didn't want to lose money on some API services like casso.vn or payos.vn when they provide freemium tiers with limits. This will support for small and medium projects that need to interact with MB Bank's API without worrying about costs or limits.
This library lets you build your own code around the MB Bank API, so you can use it freely without depending on third-party paid gateways.
Requires
- ONNX Runtime (with CUDA) — optional if you want to use a CUDA GPU for OCR.
- Python 3.10 or higher
Manuals
- Main Entry Point
- Async API – mbbank.aio
- Sync API – mbbank.sync
- Image Processing – mbbank.capcha_ocr
- Response Models – mbbank.modals
- Errors – mbbank.errors
FAQ
- What can this library do?
- It can retrieve transaction history from your account, card transaction history, account balance, savings information, and more, but it needs your credentials to access your account and phone otp to transfer money.
- Is this library going to hack my account?
- No. Everything runs locally and the library only makes requests to MB Bank's API. Keep your credentials private.
- Will my account be banned if I use this library?
- I can't guarantee that — use it at your own risk.
- Can I run the OCR model on CPU?
- Yes. CPU mode is supported, but it may be slower than using a GPU (CUDA).
- What should I do if I get a CryptoVerifyError?
- You can proxy your requests to a Vietnamese IP address or use a VPN service to connect through Vietnam. If you'd like to help contribute to bypassing this issue, please visit this GitHub issue.
- Can i warp this and sell as an API?
- I will not recommend because software and services should be free and open source. If you use for your own API payment gateway is acceptable. However, if you make API service and sell. I would not recommend because it is not ethical, and it is not good for the community.