Blip API

Everything you can do in the Blip dashboard, from your own code: your Solana wallet, your virtual card, top-ups, withdrawals and real-time webhooks. A key acts on the account that created it, and money moves exactly as it does in the dashboard. Using the API is free.

  1. Open the dashboard, go to Developers and create a key.
  2. Keep it on your server as BLIP_API_KEY.
  3. Call the API:
curl https://blipcards.app/api/public/v1/account \
  -H "Authorization: Bearer $BLIP_API_KEY"

Base URL: https://blipcards.app/api/public/v1

White-label cards

Give your own customers a Blip card inside your app, under your brand. Add a customer, order their card, and they get a virtual card in their own name that works online and in Apple Pay and Google Pay. You pay for cards and top-ups in SOL from your Blip wallet, at the same prices as the dashboard. Your customers never need a Blip account.

  1. POST /customers with their name and email.
  2. POST /customers/{customer_id}/cards to order their card. A card.issued webhook follows.
  3. Top it up with POST /cards/{card_id}/topups, and show the card details, balance and transactions in your app.

Build with AI

Give your AI coding assistant (Claude, ChatGPT, Cursor and others) the full reference and it can write the integration for you. Copy the prompt, add what you want to build, and paste it in.

Keys and scopes

Send your key on every request as Authorization: Bearer blip_sk_.... Each key has scopes; give it only what your code needs.

ScopeAllows
readRead your account, customers, cards, transactions, top-ups, withdrawals and events.
writeAdd customers, order cards, freeze and unfreeze, top up cards, and manage webhooks.
card_detailsRead full card numbers, CVV and expiry, and 3-D Secure and Apple Pay / Google Pay codes.
withdrawSend SOL from your Blip wallet to outside wallets.

Keep keys on your server. Never put them in a website, app or public repository. Delete a key in the dashboard to stop it at once.

Responses and errors

Responses are JSON. Success: { "data": ... }. Errors: { "error": { "code", "message" } }. Up to 120 requests a minute per key.

StatusCodeMeaning
400invalid_requestA field is missing or wrong. The message says which.
401unauthorizedThe API key is missing, wrong or deleted.
403forbiddenThe key does not have the scope this needs.
404not_foundNo such customer, card, top-up, withdrawal or webhook on your account.
409busyAnother payment or withdrawal is still running, or the customer already exists. The message says which.
422rejectedThe request is valid but cannot be done, for example not enough SOL.
429rate_limitedMore than 120 requests a minute on this key.
500server_errorSomething went wrong on our side. Safe to retry reads; check state before retrying payments.

Account

GET/accountread

Get your account

Your Blip wallet (deposit address and SOL balance), card prices and the top-up fee.

curl -X GET https://blipcards.app/api/public/v1/account \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "wallet": {
      "address": "9xQe…",
      "sol": 1.2845,
      "usd": 71.04
    },
    "card_price_usd": 15,
    "topup_fee_pct": 2,
    "status": "active"
  }
}

White-label customers

POST/customerswrite

Add a customer

White-label: add one of your own customers. Their card is issued in their name and email, and paid and topped up from your Blip wallet. external_id is your own id for them and must be unique.

Body fieldTypeAbout
name *stringCustomer's full name, 2 to 60 characters.
email *stringCustomer's email.
external_idstringYour id for this customer.
curl -X POST https://blipcards.app/api/public/v1/customers \
  -H "Authorization: Bearer $BLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Maria Lopez","email":"maria@example.com"}'
{
  "data": {
    "id": "3f9a…",
    "external_id": "user_1842",
    "name": "Maria Lopez",
    "email": "maria@example.com",
    "created_at": "2026-12-06T09:00:00Z"
  }
}
GET/customersread

List customers

Your customers, newest first, 50 per page.

QueryTypeAbout
external_idstringFind a customer by your own id.
offsetintegerStart from this position. Use next_offset from the previous page.
curl -X GET https://blipcards.app/api/public/v1/customers \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "items": [
      {
        "id": "3f9a…",
        "external_id": "user_1842",
        "name": "Maria Lopez",
        "email": "maria@example.com",
        "created_at": "2026-12-06T09:00:00Z"
      }
    ],
    "next_offset": null
  }
}
GET/customers/{customer_id}read

