Issuing and Using Cards
Issue payment cards, handle transactions, and manage 3DS authentication.
Before You Start
Read the following guides before proceeding:
| Guide | Why |
|---|---|
| Getting Started | Platform overview and setup |
| Api Basics | Required headers and request configuration |
| Authentication | How to obtain access tokens |
| Onboarding | User and wallet registration |
| KYC | KYC verification requirements |
Wirex BaaS enables card issuance for users, allowing them to spend their crypto balance at any merchant that accepts Visa. Cards are linked to user wallets and automatically convert unified tokens to fiat at the point of sale. Both virtual and physical card formats are available.
A card issued through the v3 endpoints can also resolve to the Bridge rail, funded from a wallet you name
rather than the cardholder's own balance, and lets you select a design, card program and payment system at
order time — see Bridge-Rail Issuance. A lost, stolen,
damaged or expiring card is replaced with Reissue a Card.
Recommended: integrate through the PCI Compliant SDK. Reveal card details and
collect external cards for top-up and push to card through the SDK, so the PAN, CVV and PIN never reach
your app or servers. SDKs are available for the browser,
React Native, Flutter, iOS and Android — see Capabilities by Platform.
Using External Authorization? See External Authorization for transaction settlement differences.
Card management includes activation, PIN retrieval, freezing/unfreezing, reissue and closure. Each card has configurable spending limits (per-transaction, daily, monthly) that can be adjusted via API. Transaction activity is reported through webhooks, providing real-time visibility into card usage.
For e-commerce transactions, 3D Secure (3DS) authentication protects against fraud. When a merchant requests 3DS verification, a webhook is delivered with transaction details. Your application must present the confirmation to the user and submit their response within the timeout window.
Card Issuance Flow (Simplified)
Detailed documentation available in the subguides.
sequenceDiagram
participant User
participant App as Your App
participant BaaS as Wirex BaaS
Note over User,BaaS: Card Request
User->>App: Request card
App->>BaaS: POST /api/v3/cards/{format}
BaaS-->>App: id
BaaS->>App: POST /v2/webhooks/cards
Note over User,BaaS: Card Details
App->>BaaS: POST /api/v1/cards/{cardId}/details (action_token)
BaaS-->>App: card_number, expiry_date
App-->>User: Display card
| Step | Action | Description |
|---|---|---|
| 1 | POST /api/v3/cards/{format} | Issue a virtual, plastic or metal card — see Issue and Manage a Card |
| 2 | Webhook | Card status notification |
| 3 | POST /api/v1/cards/{cardId}/details | Retrieve card details with an action_token — see Card Details |
Card Transaction Flow (Simplified)
sequenceDiagram
participant User
participant Merchant
participant App as Your App
participant BaaS as Wirex BaaS
Note over User,BaaS: Card Payment
User->>Merchant: Pay with card
Merchant->>BaaS: Authorization
Note right of BaaS: Hold balance
BaaS->>App: POST /v2/webhooks/activities<br/>(type: CardTransaction, status: Pending)
Note over Merchant,BaaS: Settlement
Merchant->>BaaS: Clear transaction
Note right of BaaS: Debit balance
BaaS->>App: POST /v2/webhooks/activities<br/>(status: Completed)
App-->>User: Transaction done
| Step | Action | Description |
|---|---|---|
| 1 | Authorization | Merchant requests payment authorization |
| 2 | Hold | Funds held on user balance |
| 3 | Webhook (Pending) | Authorization notification |
| 4 | Settlement | Merchant clears the transaction |
| 5 | Webhook (Completed) | Final transaction notification |
3DS Authentication Flow (Simplified)
sequenceDiagram
participant User
participant App as Your App
participant BaaS as Wirex BaaS
participant Merchant
Note over User,Merchant: 3DS Challenge
User->>Merchant: Online purchase
Merchant->>BaaS: 3DS auth request
BaaS->>App: POST /v2/webhooks/3ds (transaction details)
App-->>User: Confirm payment?
User->>App: Yes / No
App->>BaaS: POST /api/v1/cards/3ds/requests/{transactionId}/approve | /decline
BaaS->>Merchant: 3DS response
| Step | Action | Description |
|---|---|---|
| 1 | Webhook | 3DS challenge received (POST /v2/webhooks/3ds) |
| 2 | User prompt | Display transaction for confirmation |
| 3 | POST /api/v1/cards/3ds/requests/{transactionId}/approve or /decline | Submit user decision |
The transactionId comes from the webhook payload (or GET /api/v1/cards/3ds/requests). The decision endpoints take no request body — only the standard auth headers (Authorization, X-User-Wallet, X-Chain-Id); ownership is enforced. See 3DS Authentication for the full flow.
Updated 15 days ago

