Skip to content

Update gst apis#50

Open
Shobhit1918 wants to merge 6 commits into
ekoindia:devfrom
Shobhit1918:update-gst-apis
Open

Update gst apis#50
Shobhit1918 wants to merge 6 commits into
ekoindia:devfrom
Shobhit1918:update-gst-apis

Conversation

@Shobhit1918
Copy link
Copy Markdown

Added Touras Apis

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a substantial expansion of the API documentation by integrating a new collection of Touras APIs. The changes provide detailed specifications for a wide array of verification and information retrieval services, covering critical areas such as Know Your Customer (KYC), financial transactions, corporate identity, transport, and communication. This update aims to equip developers with extensive resources for leveraging these newly added functionalities.

Highlights

  • New Touras API Documentation: Introduced comprehensive documentation for a new suite of Touras APIs, significantly expanding the available API services.
  • KYC & Verification APIs: Added detailed specifications for PAN Verification, PAN Comprehensive, Bank Account Verification (Pennyless and Pennydrop), GST (Basic, By PAN, Advance), Income Tax Return (ITR) Compliance, UPI (Mobile to VPA), and Corporate Identity (CIN) Verification APIs.
  • Transport & Communication APIs: Included documentation for Driving License Verification, RC Verification, E-Challan, and Email Check APIs.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • markdown/README.md
    • Added extensive documentation for new Touras APIs, including KYC, financial, corporate, transport, and communication services.
    • Removed extraneous blank lines and a horizontal rule for improved formatting.
Activity
  • No specific activity (comments, reviews, or progress updates) has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds extensive documentation for the new Touras KYC and Verification APIs. The new content is well-structured for the most part, but I've identified a few areas for improvement to enhance consistency and clarity for developers. My main feedback concerns an inconsistent heading structure for the PAN APIs. I've also pointed out several smaller issues, such as a missing date format specification, a confusingly named field in a sample response, and several grammatical and consistency errors in API response messages. Applying these suggestions will improve the overall quality and usability of the documentation.

Note: Security Review has been skipped due to the limited scope of the PR.

Comment thread markdown/README.md Outdated
Comment on lines +5873 to +5900
### 1. PAN Verification API
Verify PAN details including holder name and status.

#### Details
- **Method:** POST
- **URL Endpoint:** /tools/kyc/touras/pan-verification
- **Request Structure:**
- **Body Parameters:**
- initiator_id (string / required) - Your registered mobile number.
- user_code (string / required) - User code value of the retailer from whom the request is coming.
- pan_number (string / required) - The PAN number you want to verify.

#### Sample Response (200 OK)
```json
{
"response_status_id": 0,
"data": {
"upstream_rrn": "pan_abc123xyz",
"pan_no": "ABCDE1234F",
"fullname": "JOHN DOE",
"category": "person",
"status": "success"
},
"response_type_id": 0,
"status": 0
}
```
### 2. PAN Comprehensive API
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The heading structure for the PAN APIs is inconsistent with the rest of the document. The PAN-related APIs are at heading level 3 (###), but they are not grouped under a level 2 heading (##). Additionally, the numbering (### 1. and ### 2.) conflicts with the next section, which is ## 2. Bank Account APIs. To improve clarity and consistency, I suggest grouping the PAN APIs under a ## 1. PAN APIs heading and adjusting the sub-headings accordingly.

## 1. PAN APIs

### 1.1. PAN Verification API
Verify PAN details including holder name and status.

#### Details
- **Method:** POST
- **URL Endpoint:** /tools/kyc/touras/pan-verification
- **Request Structure:**
  - **Body Parameters:**
    - initiator_id (string / required) - Your registered mobile number.
    - user_code (string / required) - User code value of the retailer from whom the request is coming.
    - pan_number (string / required) - The PAN number you want to verify.

#### Sample Response (200 OK)
```json
{
    "response_status_id": 0,
    "data": {
        "upstream_rrn": "pan_abc123xyz",
        "pan_no": "ABCDE1234F",
        "fullname": "JOHN DOE",
        "category": "person",
        "status": "success"
    },
    "response_type_id": 0,
    "status": 0
}

1.2. PAN Comprehensive API

Comment thread markdown/README.md
"middlename": "",
"pan_status": "valid",
"masked_aadhaar": "",
"message": "pan verification successful",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The success message is grammatically incorrect and inconsistent with capitalization used elsewhere for acronyms. "PAN" is an acronym and should be capitalized for consistency.

Suggested change
"message": "pan verification successful",
"message": "PAN verification successful",

Comment thread markdown/README.md
"gstin_status": "valid",
"pan_no": "XXXXX0000X",
"state": "Gujarat",
"message": "GST by pan verification successful",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency and correctness, the acronym "PAN" in the success message should be capitalized.

Suggested change
"message": "GST by pan verification successful",
"message": "GST by PAN verification successful",

Comment thread markdown/README.md
"response_status_id": 0,
"data": {
"number": "UXXXXXX0000XXXX000000",
"data": {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The sample response for CIN Verification contains a nested data field (data.data), which can be confusing for developers. It's a good practice to use descriptive and non-repetitive names for fields. Consider renaming the inner data field to something more specific like cin_details or company_data to improve the API's usability.

Suggested change
"data": {
"cin_details": {

Comment thread markdown/README.md
},
"client_id": "company_XXXXXXXXXXXXXXXXXXXX"
},
"message": "CIN verification successfully",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The success message uses an adverb "successfully" where an adjective "successful" is expected. For correct grammar and consistency with other messages, please change it to "successful".

Suggested change
"message": "CIN verification successfully",
"message": "CIN verification successful",

Comment thread markdown/README.md Outdated
- initiator_id (string / required) - Your registered mobile number.
- user_code (string / required) - User code value of the retailer from whom the request is coming.
- dl_number (string / required) - The Driving License number.
- dob (string / required) - Date of birth of the DL holder.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The documentation for the dob parameter doesn't specify the expected date format. This can lead to confusion and integration errors. For consistency with other APIs in this document (e.g., PAN Lite, Passport), please specify the required format, for example, YYYY-MM-DD.

Suggested change
- dob (string / required) - Date of birth of the DL holder.
- dob (string / required) - Date of birth of the DL holder in YYYY-MM-DD format.

Comment thread markdown/README.md
"ECHALLAN"
]
},
"message": "Echallan fetch successfully",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The success message has a typo ("Echallan" instead of "E-challan") and awkward phrasing. To improve clarity and consistency with the section heading, please correct the message.

Suggested change
"message": "Echallan fetch successfully",
"message": "E-challan fetch successful",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants