ultraner / sdk
Ultraner PHP SDK, one API for payments across Africa (mobile money, cards, PayPal, wallets).
dev-main
2026-06-27 02:40 UTC
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
This package is not auto-updated.
Last update: 2026-06-27 03:46:05 UTC
README
One API for payments across Africa: mobile money, cards, PayPal and wallets. Live in Tanzania and Rwanda, expanding across the continent.
- Docs: https://ultraner.com/docs
- OpenAPI: https://ultraner.com/openapi.json
- For AI: https://ultraner.com/ai
Install
composer require ultraner/sdk
Usage
<?php require 'vendor/autoload.php'; use Ultraner\Client; $ultraner = new Client('sk_live_...'); // Charge a mobile-money wallet $payment = $ultraner->createMobileMoney([ 'amount' => 5000, 'currency' => 'TZS', 'provider' => 'Vodacom', 'accountNumber' => '255700000000', 'externalId' => 'order_1001', ]); // Poll status $status = $ultraner->paymentStatus($payment['reference']); // Wallet, transactions $ultraner->wallet(); $ultraner->transactions(1, 20); // Escrow $escrow = $ultraner->createEscrow(['amount' => 10000, 'currency' => 'TZS', 'recipient' => 'vendor@example.com']); $ultraner->releaseEscrow($escrow['escrowCode']);
Errors throw Ultraner\UltranerException with ->status and ->apiCode.
License
MIT