dalsn / cashworx
一个用于使用Cashworx API的PHP包
dev-master / 1.0.x-dev
2019-04-22 16:00 UTC
Requires
- php: >=5.6.4
- guzzlehttp/guzzle: ~6.0
- nesbot/carbon: 1.36.*
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is auto-updated.
Last update: 2024-09-08 20:15:22 UTC
README
安装
通过Composer
$ composer require dalsn/cashworx
使用方法
$cashworx = new \Dalsn\Cashworx\Cashworx($access_key, $access_secret, $apiUrl); Create Invoice $cashworx->createInvoice($invoice_data); Get Invoice $cashworx->getInvoice($invoice_number); Get all Invoices $cashworx->getInvoices(); Confirm Payment $cashworx->getPayment($invoice_number); Get all Payments $cashworx->getPayments(); Get Profile $cashworx->getProfile();
贡献
请参阅CONTRIBUTING以获取详细信息。
致谢
许可协议
MIT 许可协议(MIT)。有关更多信息,请参阅许可文件。