Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the examples for financial services #18

Merged
merged 3 commits into from
Jul 28, 2023
Merged

Conversation

shenoyninad
Copy link
Collaborator

  • Updated examples for personal loans and invoice-based loans
  • Added forms to both types of credit.

"id": "101125",
"descriptor": {
"code": "education-loan",
"name": "Education Loan"
}
}
],
"items": [
{
Copy link
Contributor

Choose a reason for hiding this comment

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

You can add item.price attribute to indicate what is the max loan amount offered.

items[].price : { "value": "Upto 10 lakhs", "currency" : "INR" }

"ttl": "P30M"
},
"message": {
"order": {
Copy link
Contributor

Choose a reason for hiding this comment

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

@shenoyninad you can set order.fulfillment.state.descriptor.name to "Financial Information Received" and order.fulfillment.state.descriptor.code to financial-info-received or whatever the last submission state of the form is. That way BAP can update the checklist at its end.

},
"state": {
"descriptor": {
"name": "Loan Initiated"
Copy link
Contributor

Choose a reason for hiding this comment

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

Add code as well.

}
}
}
],
"payments": [
{
"type": "ON-ORDER",
Copy link
Contributor

Choose a reason for hiding this comment

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

this will be "type": "POST-FULFILLMENT".

</head>

<body>
<form>
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a namespaced form id or name like

<form ondc-template="loan-account-details"> ... </form>

},
"price": {
"currency": "INR",
"value": "230000"
"value": "231800"
},
"tags": [
Copy link
Contributor

Choose a reason for hiding this comment

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

Add the RBI regulated statutory name-value pairs as discussed with @Ratonhnhake-ton today as an example.

"version": "1.1.0",
"action": "on_cancel",
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need cancel / on_cancel flows?

@@ -24,15 +24,15 @@
},
"items": [
{
Copy link
Contributor

Choose a reason for hiding this comment

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

For lumpsum this has to be like a retail purchase. Item X quantity that leads to billing, payment and ultimately confirmation of the order.

@ravi-prakash-v ravi-prakash-v merged commit a8a66b6 into draft Jul 28, 2023
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.

None yet

2 participants