consolefinance/api-client-php

API client that enables developers to access and manage the data of their Console Finance account.


Keywords
php, API-Client, console-finance
License
MIT

Documentation

Console Finance

Console Finance API Client for PHP

API client that enables developers to access and manage the data of their Console Finance account.

Requirements

  1. Console Finance account.
  2. Your account must belong to a business or you must be a business.
  3. API credentials. It can be obtained inside the Apps menu in the business settings dashboard.
  4. A server with PHP >= 5.6 installed. Composer also recommended.
  5. 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();