# List all card bins

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/issuing/cards/card_bin/list:
    get:
      summary: List all card bins
      deprecated: false
      description: Returns a list of Issuing Card Bin objects.
      tags:
        - API Reference/Issuing/Cards
      parameters:
        - name: currency
          in: query
          description: Only return card bins with specific currency
          required: true
          example: EUR
          schema:
            type: string
        - name: Accept
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                x-apifox-refs:
                  01KFX441FHM88GG6E3BSQ5XKKT:
                    $ref: '#/components/schemas/The%20Card%20Bin%20object'
                    x-apifox-overrides: {}
                    required: []
                x-apifox-orders:
                  - 01KFX441FHM88GG6E3BSQ5XKKT
                properties:
                  productCode:
                    type: string
                    description: >-
                      Unique identifier for a group of featrues, including card
                      bin, currency, issuing country/region, brand and so on.
                  cardBrand:
                    type: string
                    enum:
                      - lost
                      - stolen
                      - design_rejected
                    x-apifox-enum:
                      - name: ''
                        value: lost
                        description: The card was lost.
                      - name: ''
                        value: stolen
                        description: The card was stolen.
                      - name: ''
                        value: design_rejected
                        description: The design of this card was rejected by Wooshpay
                    description: Card brand, VISA, MasterCard and so on.
                  currency:
                    type: string
                    description: Three-letter ISO currency code.
                  code:
                    type: string
                    description: The bin code which is the first 6 numbers of card number.
                    enum:
                      - virtual
                    x-apifox-enum:
                      - name: ''
                        value: virtual
                        description: No physical card will be printed.
                  binSubCode:
                    type: string
                    description: >-
                      The bin code which is more than 6 heading numbers of card
                      number.
                  countryCode:
                    type: string
                    description: >-
                      The code of card's issuing country/region, following ISO
                      3166-1 alpha-2, such as US for United States
                  desc:
                    type: string
                    description: Description of the card bin.
                  enable3ds:
                    type: integer
                    description: Support 3DS or not, 1 for support, 0 for not.
                  supportEWallets:
                    type: integer
                    description: Support google/apple pay or not, 1 for support, 0 for not.
                  spendingAmountUpLimit:
                    type: number
                    description: Up limit of card spending amount, minor unit.
                  spendingAmountUpLimitStr:
                    type: string
                    description: >-
                      Up limit of card spending amount, major unit which is
                      reader-friendly such as 20,000.00.
                required:
                  - productCode
                  - cardBrand
                  - currency
                  - code
                  - countryCode
                  - desc
                  - enable3ds
                  - supportEWallets
                  - spendingAmountUpLimit
                  - spendingAmountUpLimitStr
                x-apifox-ignore-properties:
                  - productCode
                  - cardBrand
                  - currency
                  - code
                  - binSubCode
                  - countryCode
                  - desc
                  - enable3ds
                  - supportEWallets
                  - spendingAmountUpLimit
                  - spendingAmountUpLimitStr
              example: "[\r\n    {\r\n        \"code\": \"545020\",\r\n        \"countryCode\": \"US\",\r\n        \"cardBrand\": \"MasterCard\",\r\n        \"desc\": \"<b>Supports:</b> Amazon, Facebook, Google, Google Pay, Apple Pay, PayPal, Shopify, Walmart, Alibaba, AliExpress, WeChat, TikTok, Webshare, Alipay, eBay, etc.<br/>Card Issuance Fee: 1 USD / Per card\",\r\n        \"binSubCode\": \"54502000\",\r\n        \"currency\": \"USD\",\r\n        \"enable3ds\": 1,\r\n        \"productCode\": \"XXXXX\",\r\n        \"spendingAmountUpLimit\": 2000000,\r\n        \"supportEWallets\": 0,\r\n        \"spendingAmountUpLimitStr\": \"20,000.00\",\r\n    }\r\n]"
          headers: {}
          x-apifox-name: OK
      security:
        - basic: []
      x-apifox-folder: API Reference/Issuing/Cards
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/1296482/apis/api-410866138-run
components:
  schemas:
    The Card Bin object:
      type: object
      properties:
        productCode:
          type: string
          description: >-
            Unique identifier for a group of featrues, including card bin,
            currency, issuing country/region, brand and so on.
        cardBrand:
          type: string
          enum:
            - lost
            - stolen
            - design_rejected
          x-apifox-enum:
            - name: ''
              value: lost
              description: The card was lost.
            - name: ''
              value: stolen
              description: The card was stolen.
            - name: ''
              value: design_rejected
              description: The design of this card was rejected by Wooshpay
          description: Card brand, VISA, MasterCard and so on.
        currency:
          type: string
          description: Three-letter ISO currency code.
        code:
          type: string
          description: The bin code which is the first 6 numbers of card number.
          enum:
            - virtual
          x-apifox-enum:
            - name: ''
              value: virtual
              description: No physical card will be printed.
        binSubCode:
          type: string
          description: The bin code which is more than 6 heading numbers of card number.
        countryCode:
          type: string
          description: >-
            The code of card's issuing country/region, following ISO 3166-1
            alpha-2, such as US for United States
        desc:
          type: string
          description: Description of the card bin.
        enable3ds:
          type: integer
          description: Support 3DS or not, 1 for support, 0 for not.
        supportEWallets:
          type: integer
          description: Support google/apple pay or not, 1 for support, 0 for not.
        spendingAmountUpLimit:
          type: number
          description: Up limit of card spending amount, minor unit.
        spendingAmountUpLimitStr:
          type: string
          description: >-
            Up limit of card spending amount, major unit which is
            reader-friendly such as 20,000.00.
      x-apifox-orders:
        - productCode
        - cardBrand
        - currency
        - code
        - binSubCode
        - countryCode
        - desc
        - enable3ds
        - supportEWallets
        - spendingAmountUpLimit
        - spendingAmountUpLimitStr
      required:
        - productCode
        - cardBrand
        - currency
        - code
        - countryCode
        - desc
        - enable3ds
        - supportEWallets
        - spendingAmountUpLimit
        - spendingAmountUpLimitStr
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    basic:
      type: http
      scheme: basic
servers:
  - url: https://apitest.wooshpay.com
    description: 官网测试
security:
  - basic: []

```
