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

bpp-financial-support response #3

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
169 changes: 169 additions & 0 deletions logs/tibil/financial-support/confirm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
{
"context": {
"domain": "{{onest_financial_support}}",
"location": {
"city": {
"name": "Bangalore",
"code": "std:080"
},
"country": {
"name": "India",
"code": "IND"
}
},
"action": "confirm",
"timestamp": "2023-02-15T22:45:25.385Z",
"version": "{{core_version}}",
"bap_id": "{{bap_id}}",
"bap_uri": "{{bap_uri}}",
"bpp_id": "{{bpp_id}}",
"bpp_uri": "{{bpp_uri}}",
"message_id": "32bf2118-3d1c-421c-8e76-2e29534c4726",
"transaction_id": "cd3317da-ddcc-41b8-9a70-61c0aa366499"
},
"message": {
"order": {
"type": "DEFAULT",
"provider": {
"id": "BX213573733",
"descriptor": {
"name": "XYZ Education Foundation",
"short_desc": "XYZ Education Foundation"
},
"rateable": false
},
"items": [
{
"id": "24233",
"descriptor": {
"name": "XYZ Undergraduation scholarship for Economically Backward Female Students",
"short_desc": "XYZ Undergraduation scholarship for Economically Backward Female Students"
},
"price": {
"currency": "INR",
"value": "30000"
},
// "xinput": {
// "required": true,
// "form": {
// "url": "http://localhost:8001/public/getForm/a9aaecca-10b7-4d19-b640-022723112309/da0052a822dc4cdf95ab136b5614d0c9",
// "data": {
// "name": "James",
// "phone": "498674",
// "address": "Mumbai",
// "needOfScholarship": "higher education",
// "docUrl": "http://abc.co/docs"
// },
// "mime_type": "text/html",
// "submission_id": "8203501c-8934-468c-b947-1d5317847e9a"
// }
// },
"rateable": false,
"tags": [
{
"display": true,
"descriptor": {
"code": "edu_qual",
"name": "Academic Eligibility"
},
"list": [
{
"descriptor": {
"code": "gr",
"name": "Grade"
},
"value": "Grade 12",
"display": true
},
{
"descriptor": {
"code": "percentage_grade",
"name": "Percentage/Grade"
},
"value": ">= 50",
"display": true
},
{
"descriptor": {
"code": "passing_year",
"name": "Passing Year"
},
"value": "2021",
"display": false
}
]
},
{
"display": true,
"descriptor": {
"code": "fin_status",
"name": "Financial Status"
},
"list": [
{
"descriptor": {
"code": "family_income",
"name": "Family Income"
},
"value": "<= 2000000",
"display": true
}
]
},
{
"display": true,
"descriptor": {
"code": "benefits",
"name": "Benefits"
},
"list": [
{
"descriptor": {
"code": "scholarship-amount",
"name": "Scholarship Amount"
},
"value": "Upto Rs.30000 per year",
"display": true
}
]
}
],
"category_ids": [
"DSEP_CAT_1"
]
}
],
"fulfillments": [
{
"id": "DSEP_FUL_63587501",
"type": "SCHOLARSHIP",
"tracking": false,
"customer": {
"person": {
"name": "Test",
"gender": "Male"
}
},
"contact": {
"phone": "9876543210",
"email": "[email protected]"
},
"stops": [
{
"type": "APPLICATION-START",
"time": {
"timestamp": "2023-01-01T00:00:00.000Z"
}
},
{
"type": "APPLICATION-END",
"time": {
"timestamp": "2023-03-31T00:00:00.000Z"
}
}
]
}
]
}
}
}
155 changes: 155 additions & 0 deletions logs/tibil/financial-support/init.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"context": {
"domain": "{{onest_financial_support}}",
"location": {
"city": {
"name": "Bangalore",
"code": "std:080"
},
"country": {
"name": "India",
"code": "IND"
}
},
"action": "init",
"timestamp": "2023-02-15T22:34:48.817Z",
"version": "{{core_version}}",
"bap_id": "{{bap_id}}",
"bap_uri": "{{bap_uri}}",
"bpp_id": "{{bpp_id}}",
"bpp_uri": "{{bpp_uri}}",
"message_id": "32bf2118-3d1c-421c-8e76-2e29534c4726",
"transaction_id": "cd3317da-ddcc-41b8-9a70-61c0aa366499"
},
"message": {
"order": {
"type": "DEFAULT",
"provider": {
"id": "BX213573733",
"descriptor": {
"name": "XYZ Education Foundation",
"short_desc": "XYZ Education Foundation"
},
"rateable": false
},
"items": [
{
"id": "24233",
"descriptor": {
"name": "XYZ Undergraduation scholarship for Economically Backward Female Students",
"short_desc": "XYZ Undergraduation scholarship for Economically Backward Female Students"
},
"price": {
"currency": "INR",
"value": "30000"
},

"rateable": false,
"tags": [
{
"display": true,
"descriptor": {
"code": "edu_qual",
"name": "Academic Eligibility"
},
"list": [
{
"descriptor": {
"code": "gr",
"name": "Grade"
},
"value": "Grade 12",
"display": true
},
{
"descriptor": {
"code": "percentage_grade",
"name": "Percentage/Grade"
},
"value": ">= 50",
"display": true
},
{
"descriptor": {
"code": "passing_year",
"name": "Passing Year"
},
"value": "2021",
"display": false
}
]
},
{
"display": true,
"descriptor": {
"code": "fin_status",
"name": "Financial Status"
},
"list": [
{
"descriptor": {
"code": "family_income",
"name": "Family Income"
},
"value": "<= 2000000",
"display": true
}
]
},
{
"display": true,
"descriptor": {
"code": "benefits",
"name": "Benefits"
},
"list": [
{
"descriptor": {
"code": "scholarship-amount",
"name": "Scholarship Amount"
},
"value": "Upto Rs.30000 per year",
"display": true
}
]
}
],
"category_ids": [
"DSEP_CAT_1"
]
}
],
"fulfillments": [
{
"id": "DSEP_FUL_63587501",
"type": "SCHOLARSHIP",
"tracking": false,
"customer": {
"person": {
"gender": "Male",
"name": "Test"
}
},
"contact": {
"phone": "111111111",
"email": "[email protected]"
},
"stops": [
{
"type": "APPLICATION-START",
"time": {
"timestamp": "2023-01-01T00:00:00.000Z"
}
},
{
"type": "APPLICATION-END",
"time": {
"timestamp": "2023-03-31T00:00:00.000Z"
}
}
]
}
]
}
}
}
Loading