apiverve_binlookup 1.2.0 copy "apiverve_binlookup: ^1.2.0" to clipboard
apiverve_binlookup: ^1.2.0 copied to clipboard

BIN Lookup is a simple tool for looking up BIN number information. It returns information such as the bank, card type, and more based on the BIN number provided.

BIN Lookup API - Dart/Flutter Client #

BIN Lookup is a simple tool for looking up BIN number information. It returns information such as the bank, card type, and more based on the BIN number provided.

pub package License: MIT

This is the Dart/Flutter client for the BIN Lookup API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_binlookup: ^1.2.0

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_binlookup/apiverve_binlookup.dart';

void main() async {
  final client = BinlookupClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'bin': '448590'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "bin": "448590",
    "brand": "VISA",
    "type": "CREDIT",
    "category": "PURCHASING",
    "country": "United States",
    "issuer": {
      "name": "JPMORGAN CHASE BANK, N.A.",
      "country": "United States",
      "phone": "1-800-432-3117",
      "website": "www.chase.com"
    },
    "location": {
      "latitude": "37.0902",
      "longitude": "-95.7129",
      "alpha2": "US",
      "alpha3": "USA"
    }
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
130
points
167
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

BIN Lookup is a simple tool for looking up BIN number information. It returns information such as the bank, card type, and more based on the BIN number provided.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_binlookup