API Flows
This document outlines the key API-driven user flows within the Swiftramp ecosystem, focusing on Offramp and KYC processes.
Merchant User Flow Overview
This document will help you get a sense of your users’ experience when interacting with Swiftramp’s APIs for various operations.
Offramp - API Flow
This flow depicts how a user sells crypto for fiat, including user registration, crypto deposit, and fiat payout via IMPS.
- User Registration: Merchant ensures the user is registered in Swiftramp.
- KYC Check: Verify if the user is KYC-approved. If not approved, redirect to the KYC process.
- Bank Addition: User adds their bank account.
- User Initiates Offramp: User selects the crypto to sell and the amount.
- Crypto Conversion: Convert the crypto into fiat currency using real-time conversion rates.
- Fiat Payout: Fiat is transferred to the user’s bank account.
- Transaction Completion: Update the transaction status in Swiftramp.
KYC Flow
This flow illustrates how users are verified for compliance before performing any transactions.
- User Registration: User is created in the Swiftramp system.
- KYC Initiation:
- Via API (Merchant handles verification).
- Via SDK (Swiftramp handles verification).
- Document Submission: Users upload necessary documents.
- KYC Verification:
- Approved: Proceed to next steps (e.g., add a bank account for Indian users).
- Rejected: Request re-submission of documents, if applicable.
- KYC Completion: User status is updated to “KYC Approved.”
Next Steps
Go ahead and check out our quickstart guides for more detailed information on integrating these flows.