-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathon_search_1.md
224 lines (206 loc) · 8.64 KB
/
on_search_1.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
## ON_SEARCH
**Purpose:** Provides the initial response to the SEARCH request, including generic loan offers and a form for the borrower to provide more details.
**Endpoint:** /on_search
**Method:** POST
**Description:** The gateway responds to the SEARCH request with this endpoint.
**Steps:**
- **Generic Loan Offers:** The gateway provides a general catalog of loan offers from interested FIs.
- **Input Form:** The gateway includes an xinput form for the borrower to submit their specific details.
### Request Body
``` json
{
"context": {
"domain": "ONDC:FIS12",
"location": {
"country": {
"code": "IND"
},
"city": {
"code": "*"
}
},
"version": "2.0.0",
"action": "on_search",
"bap_id": "bap.credit.becknprotocol.io",
"bap_uri": "https://bap.credit.becknprotocol.io/",
"transaction_id": "a9aaecca-10b7-4d19-b640-b047a7d62196",
"message_id": "bb579fb8-cb82-4824-be12-fcbc405b6608",
"ttl": "PT30M",
"timestamp": "2023-05-25T05:23:03.443Z",
"bpp_id": "bpp.credit.becknprotocol.org",
"bpp_uri": "https://bpp.credit.becknprotocol.org"
},
"message": {
"catalog": {
"descriptor": {
"name": "ICICI Bank"
},
"providers": [
{
"id": "PROVIDER_ID",
"descriptor": {
"images": [
{
"url": "https://www.icicibank.com/content/dam/icicibank/india/assets/images/header/logo.png",
"size_type": "sm"
}
],
"name": "ICICI Bank",
"short_desc": "ICICI Bank Ltd",
"long_desc": "ICICI Bank Ltd, India."
},
"categories": [
{
"id": "101123",
"descriptor": {
"code": "WORKING_CAPITAL_LOAN",
"name": "Working Captail Loan"
}
}
],
"items": [
{
"id": "WORKING_CAPITAL_LOAN_ID",
"descriptor": {
"code": "LOAN",
"name": "Loan"
},
"category_ids": [
"101123"
],
"matched": true,
"recommended": true,
"xinput": {
"head": {
"descriptor": {
"name": "Bank Statement & GST Returns"
},
"index": {
"min": 0,
"cur": 0,
"max": 1
},
"headings": [
"BANK_STATEMENT_AND_GST_RETURNS",
"BUSINESS_AND_FINANCIAL_DOCUMENTS",
]
},
"form": {
"id": "<form_gst_bank_statement_F01>",
"mime_type": "text/html",
"url": "https://bpp.credit.becknprotocol.org/xinput/form/form_gst_bank_statement",
"resubmit": false,
"multiple_sumbissions": false
},
"required": true
}
}
],
"tags": [
{
"descriptor": {
"code": "CONTACT_INFO",
"name": "Contact Info"
},
"list": [
{
"descriptor": {
"code": "GRO_NAME",
"name": "Gro name"
},
"value": "ICICI"
},
{
"descriptor": {
"code": "GRO_EMAIL",
"name": "Gro email"
},
"value": "lifeline@iciciprulife.com"
},
{
"descriptor": {
"code": "GRO_CONTACT_NUMBER",
"name": "Gro contact number"
},
"value": "1860 266 7766"
},
{
"descriptor": {
"code": "CUSTOMER_SUPPORT_LINK",
"name": "Customer support link"
},
"value": "https://buy.iciciprulife.com/buy/GrievanceRedStep.htm?execution=e1s1"
},
{
"descriptor": {
"code": "CUSTOMER_SUPPORT_CONTACT_NUMBER",
"name": "Customer support contact number"
},
"value": "1800 1080"
},
{
"descriptor": {
"code": "CUSTOMER_SUPPORT_EMAIL",
"name": "Customer support email"
},
"value": "customer.care@icicibank.com"
}
]
},
{
"descriptor": {
"code": "LSP_INFO",
"name": "Lsp Info"
},
"list": [
{
"descriptor": {
"code": "LSP_NAME",
"name": "Lsp name"
},
"value": "ICICI_LSP"
},
{
"descriptor": {
"code": "LSP_EMAIL",
"name": "Lsp email"
},
"value": "lsp@iciciprulife.com"
},
{
"descriptor": {
"code": "LSP_CONTACT_NUMBER",
"name": "Lsp contact number"
},
"value": "1860 266 7766"
},
{
"descriptor": {
"code": "LSP_ADDRESS",
"name": "Lsp Address"
},
"value": "One Indiabulls centre, Tower 1, 18th Floor Jupiter mill compound 841, Senapati Bapat Marg, Elphinstone Road, Mumbai 400013"
}
]
}
]
}
]
}
}
}
```
### Response
```json
{
"message": {
"ack": {
"status": "ACK"
}
}
}
```
---
<p align="center">
[← Back to Previous File](search_1.md) | [Go to Form →](form_gst_bank_statement.md) | [Next File →](search_2.md)
</p>