Skip to main content
The Zentra Ruby SDK provides convenient access to the Zentra API from Ruby applications. The reviewed public HTTP surface for this SDK is transfers, webhooks, virtual accounts, payments, cards, and tenant-enabled identity. Customers, wallets, and other generated helpers may still exist for compatibility 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 a Transfer

Create Charge

Verify Webhook Signature

Error Handling

The SDK raises typed exceptions for API errors:

Rails Integration

For Rails applications, configure in an initializer:

Source Code

GitHub Repo

View source code

RubyGems

Download gem