Quackr Virtual Cards API

Operations for creating and managing virtual credit cards. Cards are funded from your account balance and can be used for online purchases.

GitHub OpenAPI

Operations 9

POST /cards Create a virtual card #
GET /cards List all cards #
GET /cards/{id} Get card details #
POST /cards/{id}/freeze Freeze a card #
POST /cards/{id}/activate Activate a frozen card #
GET /cards/{id}/transactions Get card transactions #
GET /cards/{id}/balance Get card balance #
POST /cards/load Load funds onto a card #
POST /cards/unload Unload funds from a card #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/quackr-io:quackr-io-virtual-cards-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

quackr-io-virtual-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Quackr Virtual Cards API
  version: 1.0.0
  description: 'Comprehensive API for temporary phone number rental, SMS verification, per-service dedicated numbers, and virtual card management. Purchase phone numbers from multiple countries, receive SMS messages, manage account balance, check inventory availability, configure webhook notifications for real-time SMS delivery, rent per-service numbers for specific platforms (WhatsApp, Telegram, etc.), create/manage virtual credit cards, and buy residential proxy data by the GB.


    ## Common Properties


    ### Duration Values

    The `duration` field is used across multiple endpoints and accepts the following values:


    | Value | Duration |

    |-------|----------|

    | `halfDay` | 12 hours |

    | `oneDay` | 24 hours |

    | `oneWeek` | 7 days |

    | `oneMonth` | 30 days |

    | `sixMonths` | 180 days |

    | `twelveMonths` | 365 days |


    ### Locale Values

    The `locale` field specifies the country for phone numbers:


    | Code | Country |

    |------|----------|

    | `US` | United States |

    | `UK` | United Kingdom |

    | `NL` | Netherlands |

    | `HK` | Hong Kong |

    | `AU` | Australia |

    | `CA` | Canada |

    | `FI` | Finland |

    | `DE` | Germany |

    | `ES` | Spain |

    | `LT` | Lithuania |

    | `MX` | Mexico |

    | `IL` | Israel |

    | `PL` | Poland |

    | `IT` | Italy |

    | `AT` | Austria |

    | `SI` | Slovenia |

    | `CH` | Switzerland |

    | `BE` | Belgium |'
servers:
- url: https://api.quackr.io
  description: quackr api server
security:
- ApiKeyAuth: []
tags:
- name: Virtual Cards
  description: Operations for creating and managing virtual credit cards. Cards are funded from your account balance and can be used for online purchases.
paths:
  /cards:
    post:
      summary: Create a virtual card
      description: Create a new virtual credit card. The card amount is deducted from your account balance. Cards are created instantly and can be used immediately for online purchases.
      tags:
      - Virtual Cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - amount
              properties:
                name:
                  type: string
                  description: Display name for the card
                  example: Shopping Card
                amount:
                  type: number
                  description: Initial balance to load onto the card (USD)
                  minimum: 1
                  example: 50
                walletType:
                  type: string
                  enum:
                  - none
                  - apple
                  - google
                  default: none
                  description: Wallet compatibility for the card
      responses:
        '201':
          description: Card created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Card created successfully
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: card_abc123xyz
                      status:
                        type: string
                        enum:
                        - active
                        - frozen
                        - deactivated
                        example: active
                      balance:
                        type: number
                        example: 50
                      cardNumber:
                        type: string
                        example: '4111111111111111'
                      cvv:
                        type: string
                        example: '123'
                      expiryMonth:
                        type: string
                        example: '12'
                      expiryYear:
                        type: string
                        example: '2027'
                      cardholderName:
                        type: string
                        example: QUACKR USER
                      cardType:
                        type: string
                        example: VISA
                      hasApplePay:
                        type: boolean
                        example: false
                      hasGooglePay:
                        type: boolean
                        example: false
        '400':
          description: Invalid request or insufficient balance
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Insufficient balance
      operationId: postCards
      x-operation-id-source: derived
    get:
      summary: List all cards
      description: Retrieve all virtual cards associated with your account
      tags:
      - Virtual Cards
      parameters:
      - in: query
        name: limit
        schema:
          type: integer
          default: 50
        description: Maximum number of cards to return
      responses:
        '200':
          description: Successfully retrieved cards
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: card_abc123xyz
                        cardName:
                          type: string
                          example: Shopping Card
                        status:
                          type: string
                          enum:
                          - active
                          - frozen
                          - deactivated
                          example: active
                        balance:
                          type: number
                          example: 45.5
                        last4:
                          type: string
                          example: '1111'
                        expiryMonth:
                          type: string
                          example: '12'
                        expiryYear:
                          type: string
                          example: '2027'
                        cardType:
                          type: string
                          example: VISA
                        hasApplePay:
                          type: boolean
                          example: false
                        hasGooglePay:
                          type: boolean
                          example: false
                        createdAt:
                          type: number
                          example: 1704067200000
                  count:
                    type: integer
                    example: 3
      operationId: getCards
      x-operation-id-source: derived
  /cards/{id}:
    get:
      summary: Get card details
      description: Retrieve full details for a specific card including sensitive card information
      tags:
      - Virtual Cards
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
        description: Card ID
      responses:
        '200':
          description: Successfully retrieved card details
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: card_abc123xyz
                      cardName:
                        type: string
                        example: Shopping Card
                      balance:
                        type: number
                        example: 45.5
                      status:
                        type: string
                        example: active
                      currency:
                        type: string
                        example: USD
                      cardNumber:
                        type: string
                        example: '4111111111111111'
                      cvv:
                        type: string
                        example: '123'
                      expiryMonth:
                        type: string
                        example: '12'
                      expiryYear:
                        type: string
                        example: '2027'
                      cardholderName:
                        type: string
                        example: QUACKR USER
                      cardType:
                        type: string
                        example: VISA
                      hasApplePay:
                        type: boolean
                        example: false
                      hasGooglePay:
                        type: boolean
                        example: false
                      createdAt:
                        type: number
                        example: 1704067200000
        '404':
          description: Card not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Card not found
      operationId: getCardsById
      x-operation-id-source: derived
  /cards/{id}/freeze:
    post:
      summary: Freeze a card
      description: Temporarily freeze a card to prevent any transactions. Optionally transfer the remaining balance back to your account.
      tags:
      - Virtual Cards
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
        description: Card ID
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                transferBalance:
                  type: boolean
                  default: false
                  description: If true, transfers remaining card balance back to account before freezing
      responses:
        '200':
          description: Card frozen successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Card frozen successfully
      operationId: postCardsByIdFreeze
      x-operation-id-source: derived
  /cards/{id}/activate:
    post:
      summary: Activate a frozen card
      description: Reactivate a previously frozen card to allow transactions again
      tags:
      - Virtual Cards
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
        description: Card ID
      responses:
        '200':
          description: Card activated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Card activated successfully
      operationId: postCardsByIdActivate
      x-operation-id-source: derived
  /cards/{id}/transactions:
    get:
      summary: Get card transactions
      description: Retrieve transaction history for a specific card
      tags:
      - Virtual Cards
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
        description: Card ID
      - in: query
        name: type
        schema:
          type: string
          enum:
          - debit
          - credit
          - load
          - unload
        description: Filter by transaction type
      - in: query
        name: status
        schema:
          type: string
          enum:
          - pending
          - completed
          - failed
          - reversed
        description: Filter by transaction status
      - in: query
        name: startDate
        schema:
          type: integer
        description: Filter transactions after this timestamp (milliseconds)
      - in: query
        name: endDate
        schema:
          type: integer
        description: Filter transactions before this timestamp (milliseconds)
      - in: query
        name: limit
        schema:
          type: integer
          default: 50
        description: Maximum number of transactions to return
      responses:
        '200':
          description: Successfully retrieved transactions
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: txn_123abc
                        cardId:
                          type: string
                          example: card_abc123xyz
                        amount:
                          type: number
                          example: 9.99
                        currency:
                          type: string
                          example: USD
                        type:
                          type: string
                          enum:
                          - debit
                          - credit
                          - load
                          - unload
                          example: debit
                        status:
                          type: string
                          enum:
                          - pending
                          - completed
                          - failed
                          - reversed
                          example: completed
                        description:
                          type: string
                          example: Purchase at Amazon.com
                        merchantName:
                          type: string
                          example: Amazon
                        timestamp:
                          type: number
                          example: 1704153600000
                  count:
                    type: integer
                    example: 5
      operationId: getCardsByIdTransactions
      x-operation-id-source: derived
  /cards/{id}/balance:
    get:
      summary: Get card balance
      description: Retrieve the current balance of a specific card
      tags:
      - Virtual Cards
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
        description: Card ID
      responses:
        '200':
          description: Successfully retrieved balance
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      cardId:
                        type: string
                        example: card_abc123xyz
                      available:
                        type: number
                        example: 45.5
                      pending:
                        type: number
                        example: 0
                      currency:
                        type: string
                        example: USD
      operationId: getCardsByIdBalance
      x-operation-id-source: derived
  /cards/load:
    post:
      summary: Load funds onto a card
      description: Add funds from your account balance onto an existing virtual card
      tags:
      - Virtual Cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - cardId
              - amount
              properties:
                cardId:
                  type: string
                  description: The ID of the card to load
                  example: card_abc123xyz
                amount:
                  type: number
                  description: Amount to load (USD)
                  minimum: 0.01
                  example: 25
      responses:
        '200':
          description: Card loaded successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Card loaded successfully
                  data:
                    type: object
                    description: Transaction details from the load operation
        '400':
          description: Invalid request or insufficient balance
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: 'Insufficient balance. Required: $25, Available: $10'
      operationId: postCardsLoad
      x-operation-id-source: derived
  /cards/unload:
    post:
      summary: Unload funds from a card
      description: Withdraw funds from a virtual card back to your account balance
      tags:
      - Virtual Cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - cardId
              - amount
              properties:
                cardId:
                  type: string
                  description: The ID of the card to unload
                  example: card_abc123xyz
                amount:
                  type: number
                  description: Amount to unload (USD)
                  minimum: 0.01
                  example: 10
      responses:
        '200':
          description: Card unloaded successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Card unloaded successfully
                  data:
                    type: object
                    description: Transaction details from the unload operation
        '400':
          description: Invalid request or insufficient card balance
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  error:
                    type: string
                    example: Insufficient card balance
      operationId: postCardsUnload
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key