PCI Compliant SDK

Client SDKs that collect and reveal card data inside Wirex-controlled surfaces, so cardholder data never reaches your application.

Before You Start

Read the following guides before proceeding:

GuideWhy
Getting StartedPlatform overview and setup
Api BasicsRequired headers and request configuration
AuthenticationHow to mint the user token the SDK authenticates with — see User Token Issuance (Login as User)
EnvironmentsBaaS and PCI environment base URLs

Overview

The PCI Compliant SDK is a family of client SDKs for the card-data surfaces of the retail API: entering a
card for top-up, entering a destination card for push to card, revealing an issued card's details, and
running a 3DS challenge. The card number and CVV are entered and displayed inside surfaces served by Wirex,
so your application code and your servers never receive them and stay out of PCI scope for those values.

Everything the SDK produces — a card_id, an external card token, a completed 3DS challenge — feeds the
same REST flows documented in Card Top-Up,
Push to Card and Card Details.

Not the same package as the TypeScript SDK. @wirexapp/wpay-baas-sdk
(TypeScript / JavaScript SDK) wraps the REST API and on-chain wallet operations. The
PCI Compliant SDK covers only card-data surfaces.


Platforms

PlatformDistributionGuide
Web (browser)npm packages under the @wirexapp scope (1.1.0)Web SDK
React Native (iOS, Android)@wirexapp/mobile-sdk on npmReact Native SDK
Flutter (iOS, Android)wirex_mobile_sdk on pub.devFlutter SDK
iOS (Swift, UIKit)WirexMobileSDK via Swift Package Manager or CocoaPodsiOS SDK
Android (Kotlin, Views)com.wirexapp.baas:mobile-sdk on Maven CentralAndroid SDK

Capabilities by Platform

The PCI Compliant SDK is the recommended integration path for every surface below. Each API guide in the
last column documents the direct REST alternative and links back to these pages.

CapabilityWebReact NativeFlutteriOSAndroidAPI guide
Reveal PAN, expiry, CVV, PINRevealRevealRevealRevealRevealRead Card Details
Collect a top-up source cardTop-Up CollectCollectCollectCollectCollectTop-Up Card Registration
Collect a push-to-card destinationPayout CollectCollectCollectCollectCollectCard Tokenization
Top-up 3DS step3DS3DS3DS3DS3DSCard Top-Up
Apple Pay top-up checkoutWalletWalletWalletWallet—Card Top-Up
Google Pay top-up checkoutWalletWalletWallet—WalletCard Top-Up
React bindingsReact—————

Not covered by the SDK:

  • 3DS for purchases with an issued card — in-app approve/decline. See
    3DS Authentication.
  • Corporate API. The SDK authenticates with the retail user token and calls the retail API only.

Did this page help you?