bintable/api_php

The PHP API for bin lookup from https://bintable.com

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/bintable/api_php

dev-master 2020-02-14 11:00 UTC

This package is not auto-updated.

Last update: 2025-09-28 03:01:02 UTC


README

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