| Crates.io | sumup |
| lib.rs | sumup |
| version | 0.5.5 |
| created_at | 2022-11-24 22:28:15.773826+00 |
| updated_at | 2025-12-20 10:16:41.680352+00 |
| description | Rust SDK for the SumUp API. |
| homepage | |
| repository | https://github.com/sumup/sumup-rs |
| max_upload_size | |
| id | 722439 |
| size | 346,662 |
IMPORTANT: This SDK is under heavy development and subject to breaking changes.
The Rust SDK for the SumUp API.
Rust 1.82.0 or higher. We follow Firefox MSRV policy.
Install with:
cargo add sumup
use sumup::Client;
#[tokio::main]
async fn main() {
// Initialize the client (reads SUMUP_API_KEY from environment)
let client = Client::default();
// List existing checkouts
let checkouts = client
.checkouts()
.list(Default::default())
.await
.expect("list checkouts");
println!("retrieved {} checkouts", checkouts.len());
}
You can find all examples under examples/. To run an example, use:
cargo run --example checkout_card_reader