Get a customer

The customer and their cards.

curl -X GET https://blipcards.app/api/public/v1/customers/$CUSTOMER_ID \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "id": "3f9a…",
    "external_id": "user_1842",
    "name": "Maria Lopez",
    "email": "maria@example.com",
    "created_at": "2026-12-06T09:00:00Z",
    "cards": [
      {
        "id": "9b2e…",
        "customer_id": "3f9a…",
        "status": "pending",
        "last4": null,
        "frozen": false,
        "created_at": "2026-12-05T18:00:00Z"
      }
    ]
  }
}
POST/customers/{customer_id}/cardswrite

Order a card for a customer

Orders a virtual card in the customer's name, paid in SOL from your Blip wallet at the card price. One card per customer. Returns the card with status "pending"; a card.issued webhook follows. After that, every /cards/{card_id} endpoint works on it: top-ups, freeze, transactions, card details and codes.

Body fieldTypeAbout
asset"SOL"Coin to pay with. Defaults to SOL.
curl -X POST https://blipcards.app/api/public/v1/customers/$CUSTOMER_ID/cards \
  -H "Authorization: Bearer $BLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset":"SOL"}'
{
  "data": {
    "id": "9b2e…",
    "customer_id": "3f9a…",
    "status": "pending",
    "last4": null,
    "frozen": false,
    "created_at": "2026-12-05T18:00:00Z"
  }
}

Cards

GET/cardsread

List cards

Every card on your account, newest first, 50 per page: your own card (customer_id null) and the cards of your customers.

QueryTypeAbout
customer_idstringOnly this customer's cards.
offsetintegerStart from this position.
curl -X GET https://blipcards.app/api/public/v1/cards \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": [
    {
      "id": "7d1c…",
      "customer_id": null,
      "status": "issued",
      "last4": "4821",
      "frozen": false,
      "created_at": "2026-12-05T18:00:00Z"
    },
    {
      "id": "9b2e…",
      "customer_id": "3f9a…",
      "status": "pending",
      "last4": null,
      "frozen": false,
      "created_at": "2026-12-05T18:00:00Z"
    }
  ]
}
POST/cardswrite

Order a card

Orders a virtual card, paid in SOL from your Blip wallet (or free if your account qualifies). Returns the card with status "pending"; a card.issued webhook follows, usually within 1 to 2 minutes. One card for your own account; cards for your customers are ordered under /customers.

Body fieldTypeAbout
asset"SOL"Coin to pay with. Defaults to SOL.
curl -X POST https://blipcards.app/api/public/v1/cards \
  -H "Authorization: Bearer $BLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset":"SOL"}'
{
  "data": {
    "id": "7d1c…",
    "customer_id": null,
    "status": "pending",
    "last4": null,
    "frozen": false,
    "created_at": "2026-12-05T18:00:00Z"
  }
}
GET/cards/{card_id}read

Get a card

The card with its live balance.

curl -X GET https://blipcards.app/api/public/v1/cards/$CARD_ID \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "id": "7d1c…",
    "customer_id": null,
    "status": "issued",
    "last4": "4821",
    "frozen": false,
    "created_at": "2026-12-05T18:00:00Z",
    "balance_usd": 42.5,
    "pending_topup_usd": 0,
    "exp": "12/29"
  }
}
GET/cards/{card_id}/sensitivecard_details

Get card number, CVV and expiry

Full card details, read live from the card issuer. Blip never stores them. Keep them out of your logs.

curl -X GET https://blipcards.app/api/public/v1/cards/$CARD_ID/sensitive \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "number": "5240 •••• •••• 4821",
    "cvv": "•••",
    "exp": "12/29"
  }
}
POST/cards/{card_id}/freezewrite

Freeze a card

Blocks new payments until you unfreeze it.

curl -X POST https://blipcards.app/api/public/v1/cards/$CARD_ID/freeze \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "id": "7d1c…",
    "customer_id": null,
    "status": "issued",
    "last4": "4821",
    "frozen": true,
    "created_at": "2026-12-05T18:00:00Z"
  }
}
POST/cards/{card_id}/unfreezewrite

Unfreeze a card

Allows payments again.

