dalsn / cashworx
A PHP package for using Cashworx's API
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-05-08 19:33:58 UTC
README
Install
Via Composer
$ composer require dalsn/cashworx
Usage
$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
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.