13 releases
| 0.3.9 | Oct 14, 2025 |
|---|---|
| 0.3.8 | Sep 26, 2025 |
| 0.3.2 | Aug 24, 2025 |
| 0.2.1 | Jun 17, 2025 |
| 0.1.0 | Jun 12, 2025 |
#224 in HTTP client
207 downloads per month
29KB
766 lines
maib-client - an unofficial rust client for MAIB API.
This is a REST client for the API that currently only supports a small portion of MAIB API.
Supported API
- MIA
- create QR
- cancel QR
- get QR details
- get payment
- refund payment
E-commerce API support is in the works
Running tests
To run sandbox tests, set MAIB_SANDBOX_BASE_PATH and MAIB_SANDBOX_ACCESS_TOKEN env variables in .env file, then run:
just test-sandbox
Note that you need just command runner. If you dont have the runner, then just set env variables and run:
cargo test --test sandbox
Both of these will only run integration tests.
License
Licensed under either of:
- Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
at your option.
Dependencies
~14–29MB
~334K SLoC