Use cases
This guide outlines practical applications of the Parcha API, demonstrating how to leverage our endpoints for various compliance and due diligence scenarios. Let’s explore a common use case: document remediation.
Document Remediation
Document remediation is a crucial step in many KYB (Know Your Business) processes. It involves verifying the validity and authenticity of documents provided by businesses. Let’s look at how you can use Parcha’s API to streamline this process, focusing on proof of address verification.
Approach A: Multi-Step Process
This approach utilizes multiple API endpoints for a granular, step-by-step process.
Step 1: Upload the Document
First, use the document upload endpoint to securely store the document in our system.
Step 2: Run the Proof of Address Verification Check
Using the URL returned from the document upload, initiate the verification check.
Step 3: Poll for Job Status
Regularly check the status of the job using the job ID returned from the previous step.
Step 4: Process the Results
Once the job is completed, examine the results to determine if the document is validated or if there’s feedback to provide to the customer.
Approach B: Streamlined Single-Call Process
This approach utilizes an undocumented feature that allows for a more streamlined process using a single API call.
After initiating the job with this single call, you can proceed to poll for the job status and process the results as described in Steps 3 and 4 of Approach A.
Conclusion
Both approaches offer effective ways to handle document remediation:
- Approach A provides more granular control and is useful when you need to manage documents separately from the verification process.
- Approach B streamlines the process into a single API call, which can be more efficient for straightforward verifications.
Choose the approach that best fits your workflow and integration needs. Remember to always handle sensitive document data securely and in compliance with relevant data protection regulations.
Incorporation Document Verification
Verifying incorporation documents is a crucial step in the KYB process. This example demonstrates how to use the Parcha API to verify incorporation documents using a webhook for efficient result handling.
Step 1: Prepare Document Data and Run Verification
Use the runCheck
endpoint to initiate the incorporation document verification process.
Note on Verification Options:
- enable_visual_verification (default: True)
- Uses a vision language model to analyze the document visually.
- Detects official seals, signatures, and other visual elements.
- Reference images of seals and signatures can be provided for specific document types.
- Adds approximately 15-30 seconds of latency to the process.
- enable_fraud_check (default: False)
- Runs sophisticated fraud and tampering analysis on the document metadata.
- Adds about 1-2 minutes of latency to the process.
- verify_incorporation_date (default: True)
- The check will fail if there are significant discrepancies in the incorporation date.
- verify_registration_number (default: False)
- The check will fail if there are significant discrepancies in the registration number.
- verify_address (default: False)
- The check will fail if there are significant discrepancies in the address.
- verify_no_high_risk_fraud (default: False)
- The check will fail if HIGH_RISK indicators are detected in the document metadata.
Important Notes:
- By default, without these options enabled, the system performs an OCR-based check using LLMs to extract text from the document and analyze it.
- Consider the trade-off between thoroughness and speed when deciding which options to enable for your use case.
- Each verification option adds an additional layer of scrutiny but may increase processing time.
Step 2: Set Up Webhook to Receive Results
Create an endpoint on your server to receive the webhook callback. Here’s an example using Express.js. For more detailed information about webhooks, refer to the Webhooks section:
Step 3: Process the Results
In your webhook handler, process the results of the incorporation document verification:
MCC Code Verification
Merchant Category Code (MCC) verification is another important aspect of KYB processes. This example demonstrates how to use the Parcha API to verify a business’s MCC code based on its basic information.
Step 1: Prepare Business Data and Run MCC Code Verification
Use the runCheck
endpoint to initiate the MCC code verification process.
Step 2: Poll for Job Status (Optional if using webhook)
If you’re not using a webhook, you can poll for the job status using the getJobById
endpoint.
Step 3: Process the Results
Once the job is completed, examine the results to retrieve the MCC code and its description.
Conclusion
This MCC code verification process demonstrates a straightforward use of the Parcha API:
- It requires minimal input (basic business information).
- It can be executed with a single API call to
runCheck
. - Results can be retrieved either through a webhook or by polling the job status.
This approach is efficient for quick verifications that don’t require document uploads or complex multi-step processes. Always ensure that the business information provided is accurate to get the most reliable MCC code verification results.