Getnet DocsGetnet Docs

BIN Lookup

GET/dpm/payments-gwproxy/v2/cards/binlookup/{bin}

__BIN Lookup__<br> <br>This endpoint retrieves detailed information about a specific BIN (Bank Identification Number), including brand, country of issue, issuer, and product type. It’s used to identify and classify credit or debit cards before processing.<br> <br>**Usage Scenarios:**<br>_- Identifying the brand or network of a card using its BIN.<br>- Determining the issuing country or financial institution.<br>- Classifying the card type (credit, debit, prepaid, etc.).<br>- Enhancing fraud prevention and analytics by understanding the card’s origin._<br> <br>**Notes:**<br>_- Requires the bin parameter in the path, typically the first 9 digits of a card number.<br>- Useful for card validation, enrichment, and routing logic._

Path Parameters

binstringrequired

bin

Response

Request executed successfully

resultsobject[]
Show results properties
bininteger

BIN of the query.

brandstring

Flag name.

brand_codeinteger

Flag code.

brazilian_issuedstring

Informs whether the issuer is from Brazil.

countrystring

Country name.

country_codestring

Country numeric code.

country_code_isostring

ISO_3166-1 country code.

issuerstring

Issuer name.

productstring

Product linked to BIN.

type"credit" | "debit" | "prepaid"

BIN type (credit, debit, prepaid).

statusstring

BIN Status return message.

Invalid authentication. Check your credentials or contact the Getnet Relationship Center.

statusstring

Error situation.

error_codestring

Error code.

descriptionstring

Description of the error.

description_detailstring

Detailed description of the error.

brandstring

Brand.

payment_idstring

payment_id.

seller_idstring

seller_id.

amountstring

amount.

currencystring

currency.

order_idstring

order_id.

credit_cancelobject

credit_cancel.

Show credit_cancel properties
canceled_atstring

canceledAt.

messagestring

message.

payment_tagstring

payment_tag.

status_codestring

statusCode.

messagestring

message.

namestring

name.

acquirer_transaction_idstring

acquirer_transaction_id.

authorization_codestring

authorization_code.

transaction_idstring

transaction_id.

reason_codestring

reason_code.

reason_messagestring

reason_message.

merchant_advice_codestring

merchant_advice_code.

Not found

statusstring

Error situation.

error_codestring

Error code.

descriptionstring

Description of the error.

description_detailstring

Detailed description of the error.

brandstring

Brand.

payment_idstring

payment_id.

seller_idstring

seller_id.

amountstring

amount.

currencystring

currency.

order_idstring

order_id.

credit_cancelobject

credit_cancel.

Show credit_cancel properties
canceled_atstring

canceledAt.

messagestring

message.

payment_tagstring

payment_tag.

status_codestring

statusCode.

messagestring

message.

namestring

name.

acquirer_transaction_idstring

acquirer_transaction_id.

authorization_codestring

authorization_code.

transaction_idstring

transaction_id.

reason_codestring

reason_code.

reason_messagestring

reason_message.

merchant_advice_codestring

merchant_advice_code.

Internal server error. Please try again later.

statusstring

Error situation.

error_codestring

Error code.

descriptionstring

Description of the error.

description_detailstring

Detailed description of the error.

brandstring

Brand.

payment_idstring

payment_id.

seller_idstring

seller_id.

amountstring

amount.

currencystring

currency.

order_idstring

order_id.

credit_cancelobject

credit_cancel.

Show credit_cancel properties
canceled_atstring

canceledAt.

messagestring

message.

payment_tagstring

payment_tag.

status_codestring

statusCode.

messagestring

message.

namestring

name.

acquirer_transaction_idstring

acquirer_transaction_id.

authorization_codestring

authorization_code.

transaction_idstring

transaction_id.

reason_codestring

reason_code.

reason_messagestring

reason_message.

merchant_advice_codestring

merchant_advice_code.

Request
curl -X GET "https://api.pre.globalgetnet.com/dpm/payments-gwproxy/v2/cards/binlookup/<bin>"
Response
{
  "results": [
    {
      "bin": 0,
      "brand": "string",
      "brand_code": 0,
      "brazilian_issued": "string",
      "country": "string",
      "country_code": "string",
      "country_code_iso": "string",
      "issuer": "string",
      "product": "string",
      "type": "credit"
    }
  ],
  "status": "string"
}