Topping Up From a Card

Fund user wallets by pulling from external payment cards via AFT with 3DS.

Before You Start

Read the following guides before proceeding:

GuideWhy
Getting StartedPlatform overview and setup
Api BasicsRequired headers and request configuration
AuthenticationHow to obtain access tokens
OnboardingUser and wallet registration
KYCKYC verification requirements
EnvironmentsBaaS and PCI environment base URLs

Card Top-Up lets users fund their wallet by pulling funds from an external Visa or Mastercard payment card. The debit uses AFT (Account Funding Transaction) rails and credits the user's wallet with an on-chain token. This provides a fast on-ramp for users who want to move funds from their existing bank cards into the platform.

Before initiating a top-up, the source card must be registered on Wirex's PCI-compliant secure environment. Registration returns a card_id used to reference the card in top-up requests. Card data (PAN, CVV) is never stored or transmitted outside the secure environment.

Recommended: integrate through the PCI Compliant SDK. The SDK collects the source
card inside Wirex-controlled views and returns the same card_id, runs the 3DS step, and on mobile hosts
the Apple Pay and Google Pay checkout. Call the PCI environment directly only from a PCI DSS compliant
environment.

Top-ups follow the standard estimate-then-execute flow. The estimate sizes the card debit for the token amount the user wants to receive, and execution starts the pull from the card. Because card debits are subject to Strong Customer Authentication, execution may return a 3DS state that the client must complete before the top-up settles. Transaction status is reported via activity webhooks.

Limits

Limits for topping up a wallet from a Visa card (Visa AFT).

Transaction1-day limit7-day limit30-day limitMaximum per Transaction
Domestic100,000 USD250,000 USD500,000 USDNo fixed limit
Cross-border50,000 USD100,000 USD200,000 USD25,000 USD

In the Europe region, domestic limits apply to intra-EEA transactions. All retail limits are listed in
Retail Card Limits.

Integration Flow (Simplified)

Detailed documentation available in Top-Up Card Registration and Card Top-Up.

sequenceDiagram
    participant User
    participant App as Your App
    participant PCI as Wirex PCI
    participant BaaS as Wirex BaaS

    Note over User,BaaS: Card Registration (one-time)
    User->>App: Enter card details
    App->>PCI: POST /b2b/cards/topup
    PCI-->>App: card_id

    Note over User,BaaS: Top-Up Execution
    User->>App: Request top-up
    App->>BaaS: POST /api/v1/cards/topup/estimate
    BaaS-->>App: estimation_id, source/destination amounts
    App-->>User: Top-up quote
    User->>App: Confirm top-up
    App->>BaaS: POST /api/v1/cards/topup/execute
    BaaS-->>App: id, status, three_ds_state

    Note over User,BaaS: 3DS
    App->>User: Load three_ds_state.url
    User->>PCI: Device check, then challenge if the issuer asks

    Note over App,BaaS: Completion
    BaaS->>App: POST /v2/webhooks/activities
    App-->>User: Top-up complete
StepActionDescription
1POST /b2b/cards/topupRegister card as a top-up source in PCI environment
2POST /api/v1/cards/topup/estimateGet top-up quote
3POST /api/v1/cards/topup/executeStart the top-up
4Complete 3DSLoad three_ds_state.url — through the PCI Compliant SDK, or a browser view
5WebhookReceive completion notification

Did this page help you?