Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 30 | | All time: 10,881 This week: 121 |
|
Description | | Author Bintable
Contributor
|
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. | |
 |
|
Innovation award
 Nominee: 2x |
|
Details
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>
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.