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:
| Guide | Why |
|---|---|
| Getting Started | Platform overview and setup |
| Api Basics | Required headers and request configuration |
| Authentication | How to mint the user token the SDK authenticates with — see User Token Issuance (Login as User) |
| Environments | BaaS 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
| Platform | Distribution | Guide |
|---|---|---|
| Web (browser) | npm packages under the @wirexapp scope (1.1.0) | Web SDK |
| React Native (iOS, Android) | @wirexapp/mobile-sdk on npm | React Native SDK |
| Flutter (iOS, Android) | wirex_mobile_sdk on pub.dev | Flutter SDK |
| iOS (Swift, UIKit) | WirexMobileSDK via Swift Package Manager or CocoaPods | iOS SDK |
| Android (Kotlin, Views) | com.wirexapp.baas:mobile-sdk on Maven Central | Android 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.
| Capability | Web | React Native | Flutter | iOS | Android | API guide |
|---|---|---|---|---|---|---|
| Reveal PAN, expiry, CVV, PIN | Reveal | Reveal | Reveal | Reveal | Reveal | Read Card Details |
| Collect a top-up source card | Top-Up Collect | Collect | Collect | Collect | Collect | Top-Up Card Registration |
| Collect a push-to-card destination | Payout Collect | Collect | Collect | Collect | Collect | Card Tokenization |
| Top-up 3DS step | 3DS | 3DS | 3DS | 3DS | 3DS | Card Top-Up |
| Apple Pay top-up checkout | Wallet | Wallet | Wallet | Wallet | — | Card Top-Up |
| Google Pay top-up checkout | Wallet | Wallet | Wallet | — | Wallet | Card Top-Up |
| React bindings | React | — | — | — | — | — |
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.
Updated 22 days ago

