Quick Start
This guide will help you make your first verification request using the TxnCheck API.Prerequisites
1
Obtain your API key
API keys are provided by the TxnCheck team during merchant onboarding. Contact your account manager or visit your dashboard to request access.
2
Choose your execution mode
TxnCheck supports two modes:
- Async mode (default): Requests are queued, results delivered via webhooks or polling
- Sync mode: Wait for results directly in the response (up to 30 seconds)
Merchant accounts and API keys are created by the TxnCheck team. Self-registration is not available.
Make Your First Request
Let’s verify a mobile number to get associated UPI VPAs. You can choose between async and sync modes.- Async Mode (Default)
- Sync Mode
Async mode queues your request and delivers results via webhooks or polling.
Response (202 Accepted)
Get Results (Async Mode Only)
If you used async mode, results are delivered via webhooks (recommended) or by polling the status endpoint.Option 1: Webhooks (Recommended)
If you have a webhook configured, you’ll receive the results automatically:Option 2: Polling
Poll the request status endpoint until the status isCOMPLETED, FAILED, or PARTIAL:
Completed Response
Understanding the Response
| Field | Description |
|---|---|
requestId | Unique identifier for tracking the request |
status | Current status: QUEUED, PROCESSING, COMPLETED, FAILED, PARTIAL |
result | Verification result data (when completed) |
result.name | Name associated with the mobile number |
result.upi | Array of UPI VPAs linked to the mobile number |
result.status | "1" indicates data was found |
What’s Next?
Set up Webhooks
Receive real-time notifications when verifications complete
Explore All Methods
Learn about KYC verification, VPA checks, and more
Test Your Integration
Use test mode to validate your implementation
Error Handling
Learn how to handle API errors
Common Issues
401 Unauthorized
401 Unauthorized
400 Bad Request - Invalid mobile format
400 Bad Request - Invalid mobile format
Mobile numbers must be in Indian international format:
+91 followed by 10 digits.Correct: +919876543210Incorrect: 9876543210, +1-987-654-3210403 Forbidden - Method not allowed
403 Forbidden - Method not allowed
Your API key may not have access to this verification method. Contact your account manager to enable it.
402 Payment Required
402 Payment Required
Your account balance is insufficient. Top up your balance in the merchant dashboard.
