# BinData

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

## Fields
- `bin` (integer(int64))
- `issuedEntity` ([IssuedEntity](https://devportal.demo.winkpg.io/docs/api/models/IssuedEntity.md)): Represents the type of entity to which a transaction is issued.
  Values:
  - `Personal`: Indicates that the transaction is issued to a personal entity.
  - `Commercial`: Indicates that the transaction is issued to a commercial entity.
- `brand` (string): (nullable)
- `type` (string): (nullable)
- `category` (string): (nullable)
- `issuer` ([BinIssuer](https://devportal.demo.winkpg.io/docs/api/models/BinIssuer.md))
  Fields:
  - `organization` (string): (nullable, max length 50)
  - `country` (string): (nullable, max length 50)
  - `countryCodeA2` (string): (nullable, max length 2)
  - `countryCodeA3` (string): (nullable, max length 3)
  - `countryNumber` (integer(int32)): (nullable)
  - `phone` (string): (nullable)
  - `website` (string): (nullable)
- `panLength` (integer(int32)): (nullable)
- `flags` ([BinFlags](https://devportal.demo.winkpg.io/docs/api/models/BinFlags.md)): Represents a set of flags that describe binary attributes associated with a transaction.
  Fields:
  - `regulated` (boolean): Value indicating whether the bin is regulated.
  - `commercial` (boolean): Value indicating whether the bin is commercial.
  - `healthcare` (boolean): Value indicating whether the bin is healthcare-related.
  - `government` (boolean): Value indicating whether the bin is a GSA (government purchase) card. (nullable)
  - `prepaid` (boolean): Value indicating whether the bin is a prepaid card. (nullable)
- `fundingSource` ([CardFundingSource](https://devportal.demo.winkpg.io/docs/api/models/CardFundingSource.md)): (nullable)
  Values:
  - `Unknown`: Funding source could not be determined from BIN data.
  - `Credit`: Credit card.
  - `Debit`: Debit card.
  - `Prepaid`: Prepaid card (overlay on the debit/credit rail: wins over the rail value).
  - `Charge`: Charge card.

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
