White label · Cards API

Crypto cards for your users, in minutes.

Issue virtual Mastercard cards (Apple Pay & Google Pay ready) and load them from your own product, under your brand. No KYC for your cardholders. Free to start: sign up, create an API key, add funds in USDC and go live right away.

1. Create a key
Sign in on vibed.cards/developers and create an API key. Free.
2. Add funds
Move USDC from your Vibed Cash into your API balance. Instant.
3. Issue cards
Call POST /cards and /topup from your server. Live right away.

Integrate with one prompt

Using Claude Code, Cursor or another AI coding tool? Put your key in VIBED_API_KEY and paste this prompt into your project:

Prompt
Integrate the Vibed Cards API into this project so my users can get a virtual card (Apple Pay / Google Pay ready) and top it up.
Read the full API reference first: https://vibed.cards/llms.txt (OpenAPI: https://vibed.cards/openapi.json).
- Call the API only from the server. The API key is in the environment variable VIBED_API_KEY (Authorization: Bearer). Never send it to the browser.
- Use my own user id as client_ref, and an Idempotency-Key header on every POST.
- Add: a "Get your card" button (POST /cards), a card page with balance, last 4 digits, transactions and a "Show card details" button (GET /cards/{id}?reveal=true, only to the card owner), a top-up form (POST /cards/{id}/topup, minimum 5 USD), freeze/unfreeze and close, and a verification codes panel (GET /cards/{id}/codes; call POST /cards/{id}/wallet-code before adding to Apple Pay / Google Pay).
- Add a webhook endpoint that verifies the X-Vibed-Signature header (hex HMAC-SHA256 of the raw body with my webhook secret in VIBED_WEBHOOK_SECRET) and updates the card on card.issued, card.transaction and card.otp.
- Show clear errors (402 = top up the API balance, 409 = card not ready).

Prices

Loading prices…

These are API prices, not the personal Vibed card prices. GET /api/v1/pricing always returns exactly what your key is charged.

Setup checklist

Earn on every loadSet your own fee (0–3%) in your dashboard. It is added to what your customers pay, on every card load: through POST /payments, your hosted Telegram bot and your join link. Fees go to your earnings: withdraw them to your Vibed Cash any time (or automatically above an amount you choose), or move them into your API balance.
Webhook secretShown once, right after you first save your webhook URL in the dashboard. Lost it? Press New secret: a fresh one is shown once and the old one stops working.
Test your webhookPress Send test event in the dashboard: we POST a signed test.ping to your URL and show the HTTP status your endpoint returned (answer 2xx). Every event has the headers X-Vibed-Signature (hex HMAC-SHA256 of the raw body with your secret) and X-Vibed-Event (the event type).
API pricesAPI prices are not the personal Vibed card prices ($25 card, $1 + 5% load). GET /api/v1/pricing returns exactly what your key is charged, live, and every response includes charged_usd and your new balance_usd.
FundingYour API balance is prepaid in USDC: in the dashboard, Add funds moves USDC from your Vibed Cash in one click (it needs a confirmation from your account, so it isn't automatic). Use the balance.low webhook (below $25) or GET /api/v1/balance to know when to add more. Without enough balance a request answers 402 INSUFFICIENT_BALANCE and nothing is charged. Withdraw unused funds any time.
LimitsNo limit on cards per API account or per customer (the 4-card limit is only for personal Vibed accounts). Platform issuing capacity is about 100 new cards per day; tell us if you expect more than about 50 a day.
First testA new card plus a $10 top-up costs about $32.50 at current prices (see GET /pricing); keep at least $35 in your API balance. Top up a new card only once its status is active (card.issued webhook, or poll GET /cards/{id}); earlier top-ups answer 409 CARD_NOT_READY.

Basics

  • Base URL: https://vibed.cards/api/v1
  • Auth: Authorization: Bearer vbd_live_…. Call the API from your server only; never put the key in a browser or app.
  • Send an Idempotency-Key header on every POST: a retry with the same key never charges twice.
  • Pass your own customer id as client_ref: cards and money are tracked per customer in your dashboard.
  • No limit on cards per API account or per customer. A new card can be topped up once its status is active (the card.issued webhook); before that, top-ups answer 409.
  • Anything that couldn't be confirmed right away (status processing) completes on its own, or its full price returns to your balance automatically.
Issue a card (Node.js)
const res = await fetch("https://vibed.cards/api/v1/cards", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.VIBED_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": `card-${user.id}`,
  },
  body: JSON.stringify({ email: user.email, name: user.name, client_ref: user.id }),
});
const { card } = await res.json();

