> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get BIN

> One BIN on your account, by BIN ID. GET /bins/{id}. Requires cards:read scope.

## Overview

Returns one BIN on your account. The fields are the same as in [List BINs](https://docs.fyatu.com/v3.20/api-reference/bins/list.md).

## Path Parameters

| Parameter | Type | Description |
| - | - | - |
| `id` | string | The BIN ID, for example `TESTVISAV` |

## Example

```bash cURL theme={null}
curl https://api.fyatu.com/api/v3.20/bins/TESTVISAV \
  -H "Authorization: Bearer $FYATU_API_KEY"
```

## Success Response (200)

```json theme={null}
{
  "success": true,
  "status": 200,
  "message": "BIN retrieved",
  "data": {
    "binId": "TESTVISAV",
    "bin": "44444440",
    "name": "Test Visa Virtual",
    "scheme": "VISA",
    "issuingCountry": "US",
    "currency": "USD",
    "formFactor": "VIRTUAL",
    "category": "PREPAID",
    "issuable": true,
    "capabilities": {
      "applePay": false,
      "googlePay": false,
      "threeDS": true
    },
    "settings": {
      "reloadable": true,
      "maxCardsPerCardholder": 5,
      "cardValidityMonths": 36
    }
  },
  "meta": {
    "requestId": "req_01HXY123456ABCDEF",
    "platform": "Fyatu CaaS",
    "timestamp": "2026-11-15T10:00:00Z"
  }
}
```

## Error Codes

| Code | HTTP | Cause |
| - | - | - |
| `BIN_NOT_FOUND` | 404 | No BIN with this ID is on your account |
| `INSUFFICIENT_SCOPE` | 403 | Key lacks `cards:read` scope |
| `INTERNAL_ERROR` | 500 | Server error |


## OpenAPI

````yaml v3.20/openapi.json GET /bins/{id}
openapi: 3.1.0
info:
  title: FYATU CaaS API v3.20
  description: >-
    FYATU Cards-as-a-Service API â€” API key authentication, Cardholder
    lifecycle, Card issuance, Transactions, Webhooks, and Programs.
  version: 3.20.0
  contact:
    name: FYATU Support
    url: https://fyatu.com
    email: support@fyatu.com
servers:
  - url: https://sandbox-api.fyatu.com/api/v3.20
    description: 'Public sandbox: free, test money only. Keys from sandbox.fyatu.com'
  - url: https://api.fyatu.com/api/v3.20
    description: >-
      Production. Keys from platform.fyatu.com; the key's environment (LIVE or
      SANDBOX) selects the data
security:
  - BearerAuth: []
tags:
  - name: Meta
    description: Liveness, account info, and supported event types
  - name: Account
    description: Account-level balance and funding status
  - name: Programs
    description: Read card program configuration
  - name: Cardholders
    description: Create and manage cardholder profiles
  - name: Cards
    description: Issue, fund, freeze, and terminate virtual cards
  - name: Transactions
    description: Read-only card transaction history
  - name: Webhooks
    description: Manage webhook endpoints for real-time event delivery
  - name: Products
    description: Read card product configurations
