Skip to content

Update BBPS API documentation and remove deprecated content#333

Merged
tanmay-dixit merged 3 commits intomainfrom
billpay-docs-fixes-enhancements-10-sept
Sep 16, 2025
Merged

Update BBPS API documentation and remove deprecated content#333
tanmay-dixit merged 3 commits intomainfrom
billpay-docs-fixes-enhancements-10-sept

Conversation

@Sreejit7
Copy link
Copy Markdown
Contributor

  • Add example value for token expiry in API schema
  • Remove deprecated documentation files and redundant transaction examples
  • Update webhook documentation with improved examples and event types
  • Fix relative links in API references across multiple documentation pages
  • Add <WasPageHelpful> component to relevant documentation sections

- Add example value for token expiry in API schema - Remove deprecated
documentation files and redundant transaction examples - Update webhook
documentation with improved examples and event types - Fix relative
links in API references across multiple documentation pages - Add
`<WasPageHelpful>` component to relevant documentation sections
@github-actions
Copy link
Copy Markdown

Checklist to merge a PR 🚀

To merge this pull request, please take time to complete the checklist.

What action did you perform?

Review the corresponding checklist items for the action you performed and mark them done.

Edit an existing content (MDX) page

Checklist

  • Review changes using the MDX preview option
  • If the length of content >15000 chars, use the Content preview portal to view changes
  • If a redirect is needed to the existing page, add a key, value pair in redirects.json

Edit an existing API reference page

Checklist


Add a new content (MDX) page

Checklist

  • Create a .mdx file with the path as its name in the content folder
  • Add frontmatter with all the metadata
  • Review the order of items in Sidebar using the Sidebar preview option
  • Review changes using the MDX preview option
  • If the length of content >15000 chars, use the Content preview portal to view changes
  • Created a folder with the same name, if any children were to be added to the page
  • Once all changes are done, update the menu items by using the Menu Items option
  • Add a key, and value pair in redirects.json if you wish to have a redirect to the new page

Add a new API reference page

Checklist

  • Create a .json file with the product path as its name
  • Create an api-reference.mdx file in the respective product folder inside content folder
  • Add frontmatter with all the metadata
  • Review the order of items in Sidebar using the Sidebar preview option
  • Add API reference in JSON format (OpenAPI or Swagger) into created .json file.
  • Used the Content preview portal to view changes
  • Once all changes are done, update the menu items by using the Menu Items option

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates BBPS API documentation by improving webhook examples, fixing broken links, removing deprecated content, and adding enhanced API schema details.

  • Enhanced webhook documentation with separate success/failure examples and updated event types
  • Fixed relative links across API reference documentation to use proper internal linking format
  • Removed deprecated documentation files and redundant transaction examples to clean up obsolete content

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
webhooks.mdx Enhanced webhook examples with separate success/failure cases and updated event types
v2-migration.mdx Fixed relative API reference links and removed deprecated fields
upms.mdx Updated API reference links to use proper internal format
remittance_flows_guide.mdx Removed deprecated IMPS/NEFT payment modes and added help component
plan-mdm-integration.mdx Added WasPageHelpful component
harmonization_of_tat.mdx Improved dispute examples formatting and added help component
deprecated.mdx Removed entire deprecated documentation file
bbps-v1_1-features.mdx Removed redundant transaction examples and added help component
api-integration.json Added example value for token expiry field in API schema

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

"traceId" : "C3SFG0O6N88R6UI7EQ",
"timeStamp" : "2021-11-12T00:12:29+05:30",
"event" : "BILLER_UPDATES",
"event" : "BILL_FETCH / BILL_PAY / BILL_DISPUTE / BILLER_UPDATES / PLAN_UPDATES / CREATE_UPMS_REGISTRATION / UPDATE_UPMS_REGISTRATION / CANCEL_UPMS_REGISTRATION / SKIP_PAYMENT",
Copy link

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

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

The event field shows multiple values separated by slashes, which could be confusing. Consider clarifying that this represents possible event types rather than a single concatenated value, or use an array format to show the possible values more clearly.

Suggested change
"event" : "BILL_FETCH / BILL_PAY / BILL_DISPUTE / BILLER_UPDATES / PLAN_UPDATES / CREATE_UPMS_REGISTRATION / UPDATE_UPMS_REGISTRATION / CANCEL_UPMS_REGISTRATION / SKIP_PAYMENT",
"event" : "<one of: BILL_FETCH, BILL_PAY, BILL_DISPUTE, BILLER_UPDATES, PLAN_UPDATES, CREATE_UPMS_REGISTRATION, UPDATE_UPMS_REGISTRATION, CANCEL_UPMS_REGISTRATION, SKIP_PAYMENT>",

Copilot uses AI. Check for mistakes.
"billerRefId": "ABC1235",
"transactionId": "AX01122999900001",
"paymentDetails": {
"mode": "Internet Banking/Debit Card/Credit Card/Cash/UPI/Wallet/Prepaid Card/AEPS/Account Transfer/Bharat QR/USSD",
Copy link

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

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

The payment mode field shows multiple values separated by slashes, which appears to represent possible values rather than a single concatenated string. Consider using clearer documentation format to indicate these are possible enum values, such as using array notation or explicit enum documentation.

Copilot uses AI. Check for mistakes.
@Sreejit7 Sreejit7 self-assigned this Sep 10, 2025
- Update hrefs for API categories (Fetch, Pay, Dispute, UPMS) - Remove
deprecated mock-environment and polling guides - Fix documentation links
and add HTTPS requirement for callbacks - Rename UPMS section and update
registration API references
@tanmay-dixit tanmay-dixit merged commit f79a2bd into main Sep 16, 2025
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.

4 participants