dalsn/cashworx

A PHP package for using Cashworx's API

dev-master / 1.0.x-dev 2019-04-22 16:00 UTC

This package is auto-updated.

Last update: 2024-05-08 19:33:58 UTC


README

Software License Total Downloads

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.