maib-client 0.3.9

An unofficial Rust client for MAIB API
Documentation

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:

at your option.