Endpoints

POST/api/v1/cards· Issue a card

Creates a virtual Mastercard (Apple Pay / Google Pay ready) for one of your customers. The card price is taken from your API balance. Most cards are active within a minute: status is 'issuing' until then (you also get a card.issued webhook). Send an Idempotency-Key header so a retry never creates a second card.

email — Cardholder email (optional; recommended).
name — Name on the card / label, up to 50 characters (optional).
client_ref — Your own customer id, to group cards and money per customer (optional).
{
  "card": { "id": "card_8f2…", "status": "active", "client_ref": "user_42", "name": "Alice", "email": "alice@example.com", "created_at": "…" },
  "charged_usd": 20.1,
  "balance_usd": 479.9
}
POST/api/v1/cards/{id}/topup· Top up a card

Loads exactly `amount` USD onto the card. The price (amount + fee) is taken from your API balance. Status 'completed' = on the card; 'processing' = being confirmed; you get a topup.completed webhook when it lands, or a topup.failed webhook and the full price back in your balance if it can't. Don't send the same top-up again while it is processing. Send an Idempotency-Key header.

amount — USD to put on the card (minimum 5).
{ "card_id": "card_8f2…", "amount_usd": 50, "charged_usd": 51.92, "status": "completed", "balance_usd": 427.98 }
GET/api/v1/cards/{id}· Get a card

Status, last 4 digits, expiry and live balance. Add ?reveal=true to also get the full number, CVV and billing address (show these only to the cardholder, never log them).

reveal — true to include number, cvv and billing_address.
{ "id": "card_8f2…", "status": "active", "last4": "4242", "expiry": "12/29", "balance_usd": 50, "frozen": false, "client_ref": "user_42", … }
GET/api/v1/cards· List cards

Your cards, newest first. Filter by your customer id with ?client_ref=.

client_ref — Only this customer's cards (optional).
{ "data": [ { "id": "card_8f2…", "status": "active", "client_ref": "user_42", … } ] }
GET/api/v1/cards/{id}/transactions· Card transactions

Purchases, declines (with reason), refunds and top-ups on the card.

{ "data": [ { "id": "…", "description": "AMAZON", "amount_usd": -12.5, "status": "success", "decline_reason": null, "date": "…" } ] }
GET/api/v1/cards/{id}/codes· Verification codes

One-time codes of the last 30 minutes: online payment checks (3-D Secure) and Apple Pay / Google Pay add codes. Show them to the cardholder.

{ "codes": [ { "code": "482913", "kind": "payment_3ds", "received_at": "…" } ], "wallet_code_status": "none" }
POST/api/v1/cards/{id}/wallet-code· Prepare Apple Pay / Google Pay

Call this right before the cardholder adds the card to Apple Pay or Google Pay (choosing the email option). The next wallet code is matched to this card for 10 minutes; read it from /codes.

{ "id": "card_8f2…", "status": "waiting" }
POST/api/v1/cards/{id}/freeze· Freeze a card

Blocks new payments until unfrozen. /unfreeze turns it back on.

{ "id": "card_8f2…", "status": "frozen" }
POST/api/v1/cards/{id}/close· Close a card

Closes the card for good. Its whole remaining balance goes back to your API balance, with no fee.

{ "id": "card_8f2…", "status": "closed", "returned_usd": 42.5, "balance_usd": 470.48 }
POST/api/v1/payments· Customer payment (earn your fee)

Your customer pays for a new card or a top-up themselves, in USDC on Solana: you get a one-time address, the exact amount and a ready checkout page (checkout_url) to send them. The amount = API price + your fee (set 0–3% in your dashboard; it goes to your earnings). Once paid (usually seconds), the money lands in your API balance, the card is made / loaded from it automatically and you get a payment.completed webhook. No prepaid balance needed. Links are valid 24 hours.

type — "topup" (needs card_id) or "card" (a new card). Default: topup when card_id is sent.
card_id — The card to load (type topup).
amount_usd — What goes on the card, in USD (5–10,000).
client_ref — Your own customer id (optional; shown per customer in your dashboard).
email — Cardholder email for a new card (optional).
name — Name on a new card (optional).
{ "id": "8c1e…", "object": "payment", "status": "waiting", "purpose": "topup", "card_id": "card_8f2…", "amount_usd": 100, "price_usd": 103.72, "fee_usd": 2, "pay_amount": 105.72, "pay_currency": "USDC", "pay_network": "solana", "pay_address": "7xKX…", "checkout_url": "https://vibed.cards/pay/8c1e…", "solana_pay_url": "solana:7xKX…?amount=105.72&spl-token=EPjF…", "expires_at": "…" }
GET/api/v1/payments/{id}· Payment status

Checks the payment on chain and returns it: waiting → paid → processing (card being made / loaded) → completed. failed = the card step was refused; the money stays in your API balance. expired = nothing paid in 24 h. underpaid = less than pay_amount arrived; it was added to your API balance without your fee. Poll every few seconds while your customer pays, or use the payment.* webhooks.

{ "id": "8c1e…", "status": "completed", "card_id": "card_8f2…", "received_usdc": 105.72, … }
GET/api/v1/payments· List payments

Your customer payments, newest first.

limit — 1–200 (default 50).
{ "data": [ { "id": "8c1e…", "status": "completed", "amount_usd": 100, "fee_usd": 2, … } ] }
GET/api/v1/balance· API balance

Your prepaid balance in USD. Add funds on vibed.cards/developers.

{ "balance_usd": 470.48 }
GET/api/v1/ledger· Money flow

Every deposit, card, top-up, return and refund on your balance, newest first.

limit — 1–500 (default 100).
{ "data": [ { "id": 812, "type": "card_topup", "amount_usd": -51.92, "balance_after_usd": 427.98, "card_id": "card_8f2…", "client_ref": "user_42", "status": "done", "created_at": "…" } ] }
GET/api/v1/pricing· Prices

Current prices (no API key needed).

{ "card_issue_usd": 20.1, "topup_fee_percent": 3.61, "topup_fixed_fee_usd": 0.1, … }

Webhooks

Set your webhook URL in your dashboard. Each event is a POST with JSON { id, type, created_at, data: { card_id, client_ref, … } } and an X-Vibed-Signature header: hex HMAC-SHA256 of the raw body with your webhook secret. Verify it before trusting the event.

card.issuedThe card is ready to use.
card.failedThe card couldn't be made; its price is back in your balance.
card.transactionA purchase, decline, refund or top-up on the card.
card.otpA verification code arrived (3-D Secure or Apple Pay / Google Pay).
topup.completed / topup.failedA top-up finished (a failed one is refunded to your balance).
balance.lowA charge took your API balance below $25. Add funds to keep issuing.
payment.completed / payment.failedA customer payment was paid and the card made / loaded (failed: the money is in your API balance).
payment.expired / payment.underpaidA customer payment link expired unpaid, or less than the amount arrived (added to your API balance).
test.pingSent by the Send test event button in your dashboard.
Verify a webhook (Node.js)
import crypto from "node:crypto";

const expected = crypto
  .createHmac("sha256", process.env.VIBED_WEBHOOK_SECRET)
  .update(rawBody)
  .digest("hex");
const ok = crypto.timingSafeEqual(
  Buffer.from(expected),
  Buffer.from(req.headers["x-vibed-signature"] ?? ""),
);

Errors

401 UNAUTHORIZEDMissing, wrong or revoked API key.
402 INSUFFICIENT_BALANCEYour API balance is too low. Add funds.
403 ACCOUNT_PAUSEDYour API account is paused.
404 CARD_NOT_FOUNDNo such card on your account.
409 CARD_NOT_READYThe card is still issuing, closed or failed.
400 BAD_AMOUNT / BAD_REQUESTCheck the request body.
502 ISSUE_FAILED / TOPUP_FAILEDRefused right now; you were not charged. Retry later.
503 RETRY_SHORTLYNew cards only: issuing is busy for a moment; you were not charged. Retry after the Retry-After header, same Idempotency-Key is fine.
Ready to launch your card?

Free account, live keys, no waiting.

Open the developer dashboard