Skip to content

Instantly share code, notes, and snippets.

@yashb042
Last active May 6, 2024 10:55
Show Gist options
  • Save yashb042/1294d03fea6186831f93b2102d1549f8 to your computer and use it in GitHub Desktop.
Save yashb042/1294d03fea6186831f93b2102d1549f8 to your computer and use it in GitHub Desktop.
Subscribe request to ONDC
{
"context": {
"operation": {
"ops_no": 1
}
},
"message": {
"entity": {
"address_of_authorised_signatory": "LP",
"callback_url": "/",
"country": "IND",
"email_id": "[email protected]",
"gst": {
"business_address": "1st Floor, T Tower, KM Compound, Mumbai 013.",
"city_code": [
"std:080"
],
"gst_no": "06AAHCP1178L1Z4",
"legal_entity_name": "FT PRIVATE LIMITED"
},
"key_pair": {
"encryption_public_key": "MCowBQYDK2VuAyEAtexpJPC5LYuGHgbRuyZkiIRTUvoAaTzsAh3rbaWPrz8=",
"signing_public_key": "M8LH40vEJB/QiGCaLb97P5AaiCE7WFqKVBGe8Qtwsr0=",
"valid_from": "2023–12–12T18:27:54.101Z",
"valid_until": "2030–07–08T06:27:54.101Z"
},
"mobile_no": 7792013965,
"name_of_authorised_signatory": "NSSS",
"pan": {
"date_of_incorporation": "05/01/2022",
"name_as_per_pan": "FT PRIVATE LIMITED",
"pan_no": "AAHCP1178L"
},
"subscriber_id": "ondc-buyer-staging-app.yash.com",
"unique_key_id": "67baa06d-f90a-486c-85e5-cc621b743f08"
},
"network_participant": [
{
"city_code": [
"*"
],
"domain": "ONDC:TRV11",
"msn": false,
"subscriber_url": "/",
"type": "buyerApp"
}
],
"request_id": "67baa06d-f90a-486c-85e5-cc621b743f46",
"timestamp": "2024–05–06T10:29:35.001Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment