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

# Issue cards



## OpenAPI

````yaml /openapi.json post /cards
openapi: 3.1.0
info:
  title: Finup Public API
  version: 1.0.0
  description: >-
    Client-facing Finup API reference generated from current public endpoint
    metadata.
servers:
  - url: https://api.finup.io/backend
    description: Production
security: []
tags:
  - name: Accounts
    description: Current account, account setup, and account capabilities.
  - name: Transactions
    description: Account transaction lists and aggregates.
  - name: Cards
    description: Card issuing, listing, funding, and status changes.
paths:
  /cards:
    post:
      tags:
        - Cards
      summary: Issue cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IssueCardsRequest'
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                required:
                  - result
                properties:
                  result:
                    type: array
                    items:
                      $ref: '#/components/schemas/Card'
        '401':
          description: Missing or invalid credentials
        '403':
          description: Insufficient permission for this operation
        '404':
          description: Resource not found
      security:
        - apiKeyAuth: []
components:
  schemas:
    IssueCardsRequest:
      type: object
      required:
        - bin_id
        - name
      properties:
        bin_id:
          type: string
          example: 67c401f9a5b7cde210f44567
        user_id:
          type: string
          example: 67fc3d09766d7a2c1fafef99
        name:
          type: string
          example: Marketing card
        notes:
          type: string
          example: Q3 campaigns
        balance_threshold:
          type: number
          example: 25
        top_up_amount:
          type: number
          example: 100
        quantity:
          type: integer
          example: 1
        amount:
          type: integer
          example: 100
        promo:
          type: string
          example: WELCOME
    Card:
      type: object
      properties:
        id:
          type: string
          example: 67c48f6fc8614632e0b338fc
        name:
          type: string
          example: Marketing card
        bin_id:
          type: string
          example: 67bcf2abf8e89d31c5f8995e
        notes:
          type: string
          example: Credit
        status:
          type: string
          example: Active
        user:
          type: string
          example: 67aa1b2c3d4e5f6789abcdef
        EXP:
          type: string
          example: '**/**'
        account:
          type: string
          example: 67c401f9a5b7cde210f44567
        balance:
          type: number
          example: 50
        deposit:
          type: number
          example: 1000
        withdraw:
          type: number
          example: 500
        spent:
          type: number
          example: 450
        masked_PAN:
          type: string
          example: 1234 56•• •••• 5678
        currency:
          type: string
          example: USD
        category:
          type: string
          example: Business
        created_at:
          type: string
          format: date-time
        PAN:
          type: string
          example: '1234567812345678'
        CVV:
          type: string
          example: '123'
        3ds:
          type: boolean
          example: true
        address:
          type: string
          example: 2381 Zanker Rd Ste 110, San Jose, CA, 95131, US
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````