-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
shenoyninad
commented
Jul 28, 2023
- 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": [ | ||
{ |
There was a problem hiding this comment.
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": { |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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": [ |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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": [ | |||
{ |
There was a problem hiding this comment.
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.