Expand description
Chimoney Rust SDK
A Rust client library for the Chimoney API — enabling bulk global payments, payouts, and financial transactions.
§Features
- Full API coverage — 86 endpoints across all Chimoney API domains
- Typed request/response structs — compile-time safety for all API interactions
- Retry with exponential backoff — automatic retry for transient failures
- Sandbox support — test against the Chimoney sandbox environment
- Builder pattern — configurable client with custom timeout, retries, and base URL
§Example
use chimoney_rust_sdk::{ChimoneyClient, error::Result};
let client = ChimoneyClient::new("your_api_key")?;
// Get supported airtime countries
let countries = client.get_airtime_countries().await?;
println!("Countries: {:?}", countries);
// Get exchange rates
let rates = client.get_exchange_rates().await?;
println!("Rates: {:?}", rates);
Re-exports§
pub use client::ChimoneyClient;pub use client::ChimoneyClientBuilder;pub use error::ChimoneyError;pub use error::Result;
Modules§
- client
- HTTP client for the Chimoney API.
- error
- Error types for the Chimoney SDK.
- middleware
- HTTP middleware configuration.
- types
- Request and response types for all Chimoney API endpoints.