卡约 / 计数
此包已 弃用 且不再维护。没有建议的替代包。
此包的最新版本(dev-master)没有可用的许可信息。
PHP 库,用于消费 Kount API
dev-master
2016-01-25 02:30 UTC
Requires
- guzzlehttp/guzzle: ^6.1
Requires (Dev)
- phpspec/phpspec: ^2.0
This package is auto-updated.
Last update: 2020-12-19 15:02:00 UTC
README
示例
<?php use Kayue\Kount\Kount; require_once dirname(__DIR__) . '/vendor/autoload.php'; $kount = new Kount('API_KEY'); // Get an email's VIP status (approve / decline) $kount->getEmail('someone@example.com')->getResult(); // Update an trasacntion's approve status $kount->updateOrderStatus('TXID', Kount::ORDER_STATUS_APPROVE);