What is KYC and Why It Matters
Know Your Customer (KYC) verification is an essential process that helps verify the identity of your users, prevent fraud, and comply with regulatory requirements. This guide will walk you through integrating DollarPe’s KYC system into your application, whether you’re a developer or a business owner.Before You Begin:
- Complete the authentication setup for API access
- Set up your webhook endpoint to receive real-time KYC status updates
Integration at a Glance
The KYC integration follows these main steps:- Create a customer profile
- Fetch KYC Configuration
- Submit their KYC documents and information
- Monitor verification status (usually completed within 60 seconds.)
- Handle any verification issues (Document, Tax, Additional Information)
- Add bank account details once verified
- Begin transactions for Payout and Payin
Visual Integration Flow
Process Flow Diagram
Verification Timeframe: Most verifications are completed within 60 seconds. In exceptional cases, it could take up to 24 hours.. Communicate this timeline to users to manage expectations.
Step-by-Step Integration Guide
Step 1: Create a Customer Profile
First, register your customer in the system. This creates a unique customer ID that will be used throughout the KYC process.- API Request
- Response
client_reference_id: Unique reference ID generated by your system (optional) (e.g. Your user ID)full_name: Customer’s legal nameemail: Valid email addressphone: Contact numberalpha_3_country_code: Country code of customer’s nationality (e.g., “IND” for India)
Save the returned
customer_id as you’ll need it for all subsequent API calls.Step 2: Submitting KYC Information
Fetching KYC Configuration
Once the customer profile is created, you can fetch the KYC configuration to understand the “document_type”(s) supported and the “additional_info” required for KYC using the /kyc/configuration/ endpoint.- API Request
- Response
supported_document_types: The options that are supported as “document_type” in /kyc/add-kyc-data endpointadditional_info_required: Contains details about “additional_info” required in /kyc/add-kyc-data endpointoptions: Options for{field_name}rules: Consists “type” (anyOf,allOf) and the “min_required” field to indicate the minimum number of fields that should be included in the “additional_info” of /kyc/add-kyc-data endpoint{field_name}: Contains “type” for the field (string,url) and “required” field to indicate if that specific field in required in “additional_info” of /kyc/add-kyc-data endpoint
Adding KYC Data
Based on the KYC configuration, collect and submit their KYC details using the /kyc/add-kyc-data API.- API Request
- Response
customer_id: ID received from Step 1full_address: Complete residential addressdob: Date of birth (format: DD-MM-YYYY)registered_date: Date on which the user registered with centralized exchangetax_number: Tax number of the customerdocument_type: Type of ID document submitteddocument_front_image_url&document_back_image_url: Secure URLs to uploaded document imagesdocument_number: Document number based on document type (e.g. File number for Passport)selfie_url: Secure URL to uploaded selfie imageselfie_verification_status: Status of the selfie verificationadditional_info: Additional Information required for KYC (e.g. “income_range” and “profession”)
Each customer has 3 KYC attempts. This means that if the KYC fails 3 times, the customer will be blocked and resolved manually.
Step 3: Track Verification Status
After submitting KYC data, our system begins the verification process, typically completing within 60 seconds. In exceptional cases, it could take up to 24 hours.Verification Timeframe: Most verifications complete within 60 seconds. In exceptional cases, it could take up to 24 hours. You should communicate this expected timeline to your users to set proper expectations.
Option A: Webhook Integration (Recommended)
Webhooks provide real-time updates about KYC status changes. Configure your webhook endpoint to receive these notifications:Option B: Status Polling
If webhooks aren’t feasible, you can periodically check the status using the customer endpoint:- API Request
- Response
Step 4: Handle Verification Issues
If verification fails, your system should help users correct and resubmit the problematic data.Scenario A: Document Verification Failed
Use the document update API to re-upload clearer and correct images.- API Request
- API Response
Scenario B: Tax Verification Failed
Use the following API to resubmit a corrected tax number:- API Request
- API Response
Scenario C: Additional Information Verification Failed
Use the following API to resubmit a corrected additional information:- API Request
- API Response
Step 5: Add Bank Account Details
Once KYC verification is successful, you can add the customer’s bank account:- API Request
- Response
Instead of “account_number” and “ifsc”, you can also pass “vpa” to add a UPI ID.
Step 6: Ready for Transactions
Once KYC is verified and bank details are added, the customer can start transacting. At this point, you can:Testing Your Integration
Sandbox Environment
Before going live, test your integration thoroughly in our sandbox environment:- Use the base URL:
https://sandbox.dollarpe.xyz - Create test customers on sandbox
- Test both successful and failed verification scenarios
Getting Help
If you encounter any issues with your KYC integration:- Check our API documentation for detailed endpoint information
- Visit the Troubleshooting Guide for common solutions
- Contact our support team with your customer_id and transaction logs
Our support team is available 24/7 to help with integration issues. For urgent matters, use the in-app chat or call our technical support hotline.

