Pakasir Rust SDK (Unofficial)
Unofficial Rust port of the Pakasir Go SDK in this repository.
Status
This crate currently ports the core REST SDK surface:
- HTTP client with retries and
Retry-Aftersupport - Transaction service (
create,cancel,detail) - Simulation service (
pay) - Webhook parsing
- Payment URL builder
- QR PNG generation
- English and Indonesian localized SDK errors
The Go repository's gRPC server layer is not ported yet in this crate.
Quick Start
use ;
async
Layout
pakasir-rust-sdk/
├── .github/
│ ├── dependabot.yml
│ └── workflows/
│ └── test.yml
├── Cargo.toml
├── LICENSE
├── Makefile
├── README.md
├── src/
│ ├── client.rs
│ ├── constants.rs
│ ├── error.rs
│ ├── i18n.rs
│ ├── lib.rs
│ ├── payment_url.rs
│ ├── qr.rs
│ ├── simulation.rs
│ ├── timefmt.rs
│ ├── transaction.rs
│ └── webhook.rs
└── tests/
└── sdk.rs