maib-client

Crates.iomaib-client
lib.rsmaib-client
version0.3.7
created_at2025-06-12 14:16:19.249825+00
updated_at2025-09-25 17:27:17.682451+00
descriptionAn unofficial Rust client for MAIB API
homepage
repositoryhttps://github.com/AleVul/maib-client
max_upload_size
id1709850
size89,553
Alexandr Vulpea (AleVul)

documentation

README

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.

Commit count: 20

cargo fmt