PHP Classes

PHP BIN Lookup API: Lookup bank issuer number data using BinTable API

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 31 All time: 11,094 This week: 206Up
Version License PHP version Categories
api_php 1.0.0GNU General Publi...5PHP 5, Web services, Finances
Description 

Author

This class can lookup bank issuer number data using BinTable API.

It can send HTTP requests to the BinTable API Web server to perform requests related with banks. Currently it can:

- Lookup for a given bank code and return the bank name and other details, the bank country and the types of credit or debit card they issue.
- Get the account balance.

Picture of Samy Massoud
  Performance   Level  
Name: Samy Massoud <contact>
Classes: 5 packages by
Country: Egypt Egypt
Age: 39
All time rank: 245024 in Egypt Egypt
Week rank: 178 Up4 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 2x

Documentation

api_php

The Nodejs Package for BINTable.com API

Installation

Please run > composer require bintable/api_php

Usage

The package contains two endpoints - BIN Lookup endpoint - Balance check endpoint

For calling BIN lookup, you can use the following code after replacing the BIN, and API_KEY with valid data.

require_once __DIR__ . '/vendor/autoload.php';
use Bintable\BintableApi;

try{
    $pi_key = ""; //YOUR API KEY
    $bintable = new BintableApi($pi_key);
    $lookup = $bintable->Lookup("403244");
    echo $lookup;
}catch(Exception $ex){
    echo $ex->getMessage();
}

For Calling Balance check

require_once __DIR__ . '/vendor/autoload.php';
use Bintable\BintableApi;

try{
    $pi_key = ""; //YOUR API KEY
    $bintable = new BintableApi($pi_key);
    $balance = $bintable->Balance();
    echo $balance;
}catch(Exception $ex){
    echo $ex->getMessage();
}

For more information and API key, please visit [BINTable BIN Lookup API] <https://bintable.com/get-api>


  Files folder image Files (3)  
File Role Description
Files folder imagesrc (1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files (3)  /  src  
File Role Description
Files folder imageBintable (1 file)

  Files folder image Files (3)  /  src  /  Bintable  
File Role Description
  Accessible without login Plain text file BintableApi.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:31
This week:0
All time:11,094
This week:206Up