Console Finance API Client for PHP
API client that enables developers to access and manage the data of their Console Finance account.
Requirements
- Console Finance account.
- Your account must belong to a business or you must be a business.
- API credentials. It can be obtained inside the Apps menu in the business settings dashboard.
- A server with PHP >= 5.6 installed. Composer also recommended.
- SSL Certificate.
Installation
composer require consolefinance/api-client-phpUsage
Load the library:
require 'vendor/autoload.php';
use \Console\Finance\AppClient;Send payment request:
$Client->set_api_key('YOUR API KEY');
$Client->set_token($_POST['token']);
$Client->set_state($_POST['state']);
$Client->send_payment_request();