1
+ {
2
+ "context" : {
3
+ "domain" : " ONDC:LOG10" ,
4
+ "location" : {
5
+ "city" : {
6
+ "code" : " std:080"
7
+ },
8
+ "country" : {
9
+ "code" : " IND"
10
+ }
11
+ },
12
+ "action" : " init" ,
13
+ "version" : " 2.0.0" ,
14
+ "bap_id" : " mock.ondc.org/api" ,
15
+ "bap_uri" : " https://mock.ondc.org/api/logistics/bap" ,
16
+ "transaction_id" : " 93d9066b-0268-45a7-8ea0-c53d8af2ba7b" ,
17
+ "message_id" : " 65c7a77a-75fd-4a56-9850-0aa3450a40cd" ,
18
+ "timestamp" : " 2025-03-06T12:54:36.729Z" ,
19
+ "ttl" : " PT30S" ,
20
+ "bpp_uri" : " https://acrisvc.com" ,
21
+ "bpp_id" : " mock.ondc.org/api"
22
+ },
23
+ "message" : {
24
+ "order" : {
25
+ "provider" : {
26
+ "id" : " P1"
27
+ },
28
+ "items" : [
29
+ {
30
+ "id" : " EXPRESS" ,
31
+ "category_ids" : [
32
+ " C1"
33
+ ],
34
+ "fulfillment_ids" : [
35
+ " 1"
36
+ ],
37
+ "descriptor" : {
38
+ "code" : " P2H2P"
39
+ },
40
+ "time" : {
41
+ "label" : " TAT" ,
42
+ "duration" : " P8D"
43
+ }
44
+ }
45
+ ],
46
+ "fulfillments" : [
47
+ {
48
+ "id" : " 1" ,
49
+ "type" : " Delivery" ,
50
+ "stops" : [
51
+ {
52
+ "type" : " start" ,
53
+ "location" : {
54
+ "gps" : " 12.4535445,77.9283792" ,
55
+ "area_code" : " 560041" ,
56
+ "address" : " My building #, My street name" ,
57
+ "city" : {
58
+ "name" : " Bengaluru"
59
+ },
60
+ "state" : {
61
+ "name" : " Karnataka"
62
+ },
63
+ "country" : {
64
+ "code" : " IND"
65
+ }
66
+ },
67
+ "contact" : {
68
+ "phone" : " 9886098860" ,
69
+
70
+ }
71
+ },
72
+ {
73
+ "type" : " end" ,
74
+ "location" : {
75
+ "gps" : " 12.342769,77.9129423" ,
76
+ "area_code" : " 636806" ,
77
+ "address" : " My house or building name, street name" ,
78
+ "city" : {
79
+ "name" : " Bengaluru"
80
+ },
81
+ "state" : {
82
+ "name" : " Karnataka"
83
+ },
84
+ "country" : {
85
+ "code" : " IND"
86
+ }
87
+ },
88
+ "contact" : {
89
+ "phone" : " 9886098860" ,
90
+
91
+ }
92
+ }
93
+ ]
94
+ }
95
+ ],
96
+ "billing" : {
97
+ "name" : " ONDC sellerapp" ,
98
+ "address" : " My house or building name" ,
99
+ "city" : " Bengaluru" ,
100
+ "state" : " Karnataka" ,
101
+ "tax_id" : " XXXXXXXXXXXXXXX" ,
102
+ "phone" : " 9886098860" ,
103
+
104
+ "time" : {
105
+ "timestamp" : " 2025-03-06T12:54:36.729Z"
106
+ }
107
+ },
108
+ "payments" : [
109
+ {
110
+ "collected_by" : " BPP" ,
111
+ "type" : " ON-FULFILLMENT" ,
112
+ "tags" : [
113
+ {
114
+ "descriptor" : {
115
+ "code" : " Settlement_Details"
116
+ },
117
+ "list" : [
118
+ {
119
+ "descriptor" : {
120
+ "code" : " Counterparty"
121
+ },
122
+ "value" : " BAP"
123
+ },
124
+ {
125
+ "descriptor" : {
126
+ "code" : " Mode"
127
+ },
128
+ "value" : " UPI"
129
+ },
130
+ {
131
+ "descriptor" : {
132
+ "code" : " Beneficiary_Name"
133
+ },
134
+ "value" : " xxxxx"
135
+ },
136
+ {
137
+ "descriptor" : {
138
+ "code" : " Bank_Account_No"
139
+ },
140
+ "value" : " xxxxx"
141
+ },
142
+ {
143
+ "descriptor" : {
144
+ "code" : " Ifsc_Code"
145
+ },
146
+ "value" : " xxxxxxx"
147
+ },
148
+ {
149
+ "descriptor" : {
150
+ "code" : " UPI_Address"
151
+ },
152
+ "value" : " xxxxxxx"
153
+ }
154
+ ]
155
+ },
156
+ {
157
+ "descriptor" : {
158
+ "code" : " Collection_Details"
159
+ },
160
+ "list" : [
161
+ {
162
+ "descriptor" : {
163
+ "code" : " Amount"
164
+ },
165
+ "value" : " 20000"
166
+ },
167
+ {
168
+ "descriptor" : {
169
+ "code" : " Type"
170
+ },
171
+ "value" : " ON-FULFILLMENT"
172
+ }
173
+ ]
174
+ }
175
+ ]
176
+ }
177
+ ],
178
+ "xinput" : {
179
+ "form" : {
180
+ "url" : " https://lsp.com/xxx/kyc" ,
181
+ "mime_type" : " text/html" ,
182
+ "submission_id" : " xxxx44567789999"
183
+ },
184
+ "required" : true
185
+ }
186
+ }
187
+ }
188
+ }
0 commit comments