blindpay/php
最新稳定版本:v1.3.0
Composer 安装命令:
composer require blindpay/php
包简介
Official PHP SDK for BlindPay API - Global payments infrastructure
README 文档
README
The official PHP SDK for Blindpay - Global payments infrastructure made simple.
Requirements
- PHP 8.2 or higher
- Composer
Installation
composer require blindpay/php
Authentication
To get started, you will need both your API key and your instance id, you can obtain your API key and instance id from the Blindpay dashboard https://app.blindpay.com/instances/{instanceId}/api-keys
use BlindPay\SDK\BlindPay; $blindpay = new BlindPay( apiKey: 'your-api-key-here', instanceId: 'your-instance-id-here' );
Note
All api calls are going to use the provided api key and instance id
Quick Start
Check for available rails
use BlindPay\SDK\BlindPay; function getAvailableRails(): void { $blindpay = new BlindPay( apiKey: 'your-api-key-here', instanceId: 'your-instance-id-here' ); $response = $blindpay->available->getRails(); if ($response->isError()) { throw new RuntimeException($response->error->message); } foreach ($response->data) { echo "Rail: {$rail->label} ({$rail->value}) - {$rail->country}\n"; } } getAvailableRails();
For detailed API documentation, visit:
Support
- Email: gabriel@blindpay.com
- Issues: GitHub Issues
License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by the Blindpay team
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-21