RubixPe

Developers

Officially maintained SDKs for every stack

Thin, transparent wrappers over the REST API. Nothing is hidden from you, but retries, signing and pagination are handled.

Node.js

Node 18+ · ESM & CJS · TypeScript types bundled

npm i @rubixpe/node
import { RubixPe } from '@rubixpe/node'

const rubix = new RubixPe(process.env.RUBIXPE_SECRET_KEY)

const payout = await rubix.payouts.create({
  beneficiary: 'acc_9f2c41',
  amount: 124500,
  rail: 'IMPS',
}, { idempotencyKey: 'po_8812' })

Python

Python 3.9+ · sync & asyncio clients

pip install rubixpe
from rubixpe import RubixPe

rubix = RubixPe(api_key=os.environ["RUBIXPE_SECRET_KEY"])

payout = rubix.payouts.create(
    beneficiary="acc_9f2c41",
    amount=124500,
    rail="IMPS",
    idempotency_key="po_8812",
)

Java

Java 11+ · Gradle & Maven

implementation "in.rubixpe:sdk:2.4.0"
RubixPe rubix = RubixPe.builder()
    .apiKey(System.getenv("RUBIXPE_SECRET_KEY"))
    .build();

Payout payout = rubix.payouts().create(
    PayoutRequest.builder()
        .beneficiary("acc_9f2c41")
        .amount(124500L)
        .rail(Rail.IMPS)
        .build());

PHP

PHP 8.1+ · PSR-18 compatible

composer require rubixpe/sdk
$rubix = new \RubixPe\Client(getenv('RUBIXPE_SECRET_KEY'));

$payout = $rubix->payouts->create([
    'beneficiary' => 'acc_9f2c41',
    'amount' => 124500,
    'rail' => 'IMPS',
]);

Go

Go 1.21+ · context-aware

go get in.rubixpe/sdk
client := rubixpe.New(os.Getenv("RUBIXPE_SECRET_KEY"))

payout, err := client.Payouts.Create(ctx, &rubixpe.PayoutParams{
    Beneficiary: "acc_9f2c41",
    Amount:      124500,
    Rail:        rubixpe.RailIMPS,
})

CLI

macOS, Linux & Windows · tail webhooks locally

brew install rubixpe/tap/rubix
rubix login
rubix listen --forward-to localhost:3000/api/webhooks
rubix payouts create --beneficiary acc_9f2c41 --amount 124500 --rail IMPS

What every SDK handles for you

Automatic retries

Idempotency keys are generated and replayed for you, with exponential backoff on transient failures.

Typed responses

Generated from the same OpenAPI spec that powers the reference, so every field is discoverable in your editor.

Webhook verification

A single helper validates the HMAC signature and the replay window before you parse a payload.

Pinned versions

Each SDK targets an explicit API version, so upgrades are deliberate rather than surprising.

Missing your language?

The OpenAPI spec is available on request, and we prioritise new SDKs based on what our customers actually run.