curl -X POST https://blipcards.app/api/public/v1/cards/$CARD_ID/unfreeze \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "id": "7d1c…",
    "customer_id": null,
    "status": "issued",
    "last4": "4821",
    "frozen": false,
    "created_at": "2026-12-05T18:00:00Z"
  }
}
GET/cards/{card_id}/transactionsread

List card transactions

Payments, refunds, declines and top-ups, newest first, 50 per page.

QueryTypeAbout
offsetintegerStart from this position. Use next_offset from the previous page.
curl -X GET https://blipcards.app/api/public/v1/cards/$CARD_ID/transactions \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "items": [
      {
        "id": "tx_…",
        "amount": 12.99,
        "currency": "USD",
        "type": "purchase",
        "status": "success",
        "credit": false,
        "merchant": "Netflix",
        "date": "2026-12-05T18:20:00Z",
        "decline_reason": null
      }
    ],
    "next_offset": 50
  }
}
GET/cards/{card_id}/codescard_details

Get 3-D Secure and wallet codes

Codes sent to the card in the last 30 minutes: online payment checks (3-D Secure) and Apple Pay / Google Pay activation.

curl -X GET https://blipcards.app/api/public/v1/cards/$CARD_ID/codes \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": [
    {
      "code": "482913",
      "kind": "payment_3ds",
      "at": "2026-12-05T18:21:00Z",
      "amount": 12.99,
      "merchant": "Netflix"
    }
  ]
}
POST/cards/{card_id}/wallet-codecard_details

Add the card to Apple Pay or Google Pay

Call with arm=true, add the card in the wallet app, then call again with arm=false to read the activation code.

Body fieldTypeAbout
arm *booleantrue to start, false to read the code.
curl -X POST https://blipcards.app/api/public/v1/cards/$CARD_ID/wallet-code \
  -H "Authorization: Bearer $BLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"arm":true}'
{
  "data": {
    "status": "armed",
    "code": null
  }
}

Top-ups

POST/cards/{card_id}/topups/quoteread

Quote a top-up

What a top-up costs in SOL, with the fee, and about how much lands on the card.

Body fieldTypeAbout
amount_usd *numberAmount to put on the card, $5 to $2,500.
curl -X POST https://blipcards.app/api/public/v1/cards/$CARD_ID/topups/quote \
  -H "Authorization: Bearer $BLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount_usd":50}'
{
  "data": {
    "amount_usd": 50,
    "fee_usd": 1,
    "network_usd": 0.42,
    "total_sol": "0.9358",
    "total_usd": 51.42,
    "on_card_usd": 49.1
  }
}
POST/cards/{card_id}/topupswrite

Top up a card

Pays the top-up in SOL from your Blip wallet. One top-up runs at a time; topup.updated webhooks report its progress.

Body fieldTypeAbout
amount_usd *numberAmount to put on the card, $5 to $2,500.
curl -X POST https://blipcards.app/api/public/v1/cards/$CARD_ID/topups \
  -H "Authorization: Bearer $BLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount_usd":50}'
{
  "data": {
    "id": "ld_…",
    "card_id": "7d1c…",
    "status": "funding",
    "amount_usd": 50,
    "fee_usd": 1,
    "created_at": "2026-12-05T18:30:00Z"
  }
}
GET/topupsread

List top-ups

Your 20 latest card top-ups.

curl -X GET https://blipcards.app/api/public/v1/topups \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": [
    {
      "id": "ld_…",
      "card_id": "7d1c…",
      "status": "credited",
      "amount_usd": 50,
      "fee_usd": 1,
      "created_at": "2026-12-05T18:30:00Z"
    }
  ]
}
GET/topups/{topup_id}read

Get a top-up

One top-up and its status.

curl -X GET https://blipcards.app/api/public/v1/topups/$TOPUP_ID \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "id": "ld_…",
    "card_id": "7d1c…",
    "status": "credited",
    "amount_usd": 50,
    "fee_usd": 1,
    "created_at": "2026-12-05T18:30:00Z"
  }
}

Withdrawals

GET/withdrawalsread

List withdrawals

Your 20 latest withdrawals.

