Skip to main content

Overview

Virtual cards are instantly issued, digital-only payment cards. Use them for online purchases, subscriptions, and contactless payments. You can create multiple virtual cards, set custom spending limits, and freeze or void them at any time.
Before creating a card, you must complete the onboarding flow including KYC approval, terms acceptance, and wallet deployment.

List Cards

Retrieve all cards associated with the authenticated account.

Create Virtual Card

Issue a new virtual card. Specify a display name and optional spending limit.
string
required
Must be "virtual" for virtual card creation.
string
required
A human-readable label for the card (e.g., “Monthly Subscriptions”, “Travel Expenses”).
number
Maximum amount the card can spend per period. Omit to set no limit.
string
The reset frequency for the spending limit. Accepted values: daily, weekly, monthly, yearly, per_authorization.

View Card Details and PIN (Secure hosted page)

Sensitive card data — the full card number (PAN), CVV, expiry, and PIN — is never returned in API responses. To display it, your backend requests a secure view URL from Yativo. You open that URL for the cardholder in an iframe, WebView, or browser tab. Yativo hosts the page and handles all the cryptography internally — no SDK integration required on your side. How it works:
  1. Your backend calls POST /yativo-card/{yativoCardId}/cards/{cardId}/view-token
  2. You receive a secure_view_url
  3. Open the URL for the cardholder (iframe, WebView, new tab)
  4. Yativo’s hosted page displays PAN, CVV, expiry and/or PIN securely
Response
Always request a fresh URL immediately before showing card details. Never cache or reuse a previous secure_view_url.

Full integration guide

Backend proxy pattern, iframe embedding, access code flow, theming options, React/Vue/Vanilla JS examples, and CSP requirements.

Set Card PIN

The pin_set field in the view-token response tells you whether Yativo has received a physical.card.pin.changed webhook for this card. Use it to decide whether to prompt the cardholder to set their PIN — the same enabled_views: ["pin"] view also handles PIN changes.
Card PINs are set and changed through Yativo’s hosted secure page — the cardholder types their PIN directly inside a sandboxed iframe. The PIN never touches your backend. How to show the PIN-setup page:
  1. Call POST /yativo-card/{yativoCardId}/cards/{cardId}/view-token with enabled_views: ["pin"]
  2. Open the returned secure_view_url in an <iframe> or WebView
  3. The cardholder enters and confirms their 4-digit PIN inside the hosted page
  4. Once saved, pin_set becomes true on the card record — card details can now be displayed
Response
Embed the URL:

Setting a Card PIN

Complete flow for virtual and physical cards — PSE iframe, brand theming, pin_set monitoring, and webhook confirmation.

Freeze a Card

Temporarily suspend a card. All transactions on a frozen card will be declined until unfrozen.
string
required
The card ID to freeze.

Unfreeze a Card

Re-activate a frozen card.

Void a Card

Permanently cancel a card. This action is irreversible. A voided card cannot be reactivated.
Voiding a card is permanent. If you only need to temporarily stop spending, use freeze instead.

Get User Profile

Retrieve the card account profile for a given Yativo Card ID.
string
required
The Yativo Card account ID.

Card Status Reference


Sandbox Testing

Replace YOUR_SANDBOX_TOKEN with a token obtained by authenticating against https://crypto-sandbox.yativo.com/api/v1/. See Sandbox Overview.

Create a Virtual Card (Sandbox)

List Cards (Sandbox)