Sparados API Integration Guide
1. INTEGRATION MODELS OVERVIEW
Sparados offers three integration models. They differ in who authenticates the end user, who displays the card to the end user, and how much of the user interface you build yourself. Card and balance management, such as creating balances, assigning cards, and setting limits, is always done through the Sparados API in all three models.
SIMPLE API INTEGRATION
You manage cards and balances through the Sparados API as usual. Your end users log in and view their card, transactions and limits through a web or mobile application hosted and authenticated entirely by Sparados. You do not build or host any end-user facing interface.
WIDGET API INTEGRATION
You authenticate end users in your own application. The Sparados Card Widget, embedded in your application as an iframe or WebView, shows the card details along with Add to Apple Wallet and Add to Google Wallet buttons. Balance and transaction history can also be displayed if you want them included. Each time you open the widget, you choose whether the user sees the full card view or only the Add to Apple Wallet and Add to Google Wallet buttons. Sensitive card data such as PAN and CVV is never exposed to your backend.
FULL API INTEGRATION
You receive full card data through the Sparados API, including PAN and CVV, and build your own end-user interface entirely. This model gives you full control but also full PCI DSS responsibility. If you only need the Add to Apple Wallet and Add to Google Wallet buttons, you can embed the Sparados Card Widget in wallet-buttons-only mode instead of building wallet provisioning yourself. See the Full API Integration section for details.
COMPARISON
| Feature | Simple API | Widget API | Full API |
|---|---|---|---|
| Fast integration | 1–2 weeks | 2-3 weeks | ~1 month |
| Use Sparados mobile/web app | Yes | No | No |
| Dedicated branded web app | Optional | N/A, widget embedded in your app | No |
| Create users via API | No | Yes | Yes |
| Create cards via API | Yes | Yes | Yes |
| Receive PAN / CVV | No | No | Yes |
| Add to Apple/Google Wallet | Yes | Yes, via widget buttons | You implement, or use the Card Widget in wallet-buttons-only mode |
| Balance and transaction history | Included | Optional, configurable | You implement |
| PCI DSS scope | No | Minimal | Yes |
Using the Sparados platform, partners can issue virtual and physical cards, manage balances and spending limits, automate expense workflows, and integrate card management directly into their own systems and applications.
The Sparados API supports:
Corporate card issuing
Card lifecycle management
Transaction processing
Budget and spending controls
3DS and OTP authentication flows
Balance management
Server-to-server communication using Mutual TLS
Webhooks and transaction notifications
Apple Wallet and Google Wallet passes (SmartPass), see SmartPass API Integration
2. ENVIRONMENT SETUP
Before calling Sparados APIs, your corporation must be configured by Sparados and access to the selected environment must be enabled. Access to BETA and PROD environments is provided after client verification and signing the cooperation agreement with Sparados.
Server-to-Server Access
Sparados APIs use Mutual TLS authentication for server-to-server communication.
Certificate generation, CSR structure, and environment-specific certificate requirements are described in the dedicated section:
Connecting to Server-to-Server APIs
Once your CSR is signed by Sparados, you can use the issued certificate to authenticate API requests within the selected environment.
API Addresses
|
API |
Integration |
BETA |
PROD |
|---|---|---|---|
|
Transaction API |
Simple / Widget / Full |
|
|
|
User, Card Data, 3DS and X-Pay Notifications API |
Widget / Full |
|
|
|
Card Widget (iframe / WebView) |
Widget / Full |
|
|
3. REQUIRED CORPORATE PANEL VALUES
Before creating cards through the Sparados API, collect the card visual ID from the Corporate Panel.
Card Visual ID
You can find the visualId during the card assignment process in the Corporate Panel.
To copy the Card Visual ID:
Go to card assignment. Select the card visual you want to use. Click the copy icon displayed on the card visual. Use the copied value as visualId when creating a card with POST /secure/cards/. Providing the correct visualId ensures that the card is displayed correctly in Apple Wallet and Google Wallet.
Balance ID
The balanceId used when creating cards and checking balances is provided by Sparados after a payment account is created for the partner. You can also list the available values with GET /secure/balances/.
4. INTEGRATION DOCUMENTATION LINKS
For detailed technical documentation, please refer to the relevant integration section:
|
Integration type |
Documentation link |
|---|---|
|
Simple API Integration |
Simple API Integration |
|
Widget API |
Widget API |
|
Full API Integration |
Full API Integration |
|
SmartPass API (Apple Wallet and Google Wallet passes) |
SmartPass API Integration |
Choose the integration model that matches your implementation scope before starting the technical integration.
No comments to display
No comments to display