paystack-rs
Convenient Async rust bindings and types for the Paystack HTTP API aiming to support the entire API surface. Not the case? Please open an issue. I update the definitions on a weekly basis.
The client aims to make receiving payments for African business or business with African clients building with Rust as hassle-free as possible.
The client currently covers the following section of the API, and the sections to be implemented in order are left unchecked:
- Transaction
- Transaction Split
- Terminal
- Customers
- Dedicated Virtual Account
- Apple Pay
- Subaccounts
- Plans
- Subscriptions
- Transfer Recipients
- Transfers
- Transfers Control
- Bulk Charges
- Integration
- Charge
- Disputes
- Refunds
- Verifications
- Miscellaneous
Documentation
See the Rust API docs or the examples.
Installation
paystack-rs
uses the reqwest
HTTP client under the hood and the tokio
runtime for async operations.
[]
= "0.X.X"
You can also download the source code and use in your code base directly if you prefer.
Usage
Initializing an instance of the Paystack client and creating a transaction.
use env;
use dotenv;
use ;
async
Contributing
See CONTRIBUTING.md for information on contributing to paystack-rs.
License
Licensed under MIT license (LICENSE-MIT).