Skip to main content
The Zentra Rust SDK provides convenient access to the Zentra API from Rust applications. The reviewed public HTTP surface for this SDK is transfers, webhooks, virtual accounts, payments, and cards. Identity and other generated helpers may still exist for tenant-specific or draft use cases, but they are not the default reviewed public API path.

Configuration

Initialize the client with your API key:

Resources

The SDK maps to reviewed API resources as follows:
  • client.payments(): Payment processing
  • client.transfers(): Bank transfers
  • client.virtual_accounts(): Virtual bank accounts
  • client.cards(): Card issuing
  • client.identity(): KYC verification
  • client.webhooks(): Webhook handling

Examples

Create Charge

Verify Webhook Signature

Error Handling

The SDK returns Result types with typed errors:

Runtime

The current checked-in SDK uses reqwest’s blocking client:

Source Code

GitHub Repo

View source code

crates.io

Download crate