paths:
  /bins/{id}:
    parameters:
      - name: id
        in: path
        required: true
        description: The BIN ID
        schema:
          type: string
        example: TESTVISAV
    get:
      tags:
        - Cards
      summary: Get a BIN
      description: One BIN on your account, by BIN ID. Requires `cards:read`.
      operationId: getBin
      responses:
        '200':
          description: BIN retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BinResponse'
              example:
                success: true
                status: 200
                message: BIN retrieved
                data:
                  binId: TESTVISAV
                  bin: '44444440'
                  name: Test Visa Virtual
                  scheme: VISA
                  issuingCountry: US
                  currency: USD
                  formFactor: VIRTUAL
                  category: PREPAID
                  issuable: true
                  capabilities:
                    applePay: false
                    googlePay: false
                    threeDS: true
                  settings:
                    reloadable: true
                    maxCardsPerCardholder: 5
                    cardValidityMonths: 36
                meta:
                  requestId: req_01HXY123456ABCDEF
                  platform: Fyatu CaaS
                  timestamp: '2026-11-15T10:00:00Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: No BIN with this ID is on your account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                success: false
                status: 404
                message: BIN not found
                error:
                  code: BIN_NOT_FOUND
                  detail: No BIN with this ID is available on your account
                meta:
                  requestId: req_01HXY123456ABCDEF
                  platform: Fyatu CaaS
                  timestamp: '2026-11-15T10:00:00Z'
        '429':
          $ref: '#/components/responses/RateLimitExceeded'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    BinResponse:
      type: object
      properties:
        success:
          type: boolean
        status:
          type: integer
        message:
          type: string
        data:
          $ref: '#/components/schemas/Bin'
        meta:
          $ref: '#/components/schemas/Meta'
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        status:
          type: integer
          example: 422
        message:
          type: string
          example: Human readable message
        error:
          $ref: '#/components/schemas/ErrorBody'
        meta:
          $ref: '#/components/schemas/Meta'
    Bin:
      type: object
      properties:
        binId:
          type: string
          description: >-
            The BIN ID to send as `binId` to `POST /cards`: letters and digits,
            no separators
          example: TESTVISAV
        bin:
          type: string
          nullable: true
          description: The first digits every card on this BIN starts with
          example: '44444440'
        name:
          type: string
          example: Test Visa Virtual
        scheme:
          type: string
          enum:
            - VISA
            - MASTERCARD
          example: VISA
        issuingCountry:
          type: string
          nullable: true
          description: ISO 3166-1 alpha-2 country the cards are issued in
          example: US
        currency:
          type: string
          example: USD
        formFactor:
          type: string
          example: VIRTUAL
        category:
          type: string
          example: PREPAID
        issuable:
          type: boolean
          description: '`true` when cards can be issued on this BIN right now'
        capabilities:
          type: object
          properties:
            applePay:
              type: boolean
            googlePay:
              type: boolean
            threeDS:
              type: boolean
        settings:
          type: object
          properties:
            reloadable:
              type: boolean
              description: Whether its cards can be funded again after issuance
            maxCardsPerCardholder:
              type: integer
              nullable: true
              description: >-
                Active cards one cardholder may hold on this BIN; `null` means
                no limit
            cardValidityMonths:
              type: integer
              nullable: true
              description: How long its cards stay valid, in months
    Meta:
      type: object
      properties:
        requestId:
          type: string
          example: req_a1b2c3d4e5f6a7b8c9d0e1f2
        platform:
          type: string
          example: Fyatu CaaS
        timestamp:
          type: string
          format: date-time
          example: '2026-05-22T15:00:00Z'
    ErrorBody:
      type: object
      properties:
        code:
          type: string
          example: VALIDATION_ERROR
        detail:
          type: string
          example: dateOfBirth must be in YYYY-MM-DD format
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing:
              summary: API key missing
              value:
                success: false
                status: 401
                message: API key is required
                error:
                  code: AUTH_TOKEN_MISSING
                  detail: API key is required
                meta:
                  requestId: req_a1b2c3d4e5f6a7b8c9d0e1f2
                  platform: Fyatu CaaS
                  timestamp: '2026-05-22T15:00:00Z'
            invalid:
              summary: API key invalid
              value:
                success: false
                status: 401
                message: Invalid API key
                error:
                  code: AUTH_TOKEN_INVALID
                  detail: Invalid API key
                meta:
                  requestId: req_a1b2c3d4e5f6a7b8c9d0e1f2
                  platform: Fyatu CaaS
                  timestamp: '2026-05-22T15:00:00Z'
    Forbidden:
      description: Scope denied or business suspended
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            status: 403
            message: Scope denied
            error:
              code: INSUFFICIENT_SCOPE
              detail: This endpoint requires the cards:write scope
            meta:
              requestId: req_a1b2c3d4e5f6a7b8c9d0e1f2
              platform: Fyatu CaaS
              timestamp: '2026-05-22T15:00:00Z'
    RateLimitExceeded:
      description: >-
        Your business sent more requests in one second than its limit. Retry
        after `Retry-After` seconds.
      headers:
        Retry-After:
          description: Seconds to wait before retrying (always 1)
          schema:
            type: integer
            example: 1
        X-RateLimit-Limit:
          description: Your business's requests per second
          schema:
            type: integer
            example: 25
        X-RateLimit-Remaining:
          description: Requests left in the current second
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Unix timestamp when the next second starts
          schema:
            type: integer
            example: 1763200801
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            status: 429
            message: 'Rate limit exceeded: 25 requests per second'
            error:
              code: RATE_LIMIT_EXCEEDED
              detail: 'Rate limit exceeded: 25 requests per second'
            meta:
              requestId: req_01HXY123456ABCDEF
              platform: Fyatu CaaS
              timestamp: '2026-11-15T10:00:00Z'
    InternalError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            status: 500
            message: Internal error
            error:
              code: INTERNAL_ERROR
              detail: An unexpected error occurred
            meta:
              requestId: req_a1b2c3d4e5f6a7b8c9d0e1f2
              platform: Fyatu CaaS
              timestamp: '2026-05-22T15:00:00Z'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key from the FYATU CaaS portal. Pass as `Authorization: Bearer
        <key>`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.