Skip to content

feat: implement the BlindPay Rust SDK#1

Merged
alvseven merged 6 commits into
mainfrom
alves/rust-sdk
Jul 2, 2026
Merged

feat: implement the BlindPay Rust SDK#1
alvseven merged 6 commits into
mainfrom
alves/rust-sdk

Conversation

@alvseven

Copy link
Copy Markdown
Contributor

No description provided.

alvseven added 6 commits June 22, 2026 13:54
Async, reqwest-based client for the BlindPay API covering all resources:
available, instances (+ terms-of-service, webhook endpoints), partner fees,
fees, customers (+ bank accounts), wallets (blockchain/custodial/offramp),
virtual accounts, quotes, payins (+ quotes), payouts, transfers (+ quotes),
upload (multipart), and Svix webhook signature verification. Shared types
live in `common` (open-enum pattern, pagination, scalars). Every method goes
through a single transport and ships with unit + wiremock tests (245 passing),
with release-plz CI for releases.
commercial_quotation / blindpay_quotation are decimal exchange rates
(the API types them z.coerce.number()), but were modeled as i64, so
quotes.get_fx_rate and payins.quotes.get_fx_rate failed to decode real
responses (e.g. 514.13). Fixes Quote, QuoteFx, PayinQuote, PayinQuoteFx,
Payin, and TransferQuote; test fixtures now use float values to guard the
contract. Found via live testing against a dev instance.
@alvseven alvseven merged commit 51f362b into main Jul 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant