Virtual Cards

Create a virtual card

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.

post/cards

Request

  • Base URL: https://api.quackr.io
  • URL: https://api.quackr.io/cards
  • Auth: API key in header x-api-key

Request body

namestring required

Display name for the card

amountnumber required

Initial balance to load onto the card (USD)

walletType'none' | 'apple' | 'google'

Wallet compatibility for the card

Example request

{
  "name": "Shopping Card",
  "amount": 50
}

Response

Card created successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Card created successfully",
  "data": {
    "id": "card_abc123xyz",
    "status": "active",
    "balance": 50,
    "cardNumber": "4111111111111111",
    "cvv": "123",
    "expiryMonth": "12",
    "expiryYear": "2027",
    "cardholderName": "QUACKR USER",
    "cardType": "VISA"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.