Welcome to SwiftFin API
SwiftFin provides a comprehensive RESTful API for banking and financial operations. Our API enables you to perform account management, inter-bank transfers, intra-bank transfers, loan operations, and more.Base URL
Sandbox Environment:
https://demoapi.saasphereltd.comAuthentication
All API endpoints require authentication using Bearer tokens. SwiftFin supports two authentication methods:Bearer Token Authentication
Include your API token in theAuthorization header of every request:
Important: Do not include the word “Bearer” twice. Just paste your token after “Bearer ”.
Getting Your API Token
1
Contact SwiftFin Support
Reach out to SwiftFin support at support@swiftfin.com
2
Request API Credentials
Specify whether you need sandbox (testing) or production credentials
3
Receive Your Token
SwiftFin support will provide your API token securely
4
Store Securely
Keep your API token safe and never expose it in client-side code
Security Schemes
SwiftFin API uses the following security schemes defined in our OpenAPI specification:Response Format
All API responses follow a consistent JSON structure:Successful Response
Error Response
Status Codes
| Status Code | Meaning |
|---|---|
00 | Success - Request completed successfully |
04 | General Error - Check error message for details |
99 | Validation Error - Check errors array for details |
HTTP Status Codes
| Code | Description |
|---|---|
200 | OK - Request successful |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Authentication required |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource doesn’t exist |
500 | Server Error - Internal server error |
Request Headers
Include these headers in all API requests:Rate Limiting
If you exceed the rate limit, you’ll receive a429 Too Many Requests response:
Environments
Sandbox Environment
- Base URL:
https://demoapi.saasphereltd.com - Purpose: Testing and development
- Rate Limit: 100 requests/minute
- Data: Test data only, no real transactions
Production Environment
- Base URL: Contact support for production URL
- Purpose: Live transactions
- Rate Limit: Higher limits based on your plan
- Data: Real financial data
API Endpoints Overview
SwiftFin API is organized into the following categories:Utils
Bank lists, sectors, states, countries, and utility endpoints
Accounts
Account enquiry, profiles, transactions, and statement operations
Operations
Inter-bank transfers, intra-bank transfers, and payment operations
Loans
Loan booking, repayment schedules, disbursement, and reports
Customers
Customer creation, KYC, tier upgrades, and management
Beneficiaries
Add, list, and manage beneficiaries for transfers
Cards
Virtual card creation, management, and transactions
Savings
Fixed deposits and savings account operations
Data Formats
Date Format
All dates should be inYYYY-MM-DD format:
Amount Format
Amounts should be strings with decimal precision:Account Numbers
Account numbers are strings of 10 digits:Error Handling
Always check thestatus field in the response to determine success or failure:
Need Help?
Documentation
Get started with our quickstart guide
Support
Contact our support team at support@swiftfin.com