curl -X GET https://blipcards.app/api/public/v1/withdrawals \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": [
    {
      "id": "wd_…",
      "to": "Hc3p…QdFy",
      "sol": 0.5,
      "status": "sent",
      "signature": "5xYz…",
      "created_at": "2026-12-05T18:40:00Z"
    }
  ]
}
POST/withdrawalswithdraw

Withdraw SOL

Sends SOL from your Blip wallet to any Solana wallet. The 0.000011 SOL network fee comes from your wallet. Solana transfers cannot be reversed. One withdrawal runs at a time.

Body fieldTypeAbout
to *stringSolana wallet address.
amount_solstringAmount in SOL, e.g. "0.5". Leave out when all is true.
allbooleanSend everything (less the network fee).
curl -X POST https://blipcards.app/api/public/v1/withdrawals \
  -H "Authorization: Bearer $BLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to":"Hc3p…QdFy"}'
{
  "data": {
    "id": "wd_…",
    "to": "Hc3p…QdFy",
    "sol": 0.5,
    "status": "sent",
    "signature": "5xYz…",
    "created_at": "2026-12-05T18:40:00Z"
  }
}

Events and webhooks

GET/eventsread

List events

The same events webhooks send, newest first, for polling or catching up.

QueryTypeAbout
limitinteger1 to 100, default 50.
curl -X GET https://blipcards.app/api/public/v1/events \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": [
    {
      "id": "evt_…",
      "type": "card.transaction",
      "created_at": "2026-12-05T18:20:00Z",
      "data": {
        "card_id": "7d1c…",
        "amount": 12.99,
        "status": "success",
        "merchant": "Netflix"
      }
    }
  ]
}
GET/webhooksread

List webhooks

Your webhook endpoints.

curl -X GET https://blipcards.app/api/public/v1/webhooks \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": [
    {
      "id": "wh_…",
      "url": "https://example.com/blip",
      "events": [
        "card.transaction"
      ],
      "created_at": "2026-12-05T18:00:00Z",
      "failing": false
    }
  ]
}
POST/webhookswrite

Add a webhook

Blip POSTs events to this URL. The signing secret is shown once: keep it to check the Blip-Signature header.

Body fieldTypeAbout
url *stringPublic https:// URL.
eventsstring[]Events to send. Leave out for all events.
curl -X POST https://blipcards.app/api/public/v1/webhooks \
  -H "Authorization: Bearer $BLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/blip"}'
{
  "data": {
    "id": "wh_…",
    "url": "https://example.com/blip",
    "events": [
      "card.transaction"
    ],
    "secret": "whsec_…"
  }
}
DELETE/webhooks/{webhook_id}write

Delete a webhook

Stops sending events to it.

curl -X DELETE https://blipcards.app/api/public/v1/webhooks/$WEBHOOK_ID \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "deleted": true
  }
}
POST/webhooks/{webhook_id}/testwrite

Send a test event

Sends a ping event to the webhook now.

curl -X POST https://blipcards.app/api/public/v1/webhooks/$WEBHOOK_ID/test \
  -H "Authorization: Bearer $BLIP_API_KEY"
{
  "data": {
    "sent": true,
    "status": 200
  }
}

Webhook signatures

Blip sends events as a POST with JSON { id, type, created_at, data }. Reply with any 2xx within 10 seconds; failed deliveries are retried for about a day. Card numbers and codes are never sent in webhooks.

EventWhen
card.issuedYour card is ready.
card.failedA card order failed.
card.transactionA card payment, refund or decline (sent again when its status changes).
card.codeA 3-D Secure or wallet code arrived. Read it with GET /cards/{card_id}/codes.
topup.updatedA card top-up changed status (pending, success or failed).
withdrawal.updatedA withdrawal was sent or failed.

Every request carries Blip-Signature: t=<unix seconds>,v1=<hex>: an HMAC-SHA256 of t.rawBody with your webhook secret. Check it before trusting the event:

import crypto from 'node:crypto';

// rawBody: the request body exactly as received (a string), header: the Blip-Signature header.
export function verifyBlip(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(',').map(p => p.split('=')));
  const expected = crypto.createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
  const got = Buffer.from(String(parts.v1 ?? ''));
  return fresh && got.length === expected.length && crypto.timingSafeEqual(Buffer.from(expected), got);
}