consolefinance / api-client-php
API client that enables developers to access and manage the data of their Console Finance account.
1.0.0
2018-07-10 09:22 UTC
Requires
- php: >=5.6.0
- guzzlehttp/guzzle: ^6.3
This package is not auto-updated.
Last update: 2024-10-09 12:10:43 UTC
README
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-php
Usage
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();