ultraner/sdk
Composer 安装命令:
composer require ultraner/sdk
包简介
Ultraner PHP SDK, one API for payments across Africa (mobile money, cards, PayPal, wallets).
关键字:
README 文档
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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-27