Skip to content

Instantly share code, notes, and snippets.

@oldmud0
Created June 4, 2022 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oldmud0/f50ae80a65f657b1a89ee7096feeb000 to your computer and use it in GitHub Desktop.
Save oldmud0/f50ae80a65f657b1a89ee7096feeb000 to your computer and use it in GitHub Desktop.
NIC BIN lookup API

BIN lookup api

$ http post https://securecheckout.cdc.nicusa.com/Checkout/Payment/BinLookup prefix="5149"
HTTP/1.1 200 OK
Cache-Control: private,no-cache, no-store, must-revalidate 
Content-Length: 303
Content-Type: application/json; charset=utf-8
Date: [redacted]
Expires: -1
Pragma: no-cache
Set-Cookie: .Stackify.Rum=[redacted]; path=/; secure; HttpOnly
Set-Cookie: ASP.NET_SessionId=[redacted]; path=/; secure; HttpOnly; SameSite=None
Strict-Transport-Security: maxage=31536000; includeSubdomains; preload
Vary: Accept-Encoding
X-StackifyID: [redacted]
p3p: CP='This is not a P3P policy!'

{
    "CardNetwork": "MasterCard",
    "CardNetworkCode": "2",
    "CardNetworkShortName": "MAST",
    "ChargeType": "DEBIT",
    "CountryCode": "USA",
    "IsCommercialCard": "False",
    "IsEbtCard": "False",
    "IsFleetCard": "False",
    "IsForeign": "False",
    "IsFsaHsaCard": "False",
    "IsGsaCard": "False",
    "IsPINCapableCard": "True",
    "IsPrepaidCard": "False"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment