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.
Type Definitions
Type Definitions
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:- Your backend calls
POST /yativo-card/{yativoCardId}/cards/{cardId}/view-token - You receive a
secure_view_url - Open the URL for the cardholder (iframe, WebView, new tab)
- Yativo’s hosted page displays PAN, CVV, expiry and/or PIN securely
Response
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.- Call
POST /yativo-card/{yativoCardId}/cards/{cardId}/view-tokenwithenabled_views: ["pin"] - Open the returned
secure_view_urlin an<iframe>or WebView - The cardholder enters and confirms their 4-digit PIN inside the hosted page
- Once saved,
pin_setbecomestrueon the card record — card details can now be displayed
Response
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.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.
