From a516a039c19b5d85be6e3ce29fafa2f7bafae384 Mon Sep 17 00:00:00 2001 From: mystore-in <111131282+mystore-in@users.noreply.github.com> Date: Fri, 20 Oct 2023 16:20:15 +0530 Subject: [PATCH] Flow 2 update user info flow --- ...8503-44da-9cfe-6d1ee2baeb15_on_search.json | 151 +++++++++ ...8b-8503-44da-9cfe-6d1ee2baeb15_search.json | 75 +++++ ...1-78ee-4a0b-8243-67d4452d0d41_confirm.json | 276 +++++++++++++++ ...93b1-78ee-4a0b-8243-67d4452d0d41_init.json | 127 +++++++ ...8ee-4a0b-8243-67d4452d0d41_on_confirm.json | 286 ++++++++++++++++ ...1-78ee-4a0b-8243-67d4452d0d41_on_init.json | 266 +++++++++++++++ ...-4a0b-8243-67d4452d0d41_on_select (1).json | 313 ++++++++++++++++++ ...78ee-4a0b-8243-67d4452d0d41_on_select.json | 313 ++++++++++++++++++ ...-4a0b-8243-67d4452d0d41_on_status (1).json | 278 ++++++++++++++++ ...78ee-4a0b-8243-67d4452d0d41_on_status.json | 297 +++++++++++++++++ ...78ee-4a0b-8243-67d4452d0d41_on_update.json | 287 ++++++++++++++++ ...8ee-4a0b-8243-67d4452d0d41_select (1).json | 94 ++++++ ...b1-78ee-4a0b-8243-67d4452d0d41_select.json | 79 +++++ ...b1-78ee-4a0b-8243-67d4452d0d41_update.json | 113 +++++++ 14 files changed, 2955 insertions(+) create mode 100644 Mystore_Gift_Card/Flow 2/44fdf68b-8503-44da-9cfe-6d1ee2baeb15_on_search.json create mode 100644 Mystore_Gift_Card/Flow 2/44fdf68b-8503-44da-9cfe-6d1ee2baeb15_search.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_confirm.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_init.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_confirm.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_init.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_select (1).json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_select.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_status (1).json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_status.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_update.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_select (1).json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_select.json create mode 100644 Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_update.json diff --git a/Mystore_Gift_Card/Flow 2/44fdf68b-8503-44da-9cfe-6d1ee2baeb15_on_search.json b/Mystore_Gift_Card/Flow 2/44fdf68b-8503-44da-9cfe-6d1ee2baeb15_on_search.json new file mode 100644 index 0000000000..0fb8882423 --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/44fdf68b-8503-44da-9cfe-6d1ee2baeb15_on_search.json @@ -0,0 +1,151 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_search", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "e1edc7c0-40fd-48bd-a1a8-50862c7b87da", + "timestamp": "2023-10-20T10:01:16.399Z", + "transaction_id": "44fdf68b-8503-44da-9cfe-6d1ee2baeb15", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "catalog": { + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL" + } + ], + "descriptor": { + "name": "Vistar", + "symbol": "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/Vistaar-logo.png", + "short_desc": "Vistar one stop solution for seller to sell gift card for seller", + "long_desc": "Vistar one stop solution for seller to sell gift card for seller", + "images": [ + "https://www.vistar.com/sites/Vistar/images/logo.jpg" + ] + }, + "providers": [ + { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec", + "ttl": "P1D", + "time": { + "label": "enable", + "timestamp": "2023-10-20T10:01:16.398Z" + }, + "descriptor": { + "name": "vistar", + "symbol": "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/Vistaar-logo.png", + "short_desc": "Online Gift Card Store", + "long_desc": "Online Gift Card Store", + "images": [ + "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/Vistaar-logo.png" + ] + }, + "categories": [ + { + "id": "C1", + "descriptor": { + "code": "ONLINE" + } + } + ], + "offers": [], + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "descriptor": { + "name": "Laptop card", + "symbol": "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/brands/file_example_PNG_1MB.png", + "short_desc": "Short description.............", + "long_desc": "long description..........", + "images": [ + "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/brands/file_example_PNG_1MB.png" + ] + }, + "price": { + "currency": "INR", + "minimum_value": "50", + "maximum_value": "50000" + }, + "return_terms": [ + { + "return_eligible": "false" + } + ], + "cancellation_terms": [ + { + "cancel_eligible": "false" + } + ], + "tags": [ + { + "descriptor": { + "code": "BRAND_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "BRAND_NAME" + }, + "value": "Branded Laptops" + } + ] + } + ], + "category_ids": [ + "C1" + ], + "fulfillment_ids": [ + "F2" + ] + } + ], + "serviceability": { + "tags": [] + } + } + ] + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_search", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "e1edc7c0-40fd-48bd-a1a8-50862c7b87da", + "timestamp": "2023-10-20T10:01:16.399Z", + "transaction_id": "44fdf68b-8503-44da-9cfe-6d1ee2baeb15", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/44fdf68b-8503-44da-9cfe-6d1ee2baeb15_search.json b/Mystore_Gift_Card/Flow 2/44fdf68b-8503-44da-9cfe-6d1ee2baeb15_search.json new file mode 100644 index 0000000000..3bd1e2e993 --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/44fdf68b-8503-44da-9cfe-6d1ee2baeb15_search.json @@ -0,0 +1,75 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "action": "search", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/", + "transaction_id": "44fdf68b-8503-44da-9cfe-6d1ee2baeb15", + "message_id": "e1edc7c0-40fd-48bd-a1a8-50862c7b87da", + "timestamp": "2023-10-20T09:59:40.832Z", + "ttl": "PT30S", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "version": "1.0.0" + }, + "message": { + "intent": { + "item": { + "descriptor": { + "name": "laptop" + } + }, + "payment": { + "tags": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES" + }, + "list": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES_PERCENTAGE" + }, + "value": "3" + } + ] + } + ] + } + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "search", + "version": "1.0.0", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/", + "transaction_id": "44fdf68b-8503-44da-9cfe-6d1ee2baeb15", + "message_id": "e1edc7c0-40fd-48bd-a1a8-50862c7b87da", + "timestamp": "2023-10-20T10:01:16.065Z", + "ttl": "PT30S" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_confirm.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_confirm.json new file mode 100644 index 0000000000..af44ed600c --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_confirm.json @@ -0,0 +1,276 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "action": "confirm", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/", + "bpp_id": "ondc.vistar.solutions", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "message_id": "3bc5e847-ccdf-4472-9c24-1b84387f4c48", + "timestamp": "2023-10-20T10:19:12.726Z", + "ttl": "PT30S", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "version": "1.0.0" + }, + "message": { + "order": { + "id": "6532541f1bd96c56b7193bf1", + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + }, + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "fulfillment_ids": [ + "F2" + ], + "price": { + "currency": "INR", + "value": "300" + }, + "tags": [ + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + } + ] + } + ] + } + ], + "billing": { + "name": "saurabh", + "address": { + "name": "Mangolpuri", + "building": "L-580", + "city": "Gurugram", + "state": "Haryana", + "country": "IN", + "area_code": "122050", + "locality": "Mangolpuri" + }, + "email": "saurabh.singh@hippoinnovations.com", + "phone": "8368476734", + "created_at": "2023-10-20T10:19:11.500Z", + "updated_at": "2023-10-20T10:19:11.500Z" + }, + "quote": { + "price": { + "currency": "INR", + "value": 300 + }, + "breakup": [ + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": 300 + } + }, + "title": "item", + "price": { + "currency": "INR", + "value": "300" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "convenience fee", + "price": { + "currency": "INR", + "value": "0" + } + }, + { + "item": { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9" + }, + "title": "offer", + "price": { + "currency": "INR", + "value": "-0" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "tax", + "price": { + "currency": "INR", + "value": "0" + } + } + ], + "ttl": "P1D" + }, + "created_at": "2023-10-20T10:19:11.500Z", + "updated_at": "2023-10-20T10:19:11.500Z", + "payments": [ + { + "type": "ON-ORDER", + "collected_by": "BAP", + "status": "PAID", + "tags": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES" + }, + "list": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES_PERCENTAGE" + }, + "value": "3" + } + ] + }, + { + "descriptor": { + "code": "SETTLEMENT_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "settlement_type" + }, + "value": "neft" + }, + { + "descriptor": { + "code": "settlement_bank_account_no" + }, + "value": "87987551213554" + }, + { + "descriptor": { + "code": "beneficiary_name" + }, + "value": "vivek" + }, + { + "descriptor": { + "code": "bank_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "branch_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "ifsc_code" + }, + "value": "icici201" + }, + { + "descriptor": { + "code": "settlement_counterparty" + }, + "value": "BPP" + } + ] + } + ], + "params": { + "transaction_id": "TXN-FH8XmH881", + "amount": "300", + "currency": "INR" + } + } + ], + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL", + "customer": { + "contact": { + "phone": "+918368476734", + "email": "raman@yopmail.com" + }, + "person": { + "name": "saurabh" + } + }, + "stops": [ + { + "id": "1", + "contact": { + "phone": "8368476734", + "email": "abc@xyz.com" + }, + "person": { + "name": "saurabh" + } + } + ], + "end": { + "person": { + "name": "saurabh" + } + } + } + ], + "status": "CREATED" + } + } + }, + "response": { + "message": { + "status": "Ack" + }, + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "confirm", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "3bc5e847-ccdf-4472-9c24-1b84387f4c48", + "timestamp": "2023-10-20T10:19:21.961Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "ttl": "PT30S", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_init.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_init.json new file mode 100644 index 0000000000..3de4abb0be --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_init.json @@ -0,0 +1,127 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "action": "init", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/", + "bpp_id": "ondc.vistar.solutions", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "message_id": "1084b686-18f9-431d-8199-d89b874000d3", + "timestamp": "2023-10-20T10:18:31.059Z", + "ttl": "PT30S", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "version": "1.0.0" + }, + "message": { + "order": { + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + }, + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "fulfillment_ids": [ + "F2" + ], + "tags": [ + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + } + ] + } + ] + } + ], + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL", + "customer": { + "contact": { + "phone": "+918368476734", + "email": "raman@yopmail.com" + }, + "person": { + "name": "saurabh" + } + }, + "stops": [ + { + "id": "1", + "contact": { + "phone": "8368476734", + "email": "abc@xyz.com" + }, + "person": { + "name": "saurabh" + } + } + ] + } + ], + "billing": { + "name": "saurabh", + "address": "Mangolpuri", + "state": { + "name": "Haryana" + }, + "city": { + "name": "Gurugram" + }, + "email": "saurabh.singh@hippoinnovations.com", + "phone": "8368476734", + "created_at": "2023-10-20T10:18:31.059Z", + "updated_at": "2023-10-20T10:18:31.059Z" + } + } + } + }, + "response": { + "message": { + "status": "Ack" + }, + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "init", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "1084b686-18f9-431d-8199-d89b874000d3", + "timestamp": "2023-10-20T10:18:28.958Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "ttl": "PT30S", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_confirm.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_confirm.json new file mode 100644 index 0000000000..c97d87906c --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_confirm.json @@ -0,0 +1,286 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_confirm", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "3bc5e847-ccdf-4472-9c24-1b84387f4c48", + "timestamp": "2023-10-20T10:19:21.967Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "order": { + "id": "6532541f1bd96c56b7193bf1", + "status": "ACCEPTED", + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL", + "customer": { + "contact": { + "phone": "+918368476734", + "email": "raman@yopmail.com" + }, + "person": { + "name": "saurabh" + } + }, + "stops": [ + { + "id": "1", + "contact": { + "phone": "8368476734", + "email": "abc@xyz.com" + }, + "person": { + "name": "saurabh" + } + } + ], + "end": { + "person": { + "name": "saurabh" + } + } + } + ], + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": "300" + }, + "fulfillment_ids": [ + "F2" + ], + "tags": [ + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + } + ] + } + ], + "cancellation_terms": [ + { + "cancel_eligible": "false" + } + ], + "return_terms": [ + { + "return_eligible": "false" + } + ] + } + ], + "billing": { + "name": "saurabh", + "address": { + "name": "Mangolpuri", + "building": "L-580", + "city": "Gurugram", + "state": "Haryana", + "country": "IN", + "area_code": "122050", + "locality": "Mangolpuri" + }, + "email": "saurabh.singh@hippoinnovations.com", + "phone": "8368476734", + "created_at": "2023-10-20T10:19:11.500Z", + "updated_at": "2023-10-20T10:19:11.500Z" + }, + "quote": { + "price": { + "currency": "INR", + "value": 300 + }, + "breakup": [ + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": 300 + } + }, + "title": "item", + "price": { + "currency": "INR", + "value": "300" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "convenience fee", + "price": { + "currency": "INR", + "value": "0" + } + }, + { + "item": { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9" + }, + "title": "offer", + "price": { + "currency": "INR", + "value": "-0" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "tax", + "price": { + "currency": "INR", + "value": "0" + } + } + ], + "ttl": "P1D" + }, + "payments": [ + { + "type": "ON-ORDER", + "collected_by": "BAP", + "status": "PAID", + "tags": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES" + }, + "list": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES_PERCENTAGE" + }, + "value": "3" + } + ] + }, + { + "descriptor": { + "code": "SETTLEMENT_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "settlement_type" + }, + "value": "neft" + }, + { + "descriptor": { + "code": "settlement_bank_account_no" + }, + "value": "87987551213554" + }, + { + "descriptor": { + "code": "beneficiary_name" + }, + "value": "vivek" + }, + { + "descriptor": { + "code": "bank_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "branch_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "ifsc_code" + }, + "value": "icici201" + }, + { + "descriptor": { + "code": "settlement_counterparty" + }, + "value": "BPP" + } + ] + } + ], + "params": { + "transaction_id": "TXN-FH8XmH881", + "amount": "300", + "currency": "INR" + } + } + ], + "created_at": "2023-10-20T10:19:11.500Z", + "updated_at": "2023-10-20T10:19:21.967Z", + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + } + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_confirm", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "3bc5e847-ccdf-4472-9c24-1b84387f4c48", + "timestamp": "2023-10-20T10:19:21.967Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_init.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_init.json new file mode 100644 index 0000000000..277be5908d --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_init.json @@ -0,0 +1,266 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_init", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "1084b686-18f9-431d-8199-d89b874000d3", + "timestamp": "2023-10-20T10:18:28.963Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "order": { + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL", + "customer": { + "contact": { + "phone": "+918368476734", + "email": "raman@yopmail.com" + }, + "person": { + "name": "saurabh" + } + }, + "stops": [ + { + "id": "1", + "contact": { + "phone": "8368476734", + "email": "abc@xyz.com" + }, + "person": { + "name": "saurabh" + } + } + ] + } + ], + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "fulfillment_ids": [ + "F2" + ], + "tags": [ + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + } + ] + } + ], + "price": { + "currency": "INR", + "value": 300 + }, + "cancellation_terms": { + "cancel_eligible": "false" + }, + "return_terms": { + "return_eligible": "false" + } + } + ], + "billing": { + "name": "saurabh", + "address": "Mangolpuri", + "state": { + "name": "Haryana" + }, + "city": { + "name": "Gurugram" + }, + "email": "saurabh.singh@hippoinnovations.com", + "phone": "8368476734", + "created_at": "2023-10-20T10:18:31.059Z", + "updated_at": "2023-10-20T10:18:31.059Z" + }, + "quote": { + "price": { + "currency": "INR", + "value": 300 + }, + "breakup": [ + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": 300 + } + }, + "title": "item", + "price": { + "currency": "INR", + "value": "300" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "convenience fee", + "price": { + "currency": "INR", + "value": "0" + } + }, + { + "item": { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9" + }, + "title": "offer", + "price": { + "currency": "INR", + "value": "-0" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "tax", + "price": { + "currency": "INR", + "value": "0" + } + } + ], + "ttl": "P1D" + }, + "payments": [ + { + "type": "ON-ORDER", + "collected_by": "BAP", + "status": "NOT-PAID", + "tags": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES" + }, + "list": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES_PERCENTAGE" + }, + "value": "3" + } + ] + }, + { + "descriptor": { + "code": "SETTLEMENT_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "settlement_type" + }, + "value": "neft" + }, + { + "descriptor": { + "code": "settlement_bank_account_no" + }, + "value": "87987551213554" + }, + { + "descriptor": { + "code": "beneficiary_name" + }, + "value": "vivek" + }, + { + "descriptor": { + "code": "bank_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "branch_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "ifsc_code" + }, + "value": "icici201" + }, + { + "descriptor": { + "code": "settlement_counterparty" + }, + "value": "BPP" + } + ] + } + ] + } + ], + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + } + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_init", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "1084b686-18f9-431d-8199-d89b874000d3", + "timestamp": "2023-10-20T10:18:28.963Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_select (1).json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_select (1).json new file mode 100644 index 0000000000..97d487f5fd --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_select (1).json @@ -0,0 +1,313 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_select", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "ae0ae792-3735-450e-b33f-fc5a4e044f44", + "timestamp": "2023-10-20T10:17:10.965Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "order": { + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL" + } + ], + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec", + "descriptor": { + "name": "vistar", + "symbol": "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/Vistaar-logo.png", + "short_desc": "Online Gift Card Store", + "long_desc": "Online Gift Card Store", + "images": [ + "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/Vistaar-logo.png" + ] + }, + "categories": [ + { + "id": "C1", + "descriptor": { + "code": "ONLINE" + } + } + ] + }, + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "descriptor": { + "name": "Laptop card", + "symbol": "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/brands/file_example_PNG_1MB.png", + "short_desc": "Short description.............", + "long_desc": "long description..........", + "images": [ + "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/brands/file_example_PNG_1MB.png" + ] + }, + "price": { + "currency": "INR", + "minimum_value": "50", + "maximum_value": "50000" + }, + "tags": [ + { + "descriptor": { + "code": "ITEM_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "OCCASION" + }, + "value": "OTHERS" + }, + { + "descriptor": { + "code": "USABILITY" + }, + "value": "online" + }, + { + "descriptor": { + "code": "EXPIRY_PERIOD" + }, + "value": "P1Y" + }, + { + "descriptor": { + "code": "USAGE_TERMS_CONDITION" + }, + "value": "https://ondc-prod.vistar.solutions/catalogue/catalouge/terms/14d1ae19-edf5-47f5-820c-b63f24d594d8" + } + ] + }, + { + "descriptor": { + "code": "CUSTOMIZATION" + }, + "list": [ + { + "descriptor": { + "code": "Enabled" + }, + "value": "true" + }, + { + "descriptor": { + "code": "RECEIVER_NAME" + } + }, + { + "descriptor": { + "code": "MESSAGE" + } + }, + { + "descriptor": { + "code": "PREVIEW_IMAGE" + } + } + ] + }, + { + "descriptor": { + "code": "BRAND_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "BRAND_NAME" + }, + "value": "Branded Laptops" + }, + { + "descriptor": { + "code": "BRAND_PHONE" + }, + "value": "+91 876-543-2123" + }, + { + "descriptor": { + "code": "BRAND_EMAIL" + }, + "value": "laptop@gmail.com" + } + ] + }, + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "100" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "200" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "400" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "500" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "600" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "4000" + } + ] + } + ], + "category_ids": [ + "C1" + ], + "fulfillment_ids": [ + "F2" + ], + "cancellation_terms": [ + { + "cancel_eligible": "false" + } + ], + "return_terms": [ + { + "return_eligible": "false" + } + ] + } + ], + "quote": { + "price": { + "value": "300", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + } + }, + "title": "item", + "price": { + "currency": "INR", + "value": "300" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "price": { + "currency": "INR", + "value": 0 + }, + "title": "tax" + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "price": { + "currency": "INR", + "value": 0 + }, + "title": "convenience fee" + }, + { + "item": { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9" + }, + "price": { + "currency": "INR", + "value": 0 + }, + "title": "offer" + } + ], + "ttl": "P1D" + }, + "offers": [ + { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9", + "item_ids": [ + "14d1ae19-edf5-47f5-820c-b63f24d594d8" + ] + } + ] + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_select", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "ae0ae792-3735-450e-b33f-fc5a4e044f44", + "timestamp": "2023-10-20T10:17:10.965Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_select.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_select.json new file mode 100644 index 0000000000..39d777f619 --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_select.json @@ -0,0 +1,313 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_select", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "79f9cad6-20bc-408e-996a-abaf44f0850d", + "timestamp": "2023-10-20T10:16:43.282Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "order": { + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL" + } + ], + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec", + "descriptor": { + "name": "vistar", + "symbol": "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/Vistaar-logo.png", + "short_desc": "Online Gift Card Store", + "long_desc": "Online Gift Card Store", + "images": [ + "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/Vistaar-logo.png" + ] + }, + "categories": [ + { + "id": "C1", + "descriptor": { + "code": "ONLINE" + } + } + ] + }, + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "descriptor": { + "name": "Laptop card", + "symbol": "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/brands/file_example_PNG_1MB.png", + "short_desc": "Short description.............", + "long_desc": "long description..........", + "images": [ + "https://catalogueproductfiles.s3.ap-south-1.amazonaws.com/brands/file_example_PNG_1MB.png" + ] + }, + "price": { + "currency": "INR", + "minimum_value": "50", + "maximum_value": "50000" + }, + "tags": [ + { + "descriptor": { + "code": "ITEM_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "OCCASION" + }, + "value": "OTHERS" + }, + { + "descriptor": { + "code": "USABILITY" + }, + "value": "online" + }, + { + "descriptor": { + "code": "EXPIRY_PERIOD" + }, + "value": "P1Y" + }, + { + "descriptor": { + "code": "USAGE_TERMS_CONDITION" + }, + "value": "https://ondc-prod.vistar.solutions/catalogue/catalouge/terms/14d1ae19-edf5-47f5-820c-b63f24d594d8" + } + ] + }, + { + "descriptor": { + "code": "CUSTOMIZATION" + }, + "list": [ + { + "descriptor": { + "code": "Enabled" + }, + "value": "true" + }, + { + "descriptor": { + "code": "RECEIVER_NAME" + } + }, + { + "descriptor": { + "code": "MESSAGE" + } + }, + { + "descriptor": { + "code": "PREVIEW_IMAGE" + } + } + ] + }, + { + "descriptor": { + "code": "BRAND_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "BRAND_NAME" + }, + "value": "Branded Laptops" + }, + { + "descriptor": { + "code": "BRAND_PHONE" + }, + "value": "+91 876-543-2123" + }, + { + "descriptor": { + "code": "BRAND_EMAIL" + }, + "value": "laptop@gmail.com" + } + ] + }, + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "100" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "200" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "400" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "500" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "600" + }, + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "4000" + } + ] + } + ], + "category_ids": [ + "C1" + ], + "fulfillment_ids": [ + "F2" + ], + "cancellation_terms": [ + { + "cancel_eligible": "false" + } + ], + "return_terms": [ + { + "return_eligible": "false" + } + ] + } + ], + "quote": { + "price": { + "value": "50", + "currency": "INR" + }, + "breakup": [ + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + } + }, + "title": "item", + "price": { + "currency": "INR", + "value": "50" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "price": { + "currency": "INR", + "value": 0 + }, + "title": "tax" + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "price": { + "currency": "INR", + "value": 0 + }, + "title": "convenience fee" + }, + { + "item": { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9" + }, + "price": { + "currency": "INR", + "value": 0 + }, + "title": "offer" + } + ], + "ttl": "P1D" + }, + "offers": [ + { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9", + "item_ids": [ + "14d1ae19-edf5-47f5-820c-b63f24d594d8" + ] + } + ] + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_select", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "79f9cad6-20bc-408e-996a-abaf44f0850d", + "timestamp": "2023-10-20T10:16:43.282Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_status (1).json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_status (1).json new file mode 100644 index 0000000000..65b7969ff5 --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_status (1).json @@ -0,0 +1,278 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_status", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "02215440-86cf-4269-8b8e-362e8cefb7fe", + "timestamp": "2023-10-20T10:27:30.571Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "order": { + "id": "6532541f1bd96c56b7193bf1", + "status": "COMPLETED", + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL", + "customer": { + "contact": { + "phone": "+918368476734", + "email": "raman@yopmail.com" + }, + "person": { + "name": "saurabh" + } + }, + "stops": [ + { + "id": "1", + "contact": { + "phone": "+918368476734", + "email": "100rabbh@gmail.com" + }, + "person": { + "name": "saurabh" + } + } + ] + } + ], + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + }, + "offers": [ + { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9", + "item_ids": [ + "14d1ae19-edf5-47f5-820c-b63f24d594d8" + ] + } + ], + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": "300" + }, + "fulfillment_ids": [ + "F2" + ], + "tags": [ + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + } + ] + } + ] + } + ], + "billing": { + "name": "saurabh", + "address": "Mangolpuri", + "state": { + "name": "Haryana" + }, + "city": { + "name": "Gurugram" + }, + "email": "saurabh.singh@hippoinnovations.com", + "phone": "8368476734", + "created_at": "2023-10-20T10:18:31.059Z", + "updated_at": "2023-10-20T10:18:31.059Z" + }, + "quote": { + "price": { + "currency": "INR", + "value": 300 + }, + "breakup": [ + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": 300 + } + }, + "title": "item", + "price": { + "currency": "INR", + "value": "300" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "convenience fee", + "price": { + "currency": "INR", + "value": "0" + } + }, + { + "item": { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9" + }, + "title": "offer", + "price": { + "currency": "INR", + "value": "-0" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "tax", + "price": { + "currency": "INR", + "value": "0" + } + } + ], + "ttl": "P1D" + }, + "payments": [ + { + "type": "ON-ORDER", + "collected_by": "BAP", + "status": "PAID", + "url": null, + "params": { + "currency": "INR", + "transaction_id": "TXN-FH8XmH881", + "amount": "300" + }, + "tags": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES" + }, + "list": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES_PERCENTAGE" + }, + "value": "3" + } + ] + }, + { + "descriptor": { + "code": "SETTLEMENT_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "settlement_type" + }, + "value": "neft" + }, + { + "descriptor": { + "code": "settlement_bank_account_no" + }, + "value": "87987551213554" + }, + { + "descriptor": { + "code": "beneficiary_name" + }, + "value": "vivek" + }, + { + "descriptor": { + "code": "bank_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "branch_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "ifsc_code" + }, + "value": "icici201" + }, + { + "descriptor": { + "code": "settlement_counterparty" + }, + "value": "BPP" + } + ] + } + ] + } + ], + "created_at": "2023-10-20T10:19:11.500Z", + "updated_at": "2023-10-20T10:27:30.612Z" + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_status", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "02215440-86cf-4269-8b8e-362e8cefb7fe", + "timestamp": "2023-10-20T10:27:30.571Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_status.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_status.json new file mode 100644 index 0000000000..31a70c14bd --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_status.json @@ -0,0 +1,297 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_status", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "0795e7da-66b8-48f4-a7e5-8e947ad35690", + "timestamp": "2023-10-20T10:19:24.067Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "order": { + "id": "6532541f1bd96c56b7193bf1", + "status": "ON_HOLD", + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL", + "customer": { + "contact": { + "phone": "+918368476734", + "email": "raman@yopmail.com" + }, + "person": { + "name": "saurabh" + } + }, + "stops": [ + { + "id": "1", + "contact": { + "phone": "8368476734", + "email": "abc@xyz.com" + }, + "person": { + "name": "saurabh" + } + } + ], + "tags": [ + { + "descriptor": { + "code": "UPDATE_RECEIVER_INFO" + }, + "list": [ + { + "descriptor": { + "code": "EMAIL" + } + }, + { + "descriptor": { + "code": "PHONE" + } + } + ] + } + ] + } + ], + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + }, + "offers": [ + { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9", + "item_ids": [ + "14d1ae19-edf5-47f5-820c-b63f24d594d8" + ] + } + ], + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": "300" + }, + "fulfillment_ids": [ + "F2" + ], + "tags": [ + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + } + ] + } + ] + } + ], + "billing": { + "name": "saurabh", + "address": "Mangolpuri", + "state": { + "name": "Haryana" + }, + "city": { + "name": "Gurugram" + }, + "email": "saurabh.singh@hippoinnovations.com", + "phone": "8368476734", + "created_at": "2023-10-20T10:18:31.059Z", + "updated_at": "2023-10-20T10:18:31.059Z" + }, + "quote": { + "price": { + "currency": "INR", + "value": 300 + }, + "breakup": [ + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": 300 + } + }, + "title": "item", + "price": { + "currency": "INR", + "value": "300" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "convenience fee", + "price": { + "currency": "INR", + "value": "0" + } + }, + { + "item": { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9" + }, + "title": "offer", + "price": { + "currency": "INR", + "value": "-0" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "tax", + "price": { + "currency": "INR", + "value": "0" + } + } + ], + "ttl": "P1D" + }, + "payments": [ + { + "type": "ON-ORDER", + "collected_by": "BAP", + "status": "PAID", + "url": null, + "params": { + "currency": "INR", + "transaction_id": "TXN-FH8XmH881", + "amount": "300" + }, + "tags": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES" + }, + "list": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES_PERCENTAGE" + }, + "value": "3" + } + ] + }, + { + "descriptor": { + "code": "SETTLEMENT_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "settlement_type" + }, + "value": "neft" + }, + { + "descriptor": { + "code": "settlement_bank_account_no" + }, + "value": "87987551213554" + }, + { + "descriptor": { + "code": "beneficiary_name" + }, + "value": "vivek" + }, + { + "descriptor": { + "code": "bank_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "branch_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "ifsc_code" + }, + "value": "icici201" + }, + { + "descriptor": { + "code": "settlement_counterparty" + }, + "value": "BPP" + } + ] + } + ] + } + ], + "created_at": "2023-10-20T10:19:11.500Z", + "updated_at": "2023-10-20T10:19:24.108Z" + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_status", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "0795e7da-66b8-48f4-a7e5-8e947ad35690", + "timestamp": "2023-10-20T10:19:24.067Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_update.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_update.json new file mode 100644 index 0000000000..7e2ac3bcbe --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_on_update.json @@ -0,0 +1,287 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_update", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "6c762b37-09fd-477b-b2ff-99d367df4235", + "timestamp": "2023-10-20T10:27:27.203Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "order": { + "id": "6532541f1bd96c56b7193bf1", + "status": "IN-PROGRESS", + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL", + "customer": { + "contact": { + "phone": "+918368476734", + "email": "raman@yopmail.com" + }, + "person": { + "name": "saurabh" + } + }, + "stops": [ + { + "id": "1", + "contact": { + "phone": "+918368476734", + "email": "100rabbh@gmail.com" + }, + "person": { + "name": "saurabh" + } + } + ], + "tags": [ + { + "descriptor": { + "code": "UPDATE_RECEIVER_INFO" + }, + "list": [ + { + "descriptor": { + "code": "EMAIL" + }, + "value": "abc@xyz.com" + }, + { + "descriptor": { + "code": "PHONE" + }, + "value": "+918368476734" + } + ] + } + ] + } + ], + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + }, + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "fulfillment_ids": [ + "F2" + ], + "tags": [ + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + } + ] + } + ] + } + ], + "billing": { + "name": "saurabh", + "address": "Mangolpuri", + "state": { + "name": "Haryana" + }, + "city": { + "name": "Gurugram" + }, + "email": "saurabh.singh@hippoinnovations.com", + "phone": "8368476734", + "created_at": "2023-10-20T10:18:31.059Z", + "updated_at": "2023-10-20T10:18:31.059Z" + }, + "quote": { + "price": { + "currency": "INR", + "value": 300 + }, + "breakup": [ + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "price": { + "currency": "INR", + "value": 300 + } + }, + "title": "item", + "price": { + "currency": "INR", + "value": "300" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "convenience fee", + "price": { + "currency": "INR", + "value": "0" + } + }, + { + "item": { + "id": "a4bfa4da-eb50-40b3-996d-1bd28b2e65c9" + }, + "title": "offer", + "price": { + "currency": "INR", + "value": "-0" + } + }, + { + "item": { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8" + }, + "title": "tax", + "price": { + "currency": "INR", + "value": "0" + } + } + ], + "ttl": "P1D" + }, + "payments": [ + { + "type": "ON-ORDER", + "collected_by": "BAP", + "status": "PAID", + "url": null, + "params": { + "currency": "INR", + "transaction_id": "TXN-FH8XmH881", + "amount": "300" + }, + "tags": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES" + }, + "list": [ + { + "descriptor": { + "code": "BUYER_FINDER_FEES_PERCENTAGE" + }, + "value": "3" + } + ] + }, + { + "descriptor": { + "code": "SETTLEMENT_DETAILS" + }, + "list": [ + { + "descriptor": { + "code": "settlement_type" + }, + "value": "neft" + }, + { + "descriptor": { + "code": "settlement_bank_account_no" + }, + "value": "87987551213554" + }, + { + "descriptor": { + "code": "beneficiary_name" + }, + "value": "vivek" + }, + { + "descriptor": { + "code": "bank_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "branch_name" + }, + "value": "icici" + }, + { + "descriptor": { + "code": "ifsc_code" + }, + "value": "icici201" + }, + { + "descriptor": { + "code": "settlement_counterparty" + }, + "value": "BPP" + } + ] + } + ] + } + ], + "created_at": "2023-10-20T10:18:29.067Z", + "updated_at": "2023-10-20T10:27:27.203Z" + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "on_update", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "6c762b37-09fd-477b-b2ff-99d367df4235", + "timestamp": "2023-10-20T10:27:27.203Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "ACK" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_select (1).json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_select (1).json new file mode 100644 index 0000000000..5f99d1e737 --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_select (1).json @@ -0,0 +1,94 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "action": "select", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/", + "bpp_id": "ondc.vistar.solutions", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "message_id": "ae0ae792-3735-450e-b33f-fc5a4e044f44", + "timestamp": "2023-10-20T10:17:13.032Z", + "ttl": "PT30S", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "version": "1.0.0" + }, + "message": { + "order": { + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + }, + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "fulfillment_ids": [ + "F2" + ], + "tags": [ + { + "descriptor": { + "code": "DENOMINATION" + }, + "list": [ + { + "descriptor": { + "code": "FIXED_AMOUNT" + }, + "value": "300" + } + ] + } + ] + } + ], + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL" + } + ] + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "select", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "ae0ae792-3735-450e-b33f-fc5a4e044f44", + "timestamp": "2023-10-20T10:17:10.938Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "ttl": "PT30S", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "Ack" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_select.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_select.json new file mode 100644 index 0000000000..37f9c6c465 --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_select.json @@ -0,0 +1,79 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "action": "select", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/", + "bpp_id": "ondc.vistar.solutions", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "message_id": "79f9cad6-20bc-408e-996a-abaf44f0850d", + "timestamp": "2023-10-20T10:16:44.991Z", + "ttl": "PT30S", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "version": "1.0.0" + }, + "message": { + "order": { + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec" + }, + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + }, + "fulfillment_ids": [ + "F2" + ] + } + ], + "fulfillments": [ + { + "id": "F2", + "type": "EMAIL" + } + ] + } + } + }, + "response": { + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "select", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "79f9cad6-20bc-408e-996a-abaf44f0850d", + "timestamp": "2023-10-20T10:16:43.260Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "ttl": "PT30S", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + }, + "message": { + "ack": { + "status": "Ack" + } + } + } +} \ No newline at end of file diff --git a/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_update.json b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_update.json new file mode 100644 index 0000000000..4e7e81bc6d --- /dev/null +++ b/Mystore_Gift_Card/Flow 2/544493b1-78ee-4a0b-8243-67d4452d0d41_update.json @@ -0,0 +1,113 @@ +{ + "request": { + "context": { + "domain": "ONDC:FIS10", + "action": "update", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/", + "bpp_id": "ondc.vistar.solutions", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "message_id": "6c762b37-09fd-477b-b2ff-99d367df4235", + "timestamp": "2023-10-20T10:25:51.938Z", + "ttl": "PT30S", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "version": "1.0.0" + }, + "message": { + "update_target": "FULFILLMENT_END", + "order": { + "id": "6532541f1bd96c56b7193bf1", + "status": "ON_HOLD", + "provider": { + "id": "48e5d0f1-6255-4f22-8b06-ed16951aa4ec", + "locations": [ + { + "id": "L1" + } + ] + }, + "items": [ + { + "id": "14d1ae19-edf5-47f5-820c-b63f24d594d8", + "quantity": { + "selected": { + "count": 1 + } + } + } + ], + "fulfillments": [ + { + "stops": [ + { + "id": "1", + "contact": { + "email": "abc@xyz.com", + "phone": "+918368476734" + }, + "person": { + "name": "saurabh singh" + } + } + ], + "tags": [ + { + "descriptor": { + "code": "UPDATE_RECEIVER_INFO" + }, + "list": [ + { + "descriptor": { + "code": "EMAIL" + }, + "value": "100rabbh@gmail.com" + }, + { + "descriptor": { + "code": "PHONE" + }, + "value": "+918368476734" + } + ] + } + ] + } + ] + } + } + }, + "response": { + "message": { + "status": "Ack" + }, + "context": { + "domain": "ONDC:FIS10", + "location": { + "city": { + "code": "std:080" + }, + "country": { + "code": "IND" + } + }, + "action": "update", + "bpp_uri": "https://ondc.vistar.solutions/v1/bpp", + "bpp_id": "ondc.vistar.solutions", + "version": "1.0.0", + "message_id": "6c762b37-09fd-477b-b2ff-99d367df4235", + "timestamp": "2023-10-20T10:27:27.197Z", + "transaction_id": "544493b1-78ee-4a0b-8243-67d4452d0d41", + "ttl": "PT30S", + "bap_id": "beta.mystore.in", + "bap_uri": "https://beta.mystore.in/ondc/1.0/" + } + } +} \ No newline at end of file