Syntch Gateway API

<back to all web services

GetBinData

Reporting - BIN Data
Requires Authentication
Requires any of the roles:Reseller, Merchant
The following routes are available for this service:
GET/reports/bins/{binNumbers}Gets the data associated with one to 10 bin numbers.
GetBinData Parameters:
NameParameterData TypeRequiredDescription
BinNumberspathList<string>YesThe bin numbers to lookup. Must be six to 11 digit numbers.
BinData Parameters:
NameParameterData TypeRequiredDescription
BinformlongNoThe BIN/first 6 digits of the card
CardBrandformstringNoThe card brand (VISA, MasterCard, American Express, etc
IssuingOrgformstringNoThe organization/bank that issued the card
CardTypeformstringNoTypically debit or credit
CardCategoryformstringNoThe category indicating special types of card such as corporate, purchasing, and prepaid
IssuingCountryformstringNoThe country where the card was issued
IssuingCountryCodeA2formstringNoThe A2 country code
IssuingCountryCodeA3formstringNoThe A3 country code
IssuingCountryNumberformint?NoThe issuing country number
IssuingPhoneformstringNoPhone number, if available, of the issuing organization
IssuingWebsiteformstringNoWeb site, if available, of the issuing organization
PanLengthformint?NoThe length of credit card number
IssuedEntityformstringNoDefines if the BIN is PERSONAL or COMMERCIAL
IsRegulatedformboolNoIndicates if the card is regulated
IsCommercialformboolNoTrue if the IssuedEntity is equal to 'COMMERCIAL'

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /reports/bins/{binNumbers} HTTP/1.1 
Host: syntch.simpay.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Bin":0,"CardBrand":"String","IssuingOrg":"String","CardType":"String","CardCategory":"String","IssuingCountry":"String","IssuingCountryCodeA2":"String","IssuingCountryCodeA3":"String","IssuingCountryNumber":0,"IssuingPhone":"String","IssuingWebsite":"String","PanLength":0,"IssuedEntity":"String","IsRegulated":false,"IsCommercial":false}