From bac2ba2ae2e709ae9428f7e85d8cf09f228bf663 Mon Sep 17 00:00:00 2001 From: Anuj Sharma Date: Fri, 6 Mar 2026 12:19:11 +0530 Subject: [PATCH] feat: added technical cancellation flow --- api/build/build.yaml | 1053 ++++++++++++++++- .../docs/changeLog/TRV10_2.1.0_030924.md | 5 +- .../cancel/cancel_request_confirm_cancel.yaml | 23 + .../cancel/cancel_request_soft_cancel.yaml | 23 + .../on_cancel_request_confirm_cancel.yaml | 281 +++++ .../on_cancel_request_soft_cancel.yaml | 281 +++++ .../on_status_request_technical_cancel_1.yaml | 268 +++++ .../status_request_technical_cancel_1.yaml | 19 + api/components/flows/index.yaml | 1 + .../index.yaml | 161 +++ ui/build.js | 2 +- 11 files changed, 2114 insertions(+), 3 deletions(-) create mode 100644 api/components/examples/on-demand/cancel/cancel_request_confirm_cancel.yaml create mode 100644 api/components/examples/on-demand/cancel/cancel_request_soft_cancel.yaml create mode 100644 api/components/examples/on-demand/on_cancel/on_cancel_request_confirm_cancel.yaml create mode 100644 api/components/examples/on-demand/on_cancel/on_cancel_request_soft_cancel.yaml create mode 100644 api/components/examples/on-demand/on_status/on_status_request_technical_cancel_1.yaml create mode 100644 api/components/examples/on-demand/status/status_request_technical_cancel_1.yaml create mode 100644 api/components/flows/on_demand_technical_cancellation/index.yaml diff --git a/api/build/build.yaml b/api/build/build.yaml index 14616590..1e4fdf8e 100644 --- a/api/build/build.yaml +++ b/api/build/build.yaml @@ -1384,7 +1384,7 @@ components: - application/xml resubmit: type: boolean - multiple_sumbissions: + multiple_submissions: type: boolean Fulfillment: description: Describes how a an order will be rendered/fulfilled to the end-customer @@ -16636,6 +16636,1057 @@ x-flows: - descriptor: code: SETTLEMENT_AMOUNT value: '85' + - summary: On-Demand - Technical Cancellation Flow + details: + - description: Detailed process of cancelling a ride with soft & confirm status. + mermaid: |- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm + Buyer Platform (BAP)-->>Seller Platform (BPP): NACK + Buyer Platform (BAP)->>Seller Platform (BPP): status + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + Seller Platform (BPP)->>Buyer Platform (BAP):on_status + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + steps: + - summary: Provider confirms the request + api: on_confirm + details: + - description: >- + The provider has confirmed the request, but the buyer app received + the request after the TTL had expired. + mermaid: |- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + rect rgb(191, 223, 255) + Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm + Buyer Platform (BAP)-->>Seller Platform (BPP): NACK + end + Buyer Platform (BAP)->>Seller Platform (BPP): status + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + Seller Platform (BPP)->>Buyer Platform (BAP):on_status + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + example: + value: *ref_44 + - summary: Buyer app request for latest order status + api: status + details: + - description: Buyer app request for latest order status + mermaid: |- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm + Buyer Platform (BAP)-->>Seller Platform (BPP): NACK + rect rgb(191, 223, 255) + Buyer Platform (BAP)->>Seller Platform (BPP): status + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + end + Seller Platform (BPP)->>Buyer Platform (BAP):on_status + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + example: + value: + context: + action: status + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: example-bpp.com + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2 + timestamp: '2023-03-23T04:48:53Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 + message: + ref_id: 870782be-6757-43f1-945c-8eeaf9536259 + - summary: Provider sends the latest order status + api: on_status + details: + - description: Provider sends the latest order status + mermaid: |- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm + Buyer Platform (BAP)-->>Seller Platform (BPP): NACK + Buyer Platform (BAP)->>Seller Platform (BPP): status + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + rect rgb(191, 223, 255) + Seller Platform (BPP)->>Buyer Platform (BAP):on_status + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + end + reference: if any + example: + value: + context: + action: on_status + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: example-bpp.com + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8926b747-0362-4fcc-b795-0994a6287700 + timestamp: '2023-12-10T08:03:34.294Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 + message: + order: + cancellation_terms: + - cancellation_fee: + percentage: '0' + fulfillment_state: + descriptor: + code: RIDE_ASSIGNED + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '30' + fulfillment_state: + descriptor: + code: RIDE_ENROUTE_PICKUP + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '50' + fulfillment_state: + descriptor: + code: RIDE_ARRIVED_PICKUP + reason_required: true + - cancellation_fee: + percentage: '100' + fulfillment_state: + descriptor: + code: RIDE_STARTED + reason_required: true + fulfillments: + - agent: + contact: + phone: '9856798567' + person: + name: Jason Roy + customer: + contact: + phone: '9876556789' + person: + name: Joe Adams + id: F1 + state: + descriptor: + code: RIDE_ASSIGNED + stops: + - authorization: + token: '234234' + type: OTP + valid_to: '2023-12-10T08:05:34.294Z' + status: UNCLAIMED + location: + gps: 13.008935, 77.644408 + type: START + instructions: + short_desc: short description of the location + long_desc: long description of the location + - location: + gps: 12.971186, 77.586812 + type: END + tags: + - descriptor: + code: ROUTE_INFO + name: Route Information + display: true + list: + - descriptor: + code: ENCODED_POLYLINE + name: Path + value: _p~iF~ps|U_ulLnnqC_mqNvxq`@ + - descriptor: + code: WAYPOINTS + name: Waypoints + value: >- + [{"gps":"12.909982, + 77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982, + 77.611822"}] + type: DELIVERY + vehicle: + category: AUTO_RICKSHAW + variant: AUTO_RICKSHAW + make: Bajaj + model: Compact RE + registration: KA-01-AD-9876 + id: O1 + items: + - descriptor: + code: RIDE + name: Auto Ride + category_ids: + - C1 + fulfillment_ids: + - F1 + id: I1 + location_ids: + - L1 + - L3 + payment_ids: + - PA1 + price: + currency: INR + maximum_value: '176' + minimum_value: '136' + value: '146' + tags: + - descriptor: + code: FARE_POLICY + name: Daytime Charges + display: true + list: + - descriptor: + code: MIN_FARE + value: '30' + - descriptor: + code: MIN_FARE_DISTANCE_KM + value: '2' + - descriptor: + code: PER_KM_CHARGE + value: '15' + - descriptor: + code: PICKUP_CHARGE + value: '10' + - descriptor: + code: WAITING_CHARGE_PER_MIN + value: '2' + - descriptor: + code: NIGHT_CHARGE_MULTIPLIER + value: '1.5' + - descriptor: + code: NIGHT_SHIFT_START_TIME + value: '22:00:00' + - descriptor: + code: NIGHT_SHIFT_END_TIME + value: '05:00:00' + - descriptor: + code: INFO + name: General Information + display: true + list: + - descriptor: + code: DISTANCE_TO_NEAREST_DRIVER_METER + value: '661' + - descriptor: + code: ETA_TO_NEAREST_DRIVER_MIN + value: '3' + - descriptor: + code: FEATURE_LIST + name: Feature list + list: + - value: NON_AC + - value: LOW_PRICE + - value: DOORSTEP_PICK_UP + payments: + - collected_by: BPP + id: PA1 + status: NOT-PAID + type: ON-FULFILLMENT + provider: + id: P1 + quote: + breakup: + - price: + currency: INR + value: '30' + title: BASE_FARE + - price: + currency: INR + value: '116' + title: DISTANCE_FARE + price: + currency: INR + value: '146' + ttl: PT30S + status: ACTIVE + created_at: '2023-12-10T08:03:34.294Z' + updated_at: '2023-12-10T08:03:34.294Z' + tags: + - descriptor: + name: BAP Terms of Engagement + code: BAP_TERMS + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: SETTLEMENT_WINDOW + value: PT60M + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: STATIC_TERMS + value: https://example-test-bap.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' + - descriptor: + code: SETTLEMENT_BANK_CODE + value: XXXXXXXX + - descriptor: + code: SETTLEMENT_BANK_ACCOUNT_NUMBER + value: xxxxxxxxxxxxxx + - descriptor: + code: SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS + value: 9988199772@okicic + - descriptor: + code: BPP_TERMS + name: BPP Terms of Engagement + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: SETTLEMENT_WINDOW + value: P2D + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: STATIC_TERMS + value: https://example-test-bpp.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' + - summary: Buyer app cancels the request for ride + api: cancel + details: + - description: Buyer app requests for cancellation of ride. + mermaid: |- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + rect rgb(191, 223, 255) + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + end + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + example: + value: + context: + action: cancel + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: >- + api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8bbe4998-6243-4ce6-9859-c0f21c06d3db + timestamp: '2023-03-23T05:15:08Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 + message: + cancellation_reason_id: '000' + descriptor: + code: SOFT_CANCEL + name: Ride Cancellation + order_id: O1 + - summary: Provider accepts/appends the terms of cancellation + api: on_cancel + details: + - description: >- + Provider accepts the terms of order and appends its own terms and + provides with latest order update. + mermaid: |- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + rect rgb(191, 223, 255) + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + end + reference: if any + example: + value: + context: + action: on_cancel + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: example-bpp.com + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8926b747-0362-4fcc-b795-0994a6287700 + timestamp: '2023-12-10T08:03:34.294Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 + message: + order: + cancellation_terms: + - cancellation_fee: + percentage: '0' + fulfillment_state: + descriptor: + code: RIDE_ASSIGNED + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '30' + fulfillment_state: + descriptor: + code: RIDE_ENROUTE_PICKUP + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '50' + fulfillment_state: + descriptor: + code: RIDE_ARRIVED_PICKUP + reason_required: true + - cancellation_fee: + percentage: '100' + fulfillment_state: + descriptor: + code: RIDE_STARTED + reason_required: true + fulfillments: + - agent: + contact: + phone: '9856798567' + person: + name: Jason Roy + customer: + contact: + phone: '9876556789' + person: + name: Joe Adams + id: F1 + state: + descriptor: + code: RIDE_ASSIGNED + stops: + - authorization: + token: '234234' + type: OTP + valid_to: '2023-12-10T08:05:34.294Z' + status: UNCLAIMED + location: + gps: 13.008935, 77.644408 + type: START + instructions: + short_desc: short description of the location + long_desc: long description of the location + - location: + gps: 12.971186, 77.586812 + type: END + tags: + - descriptor: + code: ROUTE_INFO + name: Route Information + display: true + list: + - descriptor: + code: ENCODED_POLYLINE + name: Path + value: _p~iF~ps|U_ulLnnqC_mqNvxq`@ + - descriptor: + code: WAYPOINTS + name: Waypoints + value: >- + [{"gps":"12.909982, + 77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982, + 77.611822"}] + type: DELIVERY + vehicle: + category: AUTO_RICKSHAW + variant: AUTO_RICKSHAW + make: Bajaj + model: Compact RE + registration: KA-01-AD-9876 + id: O1 + items: + - descriptor: + code: RIDE + name: Auto Ride + category_ids: + - C1 + fulfillment_ids: + - F1 + id: I1 + location_ids: + - L1 + - L3 + payment_ids: + - PA1 + price: + currency: INR + maximum_value: '176' + minimum_value: '136' + value: '146' + tags: + - descriptor: + code: FARE_POLICY + name: Daytime Charges + display: true + list: + - descriptor: + code: MIN_FARE + value: '30' + - descriptor: + code: MIN_FARE_DISTANCE_KM + value: '2' + - descriptor: + code: PER_KM_CHARGE + value: '15' + - descriptor: + code: PICKUP_CHARGE + value: '10' + - descriptor: + code: WAITING_CHARGE_PER_MIN + value: '2' + - descriptor: + code: NIGHT_CHARGE_MULTIPLIER + value: '1.5' + - descriptor: + code: NIGHT_SHIFT_START_TIME + value: '22:00:00' + - descriptor: + code: NIGHT_SHIFT_END_TIME + value: '05:00:00' + - descriptor: + code: INFO + name: General Information + display: true + list: + - descriptor: + code: DISTANCE_TO_NEAREST_DRIVER_METER + value: '661' + - descriptor: + code: ETA_TO_NEAREST_DRIVER_MIN + value: '3' + - descriptor: + code: FEATURE_LIST + name: Feature list + list: + - value: NON_AC + - value: LOW_PRICE + - value: DOORSTEP_PICK_UP + payments: + - collected_by: BPP + id: PA1 + status: NOT-PAID + type: ON-FULFILLMENT + provider: + id: P1 + quote: + breakup: + - price: + currency: INR + value: '30' + title: BASE_FARE + - price: + currency: INR + value: '116' + title: DISTANCE_FARE + - price: + currency: INR + value: '10' + title: CANCELLATION_CHARGES + - price: + currency: INR + value: '-146' + title: REFUND + price: + currency: INR + value: '10' + ttl: PT30S + status: SOFT_CANCEL + cancellation: + cancelled_by: CONSUMER + reason: + descriptor: + code: '000' + created_at: '2023-12-10T08:03:34.294Z' + updated_at: '2023-12-10T08:03:34.294Z' + tags: + - descriptor: + name: BAP Terms of Engagement + code: BAP_TERMS + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: SETTLEMENT_WINDOW + value: PT60M + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: STATIC_TERMS + value: https://example-test-bap.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' + - descriptor: + code: SETTLEMENT_BANK_CODE + value: XXXXXXXX + - descriptor: + code: SETTLEMENT_BANK_ACCOUNT_NUMBER + value: xxxxxxxxxxxxxx + - descriptor: + code: SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS + value: 9988199772@okicic + - descriptor: + code: BPP_TERMS + name: BPP Terms of Engagement + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: SETTLEMENT_WINDOW + value: P2D + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: STATIC_TERMS + value: https://example-test-bpp.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' + - summary: Buyer app confirms the cancel request for ride + api: cancel + details: + - description: Buyer app give the confirmation to cancel the ride. + mermaid: |- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + rect rgb(191, 223, 255) + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + end + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + example: + value: + context: + action: cancel + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: >- + api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8bbe4998-6243-4ce6-9859-c0f21c06d3db + timestamp: '2023-03-23T05:15:08Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 + message: + cancellation_reason_id: '000' + descriptor: + code: CONFIRM_CANCEL + name: Ride Cancellation + order_id: O1 + - summary: Provider accepts the terms of cancellation + api: on_cancel + details: + - description: >- + Provider accepts the terms of order and provides with latest order + update. + mermaid: |- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + rect rgb(191, 223, 255) + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + end + reference: if any + example: + value: + context: + action: on_cancel + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: example-bpp.com + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8926b747-0362-4fcc-b795-0994a6287700 + timestamp: '2023-12-10T08:03:34.294Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 + message: + order: + cancellation_terms: + - cancellation_fee: + percentage: '0' + fulfillment_state: + descriptor: + code: RIDE_ASSIGNED + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '30' + fulfillment_state: + descriptor: + code: RIDE_ENROUTE_PICKUP + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '50' + fulfillment_state: + descriptor: + code: RIDE_ARRIVED_PICKUP + reason_required: true + - cancellation_fee: + percentage: '100' + fulfillment_state: + descriptor: + code: RIDE_STARTED + reason_required: true + fulfillments: + - agent: + contact: + phone: '9856798567' + person: + name: Jason Roy + customer: + contact: + phone: '9876556789' + person: + name: Joe Adams + id: F1 + state: + descriptor: + code: RIDE_CANCELLED + stops: + - authorization: + token: '234234' + type: OTP + valid_to: '2023-12-10T08:05:34.294Z' + status: UNCLAIMED + location: + gps: 13.008935, 77.644408 + type: START + instructions: + short_desc: short description of the location + long_desc: long description of the location + - location: + gps: 12.971186, 77.586812 + type: END + tags: + - descriptor: + code: ROUTE_INFO + name: Route Information + display: true + list: + - descriptor: + code: ENCODED_POLYLINE + name: Path + value: _p~iF~ps|U_ulLnnqC_mqNvxq`@ + - descriptor: + code: WAYPOINTS + name: Waypoints + value: >- + [{"gps":"12.909982, + 77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982, + 77.611822"}] + type: DELIVERY + vehicle: + category: AUTO_RICKSHAW + variant: AUTO_RICKSHAW + make: Bajaj + model: Compact RE + registration: KA-01-AD-9876 + id: O1 + items: + - descriptor: + code: RIDE + name: Auto Ride + category_ids: + - C1 + fulfillment_ids: + - F1 + id: I1 + location_ids: + - L1 + - L3 + payment_ids: + - PA1 + price: + currency: INR + maximum_value: '176' + minimum_value: '136' + value: '146' + tags: + - descriptor: + code: FARE_POLICY + name: Daytime Charges + display: true + list: + - descriptor: + code: MIN_FARE + value: '30' + - descriptor: + code: MIN_FARE_DISTANCE_KM + value: '2' + - descriptor: + code: PER_KM_CHARGE + value: '15' + - descriptor: + code: PICKUP_CHARGE + value: '10' + - descriptor: + code: WAITING_CHARGE_PER_MIN + value: '2' + - descriptor: + code: NIGHT_CHARGE_MULTIPLIER + value: '1.5' + - descriptor: + code: NIGHT_SHIFT_START_TIME + value: '22:00:00' + - descriptor: + code: NIGHT_SHIFT_END_TIME + value: '05:00:00' + - descriptor: + code: INFO + name: General Information + display: true + list: + - descriptor: + code: DISTANCE_TO_NEAREST_DRIVER_METER + value: '661' + - descriptor: + code: ETA_TO_NEAREST_DRIVER_MIN + value: '3' + - descriptor: + code: FEATURE_LIST + name: Feature list + list: + - value: NON_AC + - value: LOW_PRICE + - value: DOORSTEP_PICK_UP + payments: + - collected_by: BPP + id: PA1 + status: NOT-PAID + type: ON-FULFILLMENT + provider: + id: P1 + quote: + breakup: + - price: + currency: INR + value: '30' + title: BASE_FARE + - price: + currency: INR + value: '116' + title: DISTANCE_FARE + - price: + currency: INR + value: '10' + title: CANCELLATION_CHARGES + - price: + currency: INR + value: '-146' + title: REFUND + price: + currency: INR + value: '10' + ttl: PT30S + status: CANCELLED + cancellation: + cancelled_by: CONSUMER + reason: + descriptor: + code: '000' + created_at: '2023-12-10T08:03:34.294Z' + updated_at: '2023-12-10T08:03:34.294Z' + tags: + - descriptor: + name: BAP Terms of Engagement + code: BAP_TERMS + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: SETTLEMENT_WINDOW + value: PT60M + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: STATIC_TERMS + value: https://example-test-bap.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' + - descriptor: + code: SETTLEMENT_BANK_CODE + value: XXXXXXXX + - descriptor: + code: SETTLEMENT_BANK_ACCOUNT_NUMBER + value: xxxxxxxxxxxxxx + - descriptor: + code: SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS + value: 9988199772@okicic + - descriptor: + code: BPP_TERMS + name: BPP Terms of Engagement + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: SETTLEMENT_WINDOW + value: P2D + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: STATIC_TERMS + value: https://example-test-bpp.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' - summary: Driver not found on on_confirm references: if any details: diff --git a/api/components/docs/changeLog/TRV10_2.1.0_030924.md b/api/components/docs/changeLog/TRV10_2.1.0_030924.md index 022931df..3819d80f 100644 --- a/api/components/docs/changeLog/TRV10_2.1.0_030924.md +++ b/api/components/docs/changeLog/TRV10_2.1.0_030924.md @@ -58,7 +58,7 @@ - Added end location in search call for Purple Tags flow. - Updated `payments.collected_by` for Ride cancellation by Driver Flow -****1s Dec 2025**** +****1st Dec 2025**** - Added a new flow for `Female Driver` with optional customer and agent gender fields. ``` "fulfillment": { @@ -75,5 +75,8 @@ } ``` +****6th March 2026**** + - Added On-Demand - Technical Cancellation Flow + diff --git a/api/components/examples/on-demand/cancel/cancel_request_confirm_cancel.yaml b/api/components/examples/on-demand/cancel/cancel_request_confirm_cancel.yaml new file mode 100644 index 00000000..6a92f4f7 --- /dev/null +++ b/api/components/examples/on-demand/cancel/cancel_request_confirm_cancel.yaml @@ -0,0 +1,23 @@ +context: + action: cancel + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8bbe4998-6243-4ce6-9859-c0f21c06d3db + timestamp: '2023-03-23T05:15:08Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 +message: + cancellation_reason_id: '000' + descriptor: + code: CONFIRM_CANCEL + name: Ride Cancellation + order_id: O1 \ No newline at end of file diff --git a/api/components/examples/on-demand/cancel/cancel_request_soft_cancel.yaml b/api/components/examples/on-demand/cancel/cancel_request_soft_cancel.yaml new file mode 100644 index 00000000..6f7f035c --- /dev/null +++ b/api/components/examples/on-demand/cancel/cancel_request_soft_cancel.yaml @@ -0,0 +1,23 @@ +context: + action: cancel + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8bbe4998-6243-4ce6-9859-c0f21c06d3db + timestamp: '2023-03-23T05:15:08Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 +message: + cancellation_reason_id: '000' + descriptor: + code: SOFT_CANCEL + name: Ride Cancellation + order_id: O1 \ No newline at end of file diff --git a/api/components/examples/on-demand/on_cancel/on_cancel_request_confirm_cancel.yaml b/api/components/examples/on-demand/on_cancel/on_cancel_request_confirm_cancel.yaml new file mode 100644 index 00000000..7b22c890 --- /dev/null +++ b/api/components/examples/on-demand/on_cancel/on_cancel_request_confirm_cancel.yaml @@ -0,0 +1,281 @@ +context: + action: on_cancel + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: example-bpp.com + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8926b747-0362-4fcc-b795-0994a6287700 + timestamp: '2023-12-10T08:03:34.294Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 +message: + order: + cancellation_terms: + - cancellation_fee: + percentage: '0' + fulfillment_state: + descriptor: + code: RIDE_ASSIGNED + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '30' + fulfillment_state: + descriptor: + code: RIDE_ENROUTE_PICKUP + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '50' + fulfillment_state: + descriptor: + code: RIDE_ARRIVED_PICKUP + reason_required: true + - cancellation_fee: + percentage: '100' + fulfillment_state: + descriptor: + code: RIDE_STARTED + reason_required: true + fulfillments: + - agent: + contact: + phone: '9856798567' + person: + name: Jason Roy + customer: + contact: + phone: '9876556789' + person: + name: Joe Adams + id: F1 + state: + descriptor: + code: RIDE_CANCELLED + stops: + - authorization: + token: '234234' + type: OTP + valid_to: '2023-12-10T08:05:34.294Z' + status: UNCLAIMED + location: + gps: 13.008935, 77.644408 + type: START + instructions: + short_desc: short description of the location + long_desc: long description of the location + - location: + gps: 12.971186, 77.586812 + type: END + tags: + - descriptor: + code: ROUTE_INFO + name: Route Information + display: true + list: + - descriptor: + code: ENCODED_POLYLINE + name: Path + value: _p~iF~ps|U_ulLnnqC_mqNvxq`@ + - descriptor: + code: WAYPOINTS + name: Waypoints + value: >- + [{"gps":"12.909982, + 77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982, + 77.611822"}] + type: DELIVERY + vehicle: + category: AUTO_RICKSHAW + variant: AUTO_RICKSHAW + make: Bajaj + model: Compact RE + registration: KA-01-AD-9876 + id: O1 + items: + - descriptor: + code: RIDE + name: Auto Ride + category_ids: + - 'C1' + fulfillment_ids: + - F1 + id: I1 + location_ids: + - L1 + - L3 + payment_ids: + - PA1 + price: + currency: INR + maximum_value: '176' + minimum_value: '136' + value: '146' + tags: + - descriptor: + code: FARE_POLICY + name: Daytime Charges + display: true + list: + - descriptor: + code: MIN_FARE + value: '30' + - descriptor: + code: MIN_FARE_DISTANCE_KM + value: '2' + - descriptor: + code: PER_KM_CHARGE + value: '15' + - descriptor: + code: PICKUP_CHARGE + value: '10' + - descriptor: + code: WAITING_CHARGE_PER_MIN + value: '2' + - descriptor: + code: NIGHT_CHARGE_MULTIPLIER + value: '1.5' + - descriptor: + code: NIGHT_SHIFT_START_TIME + value: '22:00:00' + - descriptor: + code: NIGHT_SHIFT_END_TIME + value: '05:00:00' + - descriptor: + code: INFO + name: General Information + display: true + list: + - descriptor: + code: DISTANCE_TO_NEAREST_DRIVER_METER + value: '661' + - descriptor: + code: ETA_TO_NEAREST_DRIVER_MIN + value: '3' + - descriptor: + code: FEATURE_LIST + name: Feature list + list: + - value: NON_AC + - value: LOW_PRICE + - value: DOORSTEP_PICK_UP + payments: + - collected_by: BPP + id: PA1 + status: NOT-PAID + type: ON-FULFILLMENT + provider: + id: P1 + quote: + breakup: + - price: + currency: INR + value: '30' + title: BASE_FARE + - price: + currency: INR + value: '116' + title: DISTANCE_FARE + - price: + currency: INR + value: '10' + title: CANCELLATION_CHARGES + - price: + currency: INR + value: '-146' + title: REFUND + price: + currency: INR + value: '10' + ttl: PT30S + status: CANCELLED + cancellation: + cancelled_by: CONSUMER + reason: + descriptor: + code: "000" + created_at: '2023-12-10T08:03:34.294Z' + updated_at: '2023-12-10T08:03:34.294Z' + tags: + - descriptor: + name: BAP Terms of Engagement + code: BAP_TERMS + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: SETTLEMENT_WINDOW + value: PT60M + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: STATIC_TERMS + value: https://example-test-bap.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' + - descriptor: + code: SETTLEMENT_BANK_CODE + value: 'XXXXXXXX' + - descriptor: + code: SETTLEMENT_BANK_ACCOUNT_NUMBER + value: 'xxxxxxxxxxxxxx' + - descriptor: + code: SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS + value: '9988199772@okicic' + - descriptor: + code: BPP_TERMS + name: BPP Terms of Engagement + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: SETTLEMENT_WINDOW + value: P2D + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: STATIC_TERMS + value: https://example-test-bpp.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' \ No newline at end of file diff --git a/api/components/examples/on-demand/on_cancel/on_cancel_request_soft_cancel.yaml b/api/components/examples/on-demand/on_cancel/on_cancel_request_soft_cancel.yaml new file mode 100644 index 00000000..4e1c25d2 --- /dev/null +++ b/api/components/examples/on-demand/on_cancel/on_cancel_request_soft_cancel.yaml @@ -0,0 +1,281 @@ +context: + action: on_cancel + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: example-bpp.com + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8926b747-0362-4fcc-b795-0994a6287700 + timestamp: '2023-12-10T08:03:34.294Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 +message: + order: + cancellation_terms: + - cancellation_fee: + percentage: '0' + fulfillment_state: + descriptor: + code: RIDE_ASSIGNED + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '30' + fulfillment_state: + descriptor: + code: RIDE_ENROUTE_PICKUP + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '50' + fulfillment_state: + descriptor: + code: RIDE_ARRIVED_PICKUP + reason_required: true + - cancellation_fee: + percentage: '100' + fulfillment_state: + descriptor: + code: RIDE_STARTED + reason_required: true + fulfillments: + - agent: + contact: + phone: '9856798567' + person: + name: Jason Roy + customer: + contact: + phone: '9876556789' + person: + name: Joe Adams + id: F1 + state: + descriptor: + code: RIDE_ASSIGNED + stops: + - authorization: + token: '234234' + type: OTP + valid_to: '2023-12-10T08:05:34.294Z' + status: UNCLAIMED + location: + gps: 13.008935, 77.644408 + type: START + instructions: + short_desc: short description of the location + long_desc: long description of the location + - location: + gps: 12.971186, 77.586812 + type: END + tags: + - descriptor: + code: ROUTE_INFO + name: Route Information + display: true + list: + - descriptor: + code: ENCODED_POLYLINE + name: Path + value: _p~iF~ps|U_ulLnnqC_mqNvxq`@ + - descriptor: + code: WAYPOINTS + name: Waypoints + value: >- + [{"gps":"12.909982, + 77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982, + 77.611822"}] + type: DELIVERY + vehicle: + category: AUTO_RICKSHAW + variant: AUTO_RICKSHAW + make: Bajaj + model: Compact RE + registration: KA-01-AD-9876 + id: O1 + items: + - descriptor: + code: RIDE + name: Auto Ride + category_ids: + - 'C1' + fulfillment_ids: + - F1 + id: I1 + location_ids: + - L1 + - L3 + payment_ids: + - PA1 + price: + currency: INR + maximum_value: '176' + minimum_value: '136' + value: '146' + tags: + - descriptor: + code: FARE_POLICY + name: Daytime Charges + display: true + list: + - descriptor: + code: MIN_FARE + value: '30' + - descriptor: + code: MIN_FARE_DISTANCE_KM + value: '2' + - descriptor: + code: PER_KM_CHARGE + value: '15' + - descriptor: + code: PICKUP_CHARGE + value: '10' + - descriptor: + code: WAITING_CHARGE_PER_MIN + value: '2' + - descriptor: + code: NIGHT_CHARGE_MULTIPLIER + value: '1.5' + - descriptor: + code: NIGHT_SHIFT_START_TIME + value: '22:00:00' + - descriptor: + code: NIGHT_SHIFT_END_TIME + value: '05:00:00' + - descriptor: + code: INFO + name: General Information + display: true + list: + - descriptor: + code: DISTANCE_TO_NEAREST_DRIVER_METER + value: '661' + - descriptor: + code: ETA_TO_NEAREST_DRIVER_MIN + value: '3' + - descriptor: + code: FEATURE_LIST + name: Feature list + list: + - value: NON_AC + - value: LOW_PRICE + - value: DOORSTEP_PICK_UP + payments: + - collected_by: BPP + id: PA1 + status: NOT-PAID + type: ON-FULFILLMENT + provider: + id: P1 + quote: + breakup: + - price: + currency: INR + value: '30' + title: BASE_FARE + - price: + currency: INR + value: '116' + title: DISTANCE_FARE + - price: + currency: INR + value: '10' + title: CANCELLATION_CHARGES + - price: + currency: INR + value: '-146' + title: REFUND + price: + currency: INR + value: '10' + ttl: PT30S + status: SOFT_CANCEL + cancellation: + cancelled_by: CONSUMER + reason: + descriptor: + code: "000" + created_at: '2023-12-10T08:03:34.294Z' + updated_at: '2023-12-10T08:03:34.294Z' + tags: + - descriptor: + name: BAP Terms of Engagement + code: BAP_TERMS + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: SETTLEMENT_WINDOW + value: PT60M + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: STATIC_TERMS + value: https://example-test-bap.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' + - descriptor: + code: SETTLEMENT_BANK_CODE + value: 'XXXXXXXX' + - descriptor: + code: SETTLEMENT_BANK_ACCOUNT_NUMBER + value: 'xxxxxxxxxxxxxx' + - descriptor: + code: SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS + value: '9988199772@okicic' + - descriptor: + code: BPP_TERMS + name: BPP Terms of Engagement + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: SETTLEMENT_WINDOW + value: P2D + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: STATIC_TERMS + value: https://example-test-bpp.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' \ No newline at end of file diff --git a/api/components/examples/on-demand/on_status/on_status_request_technical_cancel_1.yaml b/api/components/examples/on-demand/on_status/on_status_request_technical_cancel_1.yaml new file mode 100644 index 00000000..a011edf4 --- /dev/null +++ b/api/components/examples/on-demand/on_status/on_status_request_technical_cancel_1.yaml @@ -0,0 +1,268 @@ +context: + action: on_status + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: example-bpp.com + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: 8926b747-0362-4fcc-b795-0994a6287700 + timestamp: '2023-12-10T08:03:34.294Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 +message: + order: + cancellation_terms: + - cancellation_fee: + percentage: '0' + fulfillment_state: + descriptor: + code: RIDE_ASSIGNED + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '30' + fulfillment_state: + descriptor: + code: RIDE_ENROUTE_PICKUP + reason_required: true + - cancellation_fee: + amount: + currency: INR + value: '50' + fulfillment_state: + descriptor: + code: RIDE_ARRIVED_PICKUP + reason_required: true + - cancellation_fee: + percentage: '100' + fulfillment_state: + descriptor: + code: RIDE_STARTED + reason_required: true + fulfillments: + - agent: + contact: + phone: '9856798567' + person: + name: Jason Roy + customer: + contact: + phone: '9876556789' + person: + name: Joe Adams + id: F1 + state: + descriptor: + code: RIDE_ASSIGNED + stops: + - authorization: + token: '234234' + type: OTP + valid_to: '2023-12-10T08:05:34.294Z' + status: UNCLAIMED + location: + gps: 13.008935, 77.644408 + type: START + instructions: + short_desc: short description of the location + long_desc: long description of the location + - location: + gps: 12.971186, 77.586812 + type: END + tags: + - descriptor: + code: ROUTE_INFO + name: Route Information + display: true + list: + - descriptor: + code: ENCODED_POLYLINE + name: Path + value: _p~iF~ps|U_ulLnnqC_mqNvxq`@ + - descriptor: + code: WAYPOINTS + name: Waypoints + value: >- + [{"gps":"12.909982, + 77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982,77.611822"},{"gps":"12.909982, + 77.611822"}] + type: DELIVERY + vehicle: + category: AUTO_RICKSHAW + variant: AUTO_RICKSHAW + make: Bajaj + model: Compact RE + registration: KA-01-AD-9876 + id: O1 + items: + - descriptor: + code: RIDE + name: Auto Ride + category_ids: + - 'C1' + fulfillment_ids: + - F1 + id: I1 + location_ids: + - L1 + - L3 + payment_ids: + - PA1 + price: + currency: INR + maximum_value: '176' + minimum_value: '136' + value: '146' + tags: + - descriptor: + code: FARE_POLICY + name: Daytime Charges + display: true + list: + - descriptor: + code: MIN_FARE + value: '30' + - descriptor: + code: MIN_FARE_DISTANCE_KM + value: '2' + - descriptor: + code: PER_KM_CHARGE + value: '15' + - descriptor: + code: PICKUP_CHARGE + value: '10' + - descriptor: + code: WAITING_CHARGE_PER_MIN + value: '2' + - descriptor: + code: NIGHT_CHARGE_MULTIPLIER + value: '1.5' + - descriptor: + code: NIGHT_SHIFT_START_TIME + value: '22:00:00' + - descriptor: + code: NIGHT_SHIFT_END_TIME + value: '05:00:00' + - descriptor: + code: INFO + name: General Information + display: true + list: + - descriptor: + code: DISTANCE_TO_NEAREST_DRIVER_METER + value: '661' + - descriptor: + code: ETA_TO_NEAREST_DRIVER_MIN + value: '3' + - descriptor: + code: FEATURE_LIST + name: Feature list + list: + - value: NON_AC + - value: LOW_PRICE + - value: DOORSTEP_PICK_UP + payments: + - collected_by: BPP + id: PA1 + status: NOT-PAID + type: ON-FULFILLMENT + provider: + id: P1 + quote: + breakup: + - price: + currency: INR + value: '30' + title: BASE_FARE + - price: + currency: INR + value: '116' + title: DISTANCE_FARE + price: + currency: INR + value: '146' + ttl: PT30S + status: ACTIVE + created_at: '2023-12-10T08:03:34.294Z' + updated_at: '2023-12-10T08:03:34.294Z' + tags: + - descriptor: + name: BAP Terms of Engagement + code: BAP_TERMS + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: SETTLEMENT_WINDOW + value: PT60M + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: STATIC_TERMS + value: https://example-test-bap.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' + - descriptor: + code: SETTLEMENT_BANK_CODE + value: 'XXXXXXXX' + - descriptor: + code: SETTLEMENT_BANK_ACCOUNT_NUMBER + value: 'xxxxxxxxxxxxxx' + - descriptor: + code: SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS + value: '9988199772@okicic' + - descriptor: + code: BPP_TERMS + name: BPP Terms of Engagement + display: false + list: + - descriptor: + code: BUYER_FINDER_FEES_PERCENTAGE + value: '1' + - descriptor: + code: DELAY_INTEREST + value: '5' + - descriptor: + code: SETTLEMENT_TYPE + value: UPI + - descriptor: + code: SETTLEMENT_WINDOW + value: P2D + - descriptor: + code: SETTLEMENT_BASIS + value: DELIVERY + - descriptor: + code: MANDATORY_ARBITRATION + value: 'true' + - descriptor: + code: COURT_JURISDICTION + value: New Delhi + - descriptor: + code: STATIC_TERMS + value: https://example-test-bpp.com/static-terms.txt + - descriptor: + code: SETTLEMENT_AMOUNT + value: '1.46' \ No newline at end of file diff --git a/api/components/examples/on-demand/status/status_request_technical_cancel_1.yaml b/api/components/examples/on-demand/status/status_request_technical_cancel_1.yaml new file mode 100644 index 00000000..2d5c1f9e --- /dev/null +++ b/api/components/examples/on-demand/status/status_request_technical_cancel_1.yaml @@ -0,0 +1,19 @@ +context: + action: status + bap_id: example-bap.com + bap_uri: https://example-bap.com/prod/trv10 + bpp_id: example-bpp.com + bpp_uri: https://example-bpp.com/prod/seller + domain: ONDC:TRV10 + location: + city: + code: std:080 + country: + code: IND + message_id: d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2 + timestamp: '2023-03-23T04:48:53Z' + transaction_id: 870782be-6757-43f1-945c-8eeaf9536259 + ttl: PT30S + version: 2.1.0 +message: + ref_id: 870782be-6757-43f1-945c-8eeaf9536259 \ No newline at end of file diff --git a/api/components/flows/index.yaml b/api/components/flows/index.yaml index 4595dd1f..e2195abc 100644 --- a/api/components/flows/index.yaml +++ b/api/components/flows/index.yaml @@ -6,6 +6,7 @@ - $ref: ./on_driver_female_flow/index.yaml - $ref: ./on_demand___ride_cancellation_by_driver/index.yaml - $ref: ./on_demand___ride_cancellation_by_rider/index.yaml +- $ref: ./on_demand_technical_cancellation/index.yaml - $ref: ./Driver-not-found-on-on_confirm/index.yaml - $ref: ./Driver-not-found-post-on_confirm/index.yaml - $ref: ./on_demand___add_stop_for_given_ride/index.yaml diff --git a/api/components/flows/on_demand_technical_cancellation/index.yaml b/api/components/flows/on_demand_technical_cancellation/index.yaml new file mode 100644 index 00000000..713ec42f --- /dev/null +++ b/api/components/flows/on_demand_technical_cancellation/index.yaml @@ -0,0 +1,161 @@ +summary: On-Demand - Technical Cancellation Flow +details: + - description: Detailed process of cancelling a ride with soft & confirm status. + mermaid: >- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm + Buyer Platform (BAP)-->>Seller Platform (BPP): NACK + Buyer Platform (BAP)->>Seller Platform (BPP): status + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + Seller Platform (BPP)->>Buyer Platform (BAP):on_status + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK +reference: if any +steps: + - summary: Provider confirms the request + api: on_confirm + details: + - description: The provider has confirmed the request, but the buyer app received the request after the TTL had expired. + mermaid: >- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + rect rgb(191, 223, 255) + Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm + Buyer Platform (BAP)-->>Seller Platform (BPP): NACK + end + Buyer Platform (BAP)->>Seller Platform (BPP): status + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + Seller Platform (BPP)->>Buyer Platform (BAP):on_status + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + example: + value: + $ref: "../../examples/on-demand/on_confirm/Return_confirmed_order_with_latest_fulfillment_details___X10.yaml" + + - summary: Buyer app request for latest order status + api: status + details: + - description: Buyer app request for latest order status + mermaid: >- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm + Buyer Platform (BAP)-->>Seller Platform (BPP): NACK + rect rgb(191, 223, 255) + Buyer Platform (BAP)->>Seller Platform (BPP): status + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + end + Seller Platform (BPP)->>Buyer Platform (BAP):on_status + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + example: + value: + $ref: "../../examples/on-demand/status/status_request_technical_cancel_1.yaml" + - summary: Provider sends the latest order status + api: on_status + details: + - description: Provider sends the latest order status + mermaid: >- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm + Buyer Platform (BAP)-->>Seller Platform (BPP): NACK + Buyer Platform (BAP)->>Seller Platform (BPP): status + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + rect rgb(191, 223, 255) + Seller Platform (BPP)->>Buyer Platform (BAP):on_status + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + end + reference: if any + example: + value: + $ref: "../../examples/on-demand/on_status/on_status_request_technical_cancel_1.yaml" + + + + + - summary: Buyer app cancels the request for ride + api: cancel + details: + - description: Buyer app requests for cancellation of ride. + mermaid: >- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + rect rgb(191, 223, 255) + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + end + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + example: + value: + $ref: "../../examples/on-demand/cancel/cancel_request_soft_cancel.yaml" + - summary: Provider accepts/appends the terms of cancellation + api: on_cancel + details: + - description: Provider accepts the terms of order and appends its own terms and provides with latest order update. + mermaid: >- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + rect rgb(191, 223, 255) + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + end + reference: if any + example: + value: + $ref: "../../examples/on-demand/on_cancel/on_cancel_request_soft_cancel.yaml" + + - summary: Buyer app confirms the cancel request for ride + api: cancel + details: + - description: Buyer app give the confirmation to cancel the ride. + mermaid: >- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + rect rgb(191, 223, 255) + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + end + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + reference: if any + example: + value: + $ref: "../../examples/on-demand/cancel/cancel_request_confirm_cancel.yaml" + - summary: Provider accepts the terms of cancellation + api: on_cancel + details: + - description: Provider accepts the terms of order and provides with latest order update. + mermaid: >- + sequenceDiagram + participant Buyer Platform (BAP) + participant Seller Platform (BPP) + Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request + Seller Platform (BPP)-->>Buyer Platform (BAP):ACK + rect rgb(191, 223, 255) + Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel + Buyer Platform (BAP)-->>Seller Platform (BPP): ACK + end + reference: if any + example: + value: + $ref: "../../examples/on-demand/on_cancel/on_cancel_request_confirm_cancel.yaml" \ No newline at end of file diff --git a/ui/build.js b/ui/build.js index f69bb38d..cce00b32 100644 --- a/ui/build.js +++ b/ui/build.js @@ -1 +1 @@ -let build_spec = {"openapi":"3.0.0","info":{"title":"ONDC Specification","description":"ONDC Specification","version":"2.0.0"},"security":[{"SubscriberAuth":[]}],"paths":{"/search":{"post":{"tags":["Provider Platform","Gateway"],"description":"Consumer Platform declares the customer's intent to buy/avail products or services","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"properties":{"action":{"enum":["search"]}}}]},"message":{"type":"object","additionalProperties":false,"properties":{"intent":{"$ref":"#/components/schemas/Intent"}}}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/select":{"post":{"tags":["Provider Platform"],"description":"Consumer Platform declares the customer's cart (or equivalent) created by selecting objects from the catalog","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["select"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/init":{"post":{"tags":["Provider Platform"],"description":"Initialize an order by providing billing and/or shipping details","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["init"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]}},"required":["context","message"]}}}},"responses":{"default":{"description":"Acknowledgement of message received after successful validation of schema and signature","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"object","properties":{"ack":{"allOf":[{"$ref":"#/components/schemas/Ack"},{"type":"object"},{"properties":{"status":{"enum":["ACK","NACK"]}}}]}},"required":["ack"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["message"]}}}}}}},"/confirm":{"post":{"tags":["Provider Platform"],"description":"Initialize an order by providing billing and/or shipping details","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["confirm"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/status":{"post":{"tags":["Provider Platform"],"description":"Fetch the latest order object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["status"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"ref_id":{"$ref":"#/components/schemas/Order/properties/id"},"order_id":{"$ref":"#/components/schemas/Order/properties/id"}}}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/track":{"post":{"tags":["Provider Platform"],"description":"Track an active order","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["track"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order_id":{"$ref":"#/components/schemas/Order/properties/id"},"callback_url":{"type":"string","format":"uri"}},"required":["order_id"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/cancel":{"post":{"tags":["Provider Platform"],"description":"Cancel an order","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["cancel"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order_id":{"$ref":"#/components/schemas/Order/properties/id"},"cancellation_reason_id":{"$ref":"#/components/schemas/Option/properties/id"},"descriptor":{"$ref":"#/components/schemas/Descriptor"}},"required":["order_id"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/update":{"post":{"tags":["Provider Platform"],"description":"Remove object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["update"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"update_target":{"description":"Comma separated values of order objects being updated. For example: ```\"update_target\":\"item,billing,fulfillment\"```","type":"string"},"order":{"description":"Updated order object","allOf":[{"$ref":"#/components/schemas/Order"}]}},"required":["update_target","order"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/rating":{"post":{"tags":["Provider Platform"],"description":"Provide feedback on a service","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["rating"]}},"required":["action"]}]},"message":{"type":"object","properties":{"order_id":{"$ref":"#/components/schemas/Order/properties/id"},"ratings":{"type":"array","items":{"$ref":"#/components/schemas/Rating"}}}}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/support":{"post":{"tags":["Provider Platform"],"description":"Contact support","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["support"]}},"required":["action"]}]},"message":{"type":"object","properties":{"support":{"$ref":"#/components/schemas/Support"}}}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_search":{"post":{"tags":["Consumer Platform"],"description":"Provider Platform sends its catalog in response to a search request.","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_search"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"catalog":{"$ref":"#/components/schemas/Catalog"}},"required":["catalog"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_select":{"post":{"tags":["Consumer Platform"],"description":"Send draft order object with quoted price for selected items","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_select"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}}},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_init":{"post":{"tags":["Consumer Platform"],"description":"Send order object with payment details updated","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_init"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_confirm":{"post":{"tags":["Consumer Platform"],"description":"Send active order object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_confirm"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_track":{"post":{"tags":["Consumer Platform"],"description":"Send tracking details of an active order","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_track"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"tracking":{"$ref":"#/components/schemas/Tracking"}},"required":["tracking"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_cancel":{"post":{"tags":["Consumer Platform"],"description":"Send cancellation request_id with reasons list in case of cancellation request. Else send cancelled order object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_cancel"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_update":{"post":{"tags":["Consumer Platform"],"description":"Returns updated service with updated runtime object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_update"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_status":{"post":{"tags":["Consumer Platform"],"description":"Fetch the status of a Service","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_status"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_rating":{"post":{"tags":["Consumer Platform"],"description":"Provide feedback on a service","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_rating"]}},"required":["action"]}]},"message":{"type":"object","properties":{"order_id":{"$ref":"#/components/schemas/Order/properties/id"},"ratings":{"type":"array","items":{"$ref":"#/components/schemas/Rating"}}}},"error":{"$ref":"#/components/schemas/Error"}},"required":["context"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_support":{"post":{"tags":["Consumer Platform"],"description":"Contact Support","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_support"]}},"required":["action"]}]},"message":{"type":"object","properties":{"support":{"$ref":"#/components/schemas/Support"}}},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}}},"components":{"securitySchemes":{"SubscriberAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Signature of message body using Consumer Platform or Provider Platform subscriber's signing public key.

Format:

Authorization : Signature keyId=\"{subscriber_id}|{unique_key_id}|{algorithm}\",algorithm=\"ed25519\",created=\"1606970629\",expires=\"1607030629\",headers=\"(created) (expires) digest\",signature=\"Base64(signing string)\""}},"schemas":{"Ack":{"description":"Describes the acknowledgement sent in response to an API call. If the implementation uses HTTP/S, then Ack must be returned in the same session. Every API call to a BPP must be responded to with an Ack whether the BPP intends to respond with a callback or not. This has one property called `status` that indicates the status of the Acknowledgement.","type":"object","additionalProperties":false,"properties":{"status":{"type":"string","description":"The status of the acknowledgement. If the request passes the validation criteria of the BPP, then this is set to ACK. If a BPP responds with status = `ACK` to a request, it is required to respond with a callback. If the request fails the validation criteria, then this is set to NACK. Additionally, if a BPP does not intend to respond with a callback even after the request meets the validation criteria, it should set this value to `NACK`.","enum":["ACK","NACK"]},"tags":{"description":"A list of tags containing any additional information sent along with the Acknowledgement.","type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"AddOn":{"description":"Describes an additional item offered as a value-addition to a product or service. This does not exist independently in a catalog and is always associated with an item.","type":"object","additionalProperties":false,"properties":{"id":{"description":"Provider-defined ID of the add-on","type":"string"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"price":{"$ref":"#/components/schemas/Price"},"quantity":{"$ref":"#/components/schemas/ItemQuantity"}}},"Address":{"description":"Describes a postal address.","type":"string"},"Agent":{"description":"Describes the direct performer, driver or executor that fulfills an order. It is usually a person. But in some rare cases, it could be a non-living entity like a drone, or a bot. Some examples of agents are Doctor in the healthcare sector, a driver in the mobility sector, or a delivery person in the logistics sector. This object can be set at any stage of the order lifecycle. This can be set at the discovery stage when the BPP wants to provide details on the agent fulfilling the order, like in healthcare, where the doctor's name appears during search. This object can also used to search for a particular person that the customer wants fulfilling an order. Sometimes, this object gets instantiated after the order is confirmed, like in the case of on-demand taxis, where the driver is assigned after the user confirms the ride.","type":"object","additionalProperties":false,"properties":{"person":{"$ref":"#/components/schemas/Person"},"contact":{"$ref":"#/components/schemas/Contact"},"organization":{"$ref":"#/components/schemas/Organization"},"rating":{"$ref":"#/components/schemas/Rating/properties/value"}}},"Authorization":{"description":"Describes an authorization mechanism used to start or end the fulfillment of an order. For example, in the mobility sector, the driver may require a one-time password to initiate the ride. In the healthcare sector, a patient may need to provide a password to open a video conference link during a teleconsultation.","type":"object","additionalProperties":false,"properties":{"type":{"description":"Type of authorization mechanism used. The allowed values for this field can be published as part of the network policy.","type":"string"},"token":{"description":"Token used for authorization. This is typically generated at the BPP. The BAP can send this value to the user via any channel that it uses to authenticate the user like SMS, Email, Push notification, or in-app rendering.","type":"string"},"valid_from":{"description":"Timestamp in RFC3339 format from which token is valid","type":"string","format":"date-time"},"valid_to":{"description":"Timestamp in RFC3339 format until which token is valid","type":"string","format":"date-time"},"status":{"description":"Status of the token","type":"string"}}},"Billing":{"description":"Describes the billing details of an entity.
This has properties like name,organization,address,email,phone,time,tax_number, created_at,updated_at","type":"object","additionalProperties":false,"properties":{"name":{"description":"Name of the billable entity","type":"string"},"organization":{"description":"Details of the organization being billed.","allOf":[{"$ref":"#/components/schemas/Organization"}]},"address":{"description":"The address of the billable entity","allOf":[{"$ref":"#/components/schemas/Address"}]},"state":{"description":"The state where the billable entity resides. This is important for state-level tax calculation","allOf":[{"$ref":"#/components/schemas/State"}]},"city":{"description":"The city where the billable entity resides.","allOf":[{"$ref":"#/components/schemas/City"}]},"email":{"description":"Email address where the bill is sent to","type":"string","format":"email"},"phone":{"description":"Phone number of the billable entity","type":"string"},"time":{"description":"Details regarding the billing period","allOf":[{"$ref":"#/components/schemas/Time"}]},"tax_id":{"description":"ID of the billable entity as recognized by the taxation authority","type":"string"}}},"Cancellation":{"description":"Describes a cancellation event","type":"object","additionalProperties":false,"properties":{"time":{"description":"Date-time when the order was cancelled by the buyer","type":"string","format":"date-time"},"cancelled_by":{"type":"string","enum":["CONSUMER","PROVIDER"]},"reason":{"description":"The reason for cancellation","allOf":[{"$ref":"#/components/schemas/Option"}]},"additional_description":{"description":"Any additional information regarding the nature of cancellation","allOf":[{"$ref":"#/components/schemas/Descriptor"}]}}},"CancellationTerm":{"description":"Describes the cancellation terms of an item or an order. This can be referenced at an item or order level. Item-level cancellation terms can override the terms at the order level.","type":"object","additionalProperties":false,"properties":{"fulfillment_state":{"description":"The state of fulfillment during which this term is applicable.","allOf":[{"$ref":"#/components/schemas/FulfillmentState"}]},"reason_required":{"description":"Indicates whether a reason is required to cancel the order","type":"boolean"},"cancel_by":{"description":"Information related to the time of cancellation.","allOf":[{"$ref":"#/components/schemas/Time"}]},"cancellation_fee":{"$ref":"#/components/schemas/Fee"},"xinput":{"$ref":"#/components/schemas/XInput"},"external_ref":{"$ref":"#/components/schemas/MediaFile"},"cancellation_eligible":{"description":"Indicates if cancellation is eligible","type":"boolean"}}},"Catalog":{"description":"Describes the products or services offered by a BPP. This is typically sent as the response to a search intent from a BAP. The payment terms, offers and terms of fulfillment supported by the BPP can also be included here. The BPP can show hierarchical nature of products/services in its catalog using the parent_category_id in categories. The BPP can also send a ttl (time to live) in the context which is the duration for which a BAP can cache the catalog and use the cached catalog.
This has properties like bbp/descriptor,bbp/categories,bbp/fulfillments,bbp/payments,bbp/offers,bbp/providers and exp
This is used in the following situations.
","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"fulfillments":{"description":"Fulfillment modes offered at the BPP level. This is used when a BPP itself offers fulfillments on behalf of the providers it has onboarded.","type":"array","items":{"$ref":"#/components/schemas/Fulfillment"}},"payments":{"description":"Payment terms offered by the BPP for all transactions. This can be overriden at the provider level.","type":"array","items":{"$ref":"#/components/schemas/Payment"}},"offers":{"description":"Offers at the BPP-level. This is common across all providers onboarded by the BPP.","type":"array","items":{"$ref":"#/components/schemas/Offer"}},"providers":{"type":"array","items":{"$ref":"#/components/schemas/Provider"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}},"exp":{"description":"Timestamp after which catalog will expire","type":"string","format":"date-time"},"ttl":{"description":"Duration in seconds after which this catalog will expire","type":"string"}}},"Category":{"description":"A label under which a collection of items can be grouped.","type":"object","additionalProperties":false,"properties":{"id":{"description":"ID of the category","type":"string"},"parent_category_id":{"$ref":"#/components/schemas/Category/properties/id"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"time":{"$ref":"#/components/schemas/Time"},"ttl":{"description":"Time to live for an instance of this schema"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Circle":{"description":"Describes a circular region of a specified radius centered at a specified GPS coordinate.","type":"object","additionalProperties":false,"properties":{"gps":{"$ref":"#/components/schemas/Gps"},"radius":{"$ref":"#/components/schemas/Scalar"}}},"City":{"description":"Describes a city","type":"object","additionalProperties":false,"properties":{"name":{"description":"Name of the city","type":"string"},"code":{"description":"City code","type":"string"}}},"Contact":{"description":"Describes the contact information of an entity","type":"object","additionalProperties":false,"properties":{"phone":{"type":"string"},"email":{"type":"string"},"jcard":{"type":"object","additionalProperties":false,"description":"A Jcard object as per draft-ietf-jcardcal-jcard-03 specification"}}},"Context":{"description":"Every API call in beckn protocol has a context. It provides a high-level overview to the receiver about the nature of the intended transaction. Typically, it is the BAP that sets the transaction context based on the consumer's location and action on their UI. But sometimes, during unsolicited callbacks, the BPP also sets the transaction context but it is usually the same as the context of a previous full-cycle, request-callback interaction between the BAP and the BPP. The context object contains four types of fields.
  1. Demographic information about the transaction using fields like `domain`, `country`, and `region`.
  2. Addressing details like the sending and receiving platform's ID and API URL.
  3. Interoperability information like the protocol version that implemented by the sender and,
  4. Transaction details like the method being called at the receiver's endpoint, the transaction_id that represents an end-to-end user session at the BAP, a message ID to pair requests with callbacks, a timestamp to capture sending times, a ttl to specifiy the validity of the request, and a key to encrypt information if necessary.
This object must be passed in every interaction between a BAP and a BPP. In HTTP/S implementations, it is not necessary to send the context during the synchronous response. However, in asynchronous protocols, the context must be sent during all interactions,","type":"object","additionalProperties":false,"properties":{"domain":{"description":"Domain code that is relevant to this transaction context","allOf":[{"$ref":"#/components/schemas/Domain/properties/code","type":"string"}]},"location":{"description":"The location where the transaction is intended to be fulfilled.","allOf":[{"$ref":"#/components/schemas/Location"}]},"action":{"description":"The Beckn protocol method being called by the sender and executed at the receiver.","type":"string"},"version":{"type":"string","description":"Version of transaction protocol being used by the sender."},"bap_id":{"description":"Subscriber ID of the BAP","allOf":[{"description":"A globally unique identifier of the platform, Typically it is the fully qualified domain name (FQDN) of the platform.","type":"string"}]},"bap_uri":{"description":"Subscriber URL of the BAP for accepting callbacks from BPPs.","allOf":[{"description":"The callback URL of the Subscriber. This should necessarily contain the same domain name as set in `subscriber_id``.","type":"string","format":"uri"}]},"bpp_id":{"description":"Subscriber ID of the BPP","allOf":[{"$ref":"#/components/schemas/Context/properties/bap_id/allOf/0"}]},"bpp_uri":{"description":"Subscriber URL of the BPP for accepting calls from BAPs.","allOf":[{"$ref":"#/components/schemas/Context/properties/bap_uri/allOf/0"}]},"transaction_id":{"description":"This is a unique value which persists across all API calls from `search` through `confirm`. This is done to indicate an active user session across multiple requests. The BPPs can use this value to push personalized recommendations, and dynamic offerings related to an ongoing transaction despite being unaware of the user active on the BAP.","type":"string","format":"uuid"},"message_id":{"description":"This is a unique value which persists during a request / callback cycle. Since beckn protocol APIs are asynchronous, BAPs need a common value to match an incoming callback from a BPP to an earlier call. This value can also be used to ignore duplicate messages coming from the BPP. It is recommended to generate a fresh message_id for every new interaction. When sending unsolicited callbacks, BPPs must generate a new message_id.","type":"string","format":"uuid"},"timestamp":{"description":"Time of request generation in RFC3339 format","type":"string","format":"date-time"},"key":{"description":"The encryption public key of the sender","type":"string"},"ttl":{"description":"The duration in ISO8601 format after timestamp for which this message holds valid","type":"string"}}},"Country":{"description":"Describes a country","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the country"},"code":{"type":"string","description":"Country code as per ISO 3166-1 and ISO 3166-2 format"}}},"Credential":{"description":"Describes a credential of an entity - Person or Organization","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","default":"VerifiableCredential"},"url":{"description":"URL of the credential","type":"string","format":"uri"}}},"Customer":{"description":"Describes a customer buying/availing a product or a service","type":"object","additionalProperties":false,"properties":{"person":{"$ref":"#/components/schemas/Person"},"contact":{"$ref":"#/components/schemas/Contact"}}},"DecimalValue":{"description":"Describes a numerical value in decimal form","type":"string","pattern":"[+-]?([0-9]*[.])?[0-9]+"},"Descriptor":{"description":"Physical description of something.","type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"code":{"type":"string"},"short_desc":{"type":"string"},"long_desc":{"type":"string"},"additional_desc":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string"},"content_type":{"type":"string","enum":["text/plain","text/html","application/json"]}}},"media":{"type":"array","items":{"$ref":"#/components/schemas/MediaFile"}},"images":{"type":"array","items":{"$ref":"#/components/schemas/Image"}}}},"Domain":{"description":"Described the industry sector or sub-sector. The network policy should contain codes for all the industry sectors supported by the network. Domains can be created in varying levels of granularity. The granularity of a domain can be decided by the participants of the network. Too broad domains will result in irrelevant search broadcast calls to BPPs that don't have services supporting the domain. Too narrow domains will result in a large number of registry entries for each BPP. It is recommended that network facilitators actively collaborate with various working groups and network participants to carefully choose domain codes keeping in mind relevance, performance, and opportunity cost. It is recommended that networks choose broad domains like mobility, logistics, healthcare etc, and progressively granularize them as and when the number of network participants for each domain grows large.","type":"object","additionalProperties":false,"properties":{"name":{"description":"Name of the domain","type":"string"},"code":{"description":"Standard code representing the domain. The standard is usually published as part of the network policy. Furthermore, the network facilitator should also provide a mechanism to provide the supported domains of a network."},"additional_info":{"description":"A url that contains addtional information about that domain.","allOf":[{"$ref":"#/components/schemas/MediaFile"}]}}},"Duration":{"description":"Describes duration as per ISO8601 format","type":"string"},"Error":{"description":"Describes an error object that is returned by a BAP, BPP or BG as a response or callback to an action by another network participant. This object is sent when any request received by a network participant is unacceptable. This object can be sent either during Ack or with the callback.","type":"object","additionalProperties":false,"properties":{"code":{"type":"string","description":"Standard error code. For full list of error codes, refer to docs/protocol-drafts/BECKN-005-ERROR-CODES-DRAFT-01.md of this repo\""},"paths":{"type":"string","description":"Path to json schema generating the error. Used only during json schema validation errors"},"message":{"type":"string","description":"Human readable message describing the error. Used mainly for logging. Not recommended to be shown to the user."}}},"Fee":{"description":"A fee applied on a particular entity","type":"object","additionalProperties":false,"properties":{"percentage":{"description":"Percentage of a value","allOf":[{"$ref":"#/components/schemas/DecimalValue"}]},"amount":{"description":"A fixed value","allOf":[{"$ref":"#/components/schemas/Price"}]}}},"Form":{"description":"Describes a form","type":"object","additionalProperties":false,"properties":{"id":{"description":"The form identifier.","type":"string"},"url":{"description":"The URL from where the form can be fetched. The content fetched from the url must be processed as per the mime_type specified in this object. Once fetched, the rendering platform can choosed to render the form as-is as an embeddable element; or process it further to blend with the theme of the application. In case the interface is non-visual, the the render can process the form data and reproduce it as per the standard specified in the form.","type":"string","format":"uri"},"data":{"description":"The form submission data","type":"object","additionalProperties":{"type":"string"}},"mime_type":{"description":"This field indicates the nature and format of the form received by querying the url. MIME types are defined and standardized in IETF's RFC 6838.","type":"string","enum":["text/html","application/html","application/xml"]},"resubmit":{"type":"boolean"},"multiple_sumbissions":{"type":"boolean"}}},"Fulfillment":{"description":"Describes how a an order will be rendered/fulfilled to the end-customer","type":"object","additionalProperties":false,"properties":{"id":{"description":"Unique reference ID to the fulfillment of an order","type":"string"},"type":{"description":"A code that describes the mode of fulfillment. This is typically set when there are multiple ways an order can be fulfilled. For example, a retail order can be fulfilled either via store pickup or a home delivery. Similarly, a medical consultation can be provided either in-person or via tele-consultation. The network policy must publish standard fulfillment type codes for the different modes of fulfillment.","type":"string"},"rateable":{"description":"Whether the fulfillment can be rated or not","type":"boolean"},"rating":{"description":"The rating value of the fulfullment service.","allOf":[{"$ref":"#/components/schemas/Rating/properties/value"}]},"state":{"description":"The current state of fulfillment. The BPP must set this value whenever the state of the order fulfillment changes and fire an unsolicited `on_status` call.","allOf":[{"$ref":"#/components/schemas/FulfillmentState"}]},"tracking":{"type":"boolean","description":"Indicates whether the fulfillment allows tracking","default":false},"customer":{"description":"The person that will ultimately receive the order","allOf":[{"$ref":"#/components/schemas/Customer"}]},"agent":{"description":"The agent that is currently handling the fulfillment of the order","allOf":[{"$ref":"#/components/schemas/Agent"}]},"contact":{"$ref":"#/components/schemas/Contact"},"vehicle":{"$ref":"#/components/schemas/Vehicle"},"stops":{"description":"The list of logical stops encountered during the fulfillment of an order.","type":"array","items":{"$ref":"#/components/schemas/Stop"}},"path":{"description":"The physical path taken by the agent that can be rendered on a map. The allowed format of this property can be set by the network.","type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"FulfillmentState":{"description":"Describes the state of fulfillment","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"updated_at":{"type":"string","format":"date-time"},"updated_by":{"type":"string","description":"ID of entity which changed the state"}}},"Gps":{"description":"Describes a GPS coordinate","type":"string","pattern":"^[-+]?([1-8]?\\d(\\.\\d+)?|90(\\.0+)?),\\s*[-+]?(180(\\.0+)?|((1[0-7]\\d)|([1-9]?\\d))(\\.\\d+)?)$"},"Image":{"description":"Describes an image","type":"object","additionalProperties":false,"properties":{"url":{"description":"URL to the image. This can be a data url or an remote url","type":"string","format":"uri"},"size_type":{"description":"The size of the image. The network policy can define the default dimensions of each type","type":"string","enum":["xs","sm","md","lg","xl","custom"]},"width":{"description":"Width of the image in pixels","type":"string"},"height":{"description":"Height of the image in pixels","type":"string"}}},"Intent":{"description":"The intent to buy or avail a product or a service. The BAP can declare the intent of the consumer containing
This has properties like descriptor,provider,fulfillment,payment,category,offer,item,tags
This is typically used by the BAP to send the purpose of the user's search to the BPP. This will be used by the BPP to find products or services it offers that may match the user's intent.
For example, in Mobility, the mobility consumer declares a mobility intent. In this case, the mobility consumer declares information that describes various aspects of their journey like,
For example, in health domain, a consumer declares the intent for a lab booking the describes various aspects of their booking like,","type":"object","additionalProperties":false,"properties":{"descriptor":{"description":"A raw description of the search intent. Free text search strings, raw audio, etc can be sent in this object.","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"provider":{"description":"The provider from which the customer wants to place to the order from","allOf":[{"$ref":"#/components/schemas/Provider"}]},"fulfillment":{"description":"Details on how the customer wants their order fulfilled","allOf":[{"$ref":"#/components/schemas/Fulfillment"}]},"payment":{"description":"Details on how the customer wants to pay for the order","allOf":[{"$ref":"#/components/schemas/Payment"}]},"category":{"description":"Details on the item category","allOf":[{"$ref":"#/components/schemas/Category"}]},"offer":{"description":"details on the offer the customer wants to avail","allOf":[{"$ref":"#/components/schemas/Offer"}]},"item":{"description":"Details of the item that the consumer wants to order","allOf":[{"$ref":"#/components/schemas/Item"}]},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"ItemQuantity":{"description":"Describes the count or amount of an item","type":"object","additionalProperties":false,"properties":{"allocated":{"description":"This represents the exact quantity allocated for purchase of the item.","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":0},"measure":{"$ref":"#/components/schemas/Scalar"}}},"available":{"description":"This represents the exact quantity available for purchase of the item. The buyer can only purchase multiples of this","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":0},"measure":{"$ref":"#/components/schemas/Scalar"}}},"maximum":{"description":"This represents the maximum quantity allowed for purchase of the item","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":1},"measure":{"$ref":"#/components/schemas/Scalar"}}},"minimum":{"description":"This represents the minimum quantity allowed for purchase of the item","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":0},"measure":{"$ref":"#/components/schemas/Scalar"}}},"selected":{"description":"This represents the quantity selected for purchase of the item","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":0},"measure":{"$ref":"#/components/schemas/Scalar"}}},"unitized":{"description":"This represents the quantity available in a single unit of the item","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":1,"maximum":1},"measure":{"$ref":"#/components/schemas/Scalar"}}}}},"Item":{"description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item.","type":"object","additionalProperties":false,"properties":{"id":{"description":"ID of the item.","type":"string"},"parent_item_id":{"description":"ID of the item, this item is a variant of","allOf":[{"$ref":"#/components/schemas/Item/properties/id"}]},"parent_item_quantity":{"description":"The number of units of the parent item this item is a multiple of","allOf":[{"$ref":"#/components/schemas/ItemQuantity"}]},"descriptor":{"description":"Physical description of the item","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"creator":{"description":"The creator of this item","allOf":[{"$ref":"#/components/schemas/Organization"}]},"price":{"description":"The price of this item, if it has intrinsic value","allOf":[{"$ref":"#/components/schemas/Price"}]},"quantity":{"description":"The selling quantity of the item","allOf":[{"$ref":"#/components/schemas/ItemQuantity"}]},"category_ids":{"description":"Categories this item can be listed under","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Category/properties/id"}]}},"fulfillment_ids":{"description":"Modes through which this item can be fulfilled","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Fulfillment/properties/id"}]}},"location_ids":{"description":"Provider Locations this item is available in","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Location/properties/id"}]}},"payment_ids":{"description":"Payment modalities through which this item can be ordered","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Payment/properties/id"}]}},"add_ons":{"type":"array","items":{"$ref":"#/components/schemas/AddOn"}},"cancellation_terms":{"description":"Cancellation terms of this item","type":"array","items":{"$ref":"#/components/schemas/CancellationTerm"}},"refund_terms":{"description":"Refund terms of this item","type":"array","items":{"description":"Refund term of an item or an order","type":"object","additionalProperties":false,"properties":{"fulfillment_state":{"description":"The state of fulfillment during which this term is applicable.","allOf":[{"$ref":"#/components/schemas/State"}]},"refund_eligible":{"description":"Indicates if cancellation will result in a refund","type":"boolean"},"refund_within":{"description":"Time within which refund will be processed after successful cancellation.","allOf":[{"$ref":"#/components/schemas/Time"}]},"refund_amount":{"$ref":"#/components/schemas/Price"}}}},"replacement_terms":{"description":"Terms that are applicable be met when this item is replaced","type":"array","items":{"$ref":"#/components/schemas/ReplacementTerm"}},"return_terms":{"description":"Terms that are applicable when this item is returned","type":"array","items":{"$ref":"#/components/schemas/ReturnTerm"}},"xinput":{"description":"Additional input required from the customer to purchase / avail this item","allOf":[{"$ref":"#/components/schemas/XInput"}]},"time":{"description":"Temporal attributes of this item. This property is used when the item exists on the catalog only for a limited period of time.","allOf":[{"$ref":"#/components/schemas/Time"}]},"rateable":{"description":"Whether this item can be rated","type":"boolean"},"rating":{"description":"The rating of the item","allOf":[{"$ref":"#/components/schemas/Rating/properties/value"}]},"matched":{"description":"Whether this item is an exact match of the request","type":"boolean"},"related":{"description":"Whether this item is a related item to the exactly matched item","type":"boolean"},"recommended":{"description":"Whether this item is a recommended item to a response","type":"boolean"},"ttl":{"description":"Time to live in seconds for an instance of this schema","type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Location":{"description":"The physical location of something","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"map_url":{"description":"The url to the map of the location. This can be a globally recognized map url or the one specified by the network policy.","type":"string","format":"uri"},"gps":{"description":"The GPS co-ordinates of this location.","allOf":[{"$ref":"#/components/schemas/Gps"}]},"updated_at":{"type":"string","format":"date-time"},"address":{"description":"The address of this location.","allOf":[{"$ref":"#/components/schemas/Address"}]},"city":{"description":"The city this location is, or is located within","allOf":[{"$ref":"#/components/schemas/City"}]},"district":{"description":"The state this location is, or is located within","type":"string"},"state":{"description":"The state this location is, or is located within","allOf":[{"$ref":"#/components/schemas/State"}]},"country":{"description":"The country this location is, or is located within","allOf":[{"$ref":"#/components/schemas/Country"}]},"area_code":{"type":"string"},"circle":{"$ref":"#/components/schemas/Circle"},"polygon":{"description":"The boundary polygon of this location","type":"string"},"3dspace":{"description":"The three dimensional region describing this location","type":"string"},"rating":{"description":"The rating of this location","allOf":[{"$ref":"#/components/schemas/Rating/properties/value"}]}}},"MediaFile":{"description":"This object contains a url to a media file.","type":"object","additionalProperties":false,"properties":{"mimetype":{"description":"indicates the nature and format of the document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838","type":"string"},"url":{"description":"The URL of the file","type":"string","format":"uri"},"signature":{"description":"The digital signature of the file signed by the sender","type":"string"},"dsa":{"description":"The signing algorithm used by the sender","type":"string"}}},"Offer":{"description":"An offer associated with a catalog. This is typically used to promote a particular product and enable more purchases.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"location_ids":{"type":"array","items":{"$ref":"#/components/schemas/Location/properties/id"}},"category_ids":{"type":"array","items":{"$ref":"#/components/schemas/Category/properties/id"}},"item_ids":{"type":"array","items":{"$ref":"#/components/schemas/Item/properties/id"}},"time":{"$ref":"#/components/schemas/Time"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Option":{"description":"Describes a selectable option","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"descriptor":{"$ref":"#/components/schemas/Descriptor"}}},"Order":{"description":"Describes a legal purchase order. It contains the complete details of the legal contract created between the buyer and the seller.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"Human-readable ID of the order. This is generated at the BPP layer. The BPP can either generate order id within its system or forward the order ID created at the provider level."},"ref_order_ids":{"description":"A list of order IDs to link this order to previous orders.","type":"array","items":{"type":"string","description":"ID of a previous order"}},"status":{"description":"Status of the order. Allowed values can be defined by the network policy","type":"string","enum":["ACTIVE","COMPLETE","CANCELLED","COMPLETED","SOFT_CANCEL","CANCELLATION_INITIATED","CANCELLATION_REJECTED","SOFT_UPDATE","CONFIRM_UPDATE","UPDATED"]},"type":{"description":"This is used to indicate the type of order being created to BPPs. Sometimes orders can be linked to previous orders, like a replacement order in a retail domain. A follow-up consultation in healthcare domain. A single order part of a subscription order. The list of order types can be standardized at the network level.","type":"string","default":"DEFAULT","enum":["DRAFT","DEFAULT"]},"provider":{"description":"Details of the provider whose catalog items have been selected.","allOf":[{"$ref":"#/components/schemas/Provider"}]},"items":{"description":"The items purchased / availed in this order","type":"array","items":{"$ref":"#/components/schemas/Item"}},"add_ons":{"description":"The add-ons purchased / availed in this order","type":"array","items":{"$ref":"#/components/schemas/AddOn"}},"offers":{"description":"The offers applied in this order","type":"array","items":{"$ref":"#/components/schemas/Offer"}},"billing":{"description":"The billing details of this order","allOf":[{"$ref":"#/components/schemas/Billing"}]},"fulfillments":{"description":"The fulfillments involved in completing this order","type":"array","items":{"$ref":"#/components/schemas/Fulfillment"}},"cancellation":{"description":"The cancellation details of this order","allOf":[{"$ref":"#/components/schemas/Cancellation"}]},"cancellation_terms":{"description":"Cancellation terms of this item","type":"array","items":{"$ref":"#/components/schemas/CancellationTerm"}},"documents":{"type":"array","items":{"description":"Documnents associated to the order","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"mime_type":{"description":"This field indicates the nature and format of the form received by querying the url. MIME types are defined and standardized in IETF's RFC 6838.","type":"string","enum":["text/html","application/html","application/xml","application/pdf"]},"url":{"description":"The URL from where the form can be fetched. The content fetched from the url must be processed as per the mime_type specified in this object.","type":"string","format":"uri"}}}},"refund_terms":{"description":"Refund terms of this item","type":"array","items":{"$ref":"#/components/schemas/Item/properties/refund_terms/items"}},"replacement_terms":{"description":"Replacement terms of this item","type":"array","items":{"$ref":"#/components/schemas/ReplacementTerm"}},"return_terms":{"description":"Return terms of this item","type":"array","items":{"$ref":"#/components/schemas/ReturnTerm"}},"quote":{"description":"The mutually agreed upon quotation for this order.","allOf":[{"$ref":"#/components/schemas/Quotation"}]},"payments":{"description":"The terms of settlement for this order","type":"array","items":{"$ref":"#/components/schemas/Payment"}},"created_at":{"description":"The date-time of creation of this order","type":"string","format":"date-time"},"updated_at":{"description":"The date-time of updated of this order","type":"string","format":"date-time"},"xinput":{"description":"Additional input required from the customer to confirm this order","allOf":[{"$ref":"#/components/schemas/XInput"}]},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Organization":{"description":"An organization. Usually a recognized business entity.","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"address":{"description":"The postal address of the organization","allOf":[{"$ref":"#/components/schemas/Address"}]},"state":{"description":"The state where the organization's address is registered","allOf":[{"$ref":"#/components/schemas/State"}]},"city":{"description":"The city where the the organization's address is registered","allOf":[{"$ref":"#/components/schemas/City"}]},"contact":{"$ref":"#/components/schemas/Contact"}}},"Payment":{"description":"Describes the terms of settlement between the BAP and the BPP for a single transaction. When instantiated, this object contains
  1. the amount that has to be settled,
  2. The payment destination destination details
  3. When the settlement should happen, and
  4. A transaction reference ID
. During a transaction, the BPP reserves the right to decide the terms of payment. However, the BAP can send its terms to the BPP first. If the BPP does not agree to those terms, it must overwrite the terms and return them to the BAP. If overridden, the BAP must either agree to the terms sent by the BPP in order to preserve the provider's autonomy, or abort the transaction. In case of such disagreements, the BAP and the BPP can perform offline negotiations on the payment terms. Once an agreement is reached, the BAP and BPP can resume transactions.","type":"object","additionalProperties":false,"properties":{"id":{"description":"ID of the payment term that can be referred at an item or an order level in a catalog","type":"string"},"collected_by":{"description":"This field indicates who is the collector of payment. The BAP can set this value to 'bap' if it wants to collect the payment first and settle it to the BPP. If the BPP agrees to those terms, the BPP should not send the payment url. Alternatively, the BPP can set this field with the value 'bpp' if it wants the payment to be made directly.","type":"string"},"url":{"type":"string","description":"A payment url to be called by the BAP. If empty, then the payment is to be done offline. The details of payment should be present in the params object. If tl_method = http/get, then the payment details will be sent as url params. Two url param values, ```$transaction_id``` and ```$amount``` are mandatory.","format":"uri"},"tl_method":{"type":"string"},"params":{"type":"object","additionalProperties":false,"properties":{"transaction_id":{"type":"string","description":"The reference transaction ID associated with a payment activity"},"amount":{"type":"string"},"currency":{"type":"string"},"bank_code":{"type":"string"},"bank_account_number":{"type":"string"},"virtual_payment_address":{"type":"string"},"source_bank_code":{"type":"string"},"source_bank_account_number":{"type":"string"},"source_virtual_payment_address":{"type":"string"}}},"type":{"type":"string","enum":["PRE-ORDER","PRE-FULFILLMENT","ON-FULFILLMENT","POST-FULFILLMENT","ON-ORDER","PART-PAYMENT"]},"status":{"type":"string","enum":["PAID","NOT-PAID"]},"time":{"$ref":"#/components/schemas/Time"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Person":{"description":"Describes a person as any individual","type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"Describes the identity of the person"},"url":{"description":"Profile url of the person","type":"string","format":"uri"},"name":{"description":"the name of the person","type":"string"},"image":{"$ref":"#/components/schemas/Image"},"age":{"description":"Age of the person","allOf":[{"$ref":"#/components/schemas/Duration"}]},"dob":{"description":"Date of birth of the person","type":"string","format":"date"},"gender":{"type":"string","description":"Gender of something, typically a Person, but possibly also fictional characters, animals, etc. While Male and Female may be used, text strings are also acceptable for people who do not identify as a binary gender.Allowed values for this field can be published in the network policy"},"creds":{"type":"array","items":{"$ref":"#/components/schemas/Credential"}},"languages":{"type":"array","items":{"description":"Describes a language known to the person.","type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"}}}},"skills":{"type":"array","items":{"description":"Describes a skill of the person.","type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"}}}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Price":{"description":"Describes the price of a product or service","type":"object","additionalProperties":false,"properties":{"currency":{"type":"string"},"value":{"$ref":"#/components/schemas/DecimalValue"},"estimated_value":{"$ref":"#/components/schemas/DecimalValue"},"computed_value":{"$ref":"#/components/schemas/DecimalValue"},"listed_value":{"$ref":"#/components/schemas/DecimalValue"},"offered_value":{"$ref":"#/components/schemas/DecimalValue"},"minimum_value":{"$ref":"#/components/schemas/DecimalValue"},"maximum_value":{"$ref":"#/components/schemas/DecimalValue"}}},"Provider":{"description":"Describes the catalog of a business.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"Id of the provider"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"category_id":{"type":"string","description":"Category Id of the provider at the BPP-level catalog"},"rating":{"$ref":"#/components/schemas/Rating/properties/value"},"time":{"$ref":"#/components/schemas/Time"},"categories":{"type":"array","items":{"$ref":"#/components/schemas/Category"}},"fulfillments":{"type":"array","items":{"$ref":"#/components/schemas/Fulfillment"}},"payments":{"type":"array","items":{"$ref":"#/components/schemas/Payment"}},"locations":{"type":"array","items":{"$ref":"#/components/schemas/Location"}},"offers":{"type":"array","items":{"$ref":"#/components/schemas/Offer"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/Item"}},"exp":{"type":"string","description":"Time after which catalog has to be refreshed","format":"date-time"},"rateable":{"description":"Whether this provider can be rated or not","type":"boolean"},"ttl":{"description":"The time-to-live in seconds, for this object. This can be overriden at deeper levels. A value of -1 indicates that this object is not cacheable.","type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}},"cancellation_terms":{"description":"Cancellation terms of this item","type":"array","items":{"$ref":"#/components/schemas/CancellationTerm"}}}},"Quotation":{"description":"Describes a quote. It is the estimated price of products or services from the BPP.
This has properties like price, breakup, ttl","type":"object","additionalProperties":false,"properties":{"id":{"description":"ID of the quote.","type":"string"},"price":{"description":"The total quoted price","allOf":[{"$ref":"#/components/schemas/Price"}]},"breakup":{"description":"the breakup of the total quoted price","type":"array","items":{"type":"object","additionalProperties":false,"properties":{"item":{"$ref":"#/components/schemas/Item"},"title":{"type":"string"},"price":{"$ref":"#/components/schemas/Price"}}}},"ttl":{"$ref":"#/components/schemas/Duration"}}},"Rating":{"description":"Describes the rating of an entity","type":"object","additionalProperties":false,"properties":{"rating_category":{"description":"Category of the entity being rated","type":"string","enum":["ITEM","ORDER","FULFILLMENT","PROVIDER","AGENT","SUPPORT"]},"id":{"description":"Id of the object being rated","type":"string"},"value":{"description":"Rating value given to the object. This can be a single value or can also contain an inequality operator like gt, gte, lt, lte. This can also contain an inequality expression containing logical operators like && and ||.","type":"string"}}},"Region":{"description":"Describes an arbitrary region of space. The network policy should contain a published list of supported regions by the network.","type":"object","additionalProperties":false,"properties":{"dimensions":{"description":"The number of dimensions that are used to describe any point inside that region. The most common dimensionality of a region is 2, that represents an area on a map. There are regions on the map that can be approximated to one-dimensional regions like roads, railway lines, or shipping lines. 3 dimensional regions are rarer, but are gaining popularity as flying drones are being adopted for various fulfillment services.","type":"string","enum":["1","2","3"]},"type":{"description":"The type of region. This is used to specify the granularity of the region represented by this object. Various examples of two-dimensional region types are city, country, state, district, and so on. The network policy should contain a list of all possible region types supported by the network.","type":"string"},"name":{"type":"string","description":"Name of the region as specified on the map where that region exists."},"code":{"type":"string","description":"A standard code representing the region. This should be interpreted in the same way by all network participants."},"boundary":{"type":"string","description":"A string representing the boundary of the region. One-dimensional regions are represented by polylines. Two-dimensional regions are represented by polygons, and three-dimensional regions can represented by polyhedra."},"map_url":{"type":"string","description":"The url to the map of the region. This can be a globally recognized map or the one specified by the network policy."}}},"ReplacementTerm":{"description":"The replacement policy of an item or an order","type":"object","additionalProperties":false,"properties":{"fulfillment_state":{"description":"The state of fulfillment during which this term is applicable.","allOf":[{"$ref":"#/components/schemas/State"}]},"replace_within":{"description":"Applicable only for buyer managed returns where the buyer has to replace the item before a certain date-time, failing which they will not be eligible for replacement","allOf":[{"$ref":"#/components/schemas/Time"}]},"external_ref":{"$ref":"#/components/schemas/MediaFile"}}},"ReturnTerm":{"description":"Describes the return policy of an item or an order","type":"object","additionalProperties":false,"properties":{"fulfillment_state":{"description":"The state of fulfillment during which this term IETF''s applicable.","allOf":[{"$ref":"#/components/schemas/State"}]},"return_eligible":{"description":"Indicates whether the item is eligible for return","type":"boolean"},"return_time":{"description":"Applicable only for buyer managed returns where the buyer has to return the item to the origin before a certain date-time, failing which they will not be eligible for refund.","allOf":[{"$ref":"#/components/schemas/Time"}]},"return_location":{"description":"The location where the item or order must / will be returned to","allOf":[{"$ref":"#/components/schemas/Location"}]},"fulfillment_managed_by":{"description":"The entity that will perform the return","type":"string","enum":["CONSUMER","PROVIDER"]}}},"Scalar":{"description":"Describes a scalar","type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["CONSTANT","VARIABLE"]},"value":{"$ref":"#/components/schemas/DecimalValue"},"estimated_value":{"$ref":"#/components/schemas/DecimalValue"},"computed_value":{"$ref":"#/components/schemas/DecimalValue"},"range":{"type":"object","additionalProperties":false,"properties":{"min":{"$ref":"#/components/schemas/DecimalValue"},"max":{"$ref":"#/components/schemas/DecimalValue"}}},"unit":{"type":"string"}}},"Schedule":{"description":"Describes schedule as a repeating time period used to describe a regularly recurring event. At a minimum a schedule will specify frequency which describes the interval between occurrences of the event. Additional information can be provided to specify the schedule more precisely. This includes identifying the timestamps(s) of when the event will take place. Schedules may also have holidays to exclude a specific day from the schedule.
This has properties like frequency, holidays, times","type":"object","additionalProperties":false,"properties":{"frequency":{"$ref":"#/components/schemas/Duration"},"holidays":{"type":"array","items":{"type":"string","format":"date-time"}},"times":{"type":"array","items":{"type":"string","format":"date-time"}}}},"State":{"description":"A bounded geopolitical region of governance inside a country.","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the state"},"code":{"type":"string","description":"State code as per country or international standards"}}},"Stop":{"description":"A logical point in space and time during the fulfillment of an order.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"parent_stop_id":{"type":"string"},"location":{"description":"Location of the stop","allOf":[{"$ref":"#/components/schemas/Location"}]},"type":{"description":"The type of stop. Allowed values of this property can be defined by the network policy.","type":"string"},"time":{"description":"Timings applicable at the stop.","allOf":[{"$ref":"#/components/schemas/Time"}]},"instructions":{"description":"Instructions that need to be followed at the stop","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"contact":{"description":"Contact details of the stop","allOf":[{"$ref":"#/components/schemas/Contact"}]},"person":{"description":"The details of the person present at the stop","allOf":[{"$ref":"#/components/schemas/Person"}]},"authorization":{"$ref":"#/components/schemas/Authorization"}}},"Support":{"description":"Details of customer support","type":"object","additionalProperties":false,"properties":{"ref_id":{"type":"string"},"callback_phone":{"type":"string","format":"phone"},"phone":{"type":"string","format":"phone"},"email":{"type":"string","format":"email"},"url":{"type":"string","format":"uri"}}},"Tag":{"description":"Describes a tag. This is used to contain extended metadata. This object can be added as a property to any schema to describe extended attributes. For BAPs, tags can be sent during search to optimize and filter search results. BPPs can use tags to index their catalog to allow better search functionality. Tags are sent by the BPP as part of the catalog response in the `on_search` callback. Tags are also meant for display purposes. Upon receiving a tag, BAPs are meant to render them as name-value pairs. This is particularly useful when rendering tabular information about a product or service.","type":"object","additionalProperties":false,"properties":{"descriptor":{"description":"Description of the Tag, can be used to store detailed information.","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"value":{"description":"The value of the tag. This set by the BPP and rendered as-is by the BAP.","type":"string"},"display":{"description":"This value indicates if the tag is intended for display purposes. If set to `true`, then this tag must be displayed. If it is set to `false`, it should not be displayed. This value can override the group display value.","type":"boolean"}}},"TagGroup":{"description":"A collection of tag objects with group level attributes. For detailed documentation on the Tags and Tag Groups schema go to https://github.com/beckn/protocol-specifications/discussions/316","type":"object","additionalProperties":false,"properties":{"display":{"description":"Indicates the display properties of the tag group. If display is set to false, then the group will not be displayed. If it is set to true, it should be displayed. However, group-level display properties can be overriden by individual tag-level display property. As this schema is purely for catalog display purposes, it is not recommended to send this value during search.","type":"boolean","default":true},"descriptor":{"description":"Description of the TagGroup, can be used to store detailed information.","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"list":{"description":"An array of Tag objects listed under this group. This property can be set by BAPs during search to narrow the `search` and achieve more relevant results. When received during `on_search`, BAPs must render this list under the heading described by the `name` property of this schema.","type":"array","items":{"$ref":"#/components/schemas/Tag"}}}},"Time":{"description":"Describes time in its various forms. It can be a single point in time; duration; or a structured timetable of operations
This has properties like label, time stamp,duration,range, days, schedule","type":"object","additionalProperties":false,"properties":{"label":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"duration":{"$ref":"#/components/schemas/Duration"},"range":{"type":"object","additionalProperties":false,"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"}}},"days":{"type":"string","description":"comma separated values representing days of the week"},"schedule":{"$ref":"#/components/schemas/Schedule"}}},"Tracking":{"description":"Contains tracking information that can be used by the BAP to track the fulfillment of an order in real-time. which is useful for knowing the location of time sensitive deliveries.","type":"object","additionalProperties":false,"properties":{"id":{"description":"A unique tracking reference number","type":"string"},"url":{"description":"A URL to the tracking endpoint. This can be a link to a tracking webpage, a webhook URL created by the BAP where BPP can push the tracking data, or a GET url creaed by the BPP which the BAP can poll to get the tracking data. It can also be a websocket URL where the BPP can push real-time tracking data.","type":"string","format":"uri"},"location":{"description":"In case there is no real-time tracking endpoint available, this field will contain the latest location of the entity being tracked. The BPP will update this value everytime the BAP calls the track API.","allOf":[{"$ref":"#/components/schemas/Location"}]},"status":{"description":"This value indicates if the tracking is currently active or not. If this value is `active`, then the BAP can begin tracking the order. If this value is `inactive`, the tracking URL is considered to be expired and the BAP should stop tracking the order.","type":"string","enum":["active","inactive"]}}},"Vehicle":{"description":"Describes a vehicle is a device that is designed or used to transport people or cargo over land, water, air, or through space.
This has properties like category, capacity, make, model, size,variant,color,energy_type,registration","type":"object","additionalProperties":false,"properties":{"category":{"type":"string"},"capacity":{"type":"integer"},"make":{"type":"string"},"model":{"type":"string"},"size":{"type":"string"},"variant":{"type":"string"},"color":{"type":"string"},"energy_type":{"type":"string"},"registration":{"type":"string"},"wheels_count":{"type":"string"},"cargo_volumne":{"type":"string"},"wheelchair_access":{"type":"string"},"code":{"type":"string"},"emission_standard":{"type":"string"}}},"XInput":{"description":"Contains any additional or extended inputs required to confirm an order. This is typically a Form Input. Sometimes, selection of catalog elements is not enough for the BPP to confirm an order. For example, to confirm a flight ticket, the airline requires details of the passengers along with information on baggage, identity, in addition to the class of ticket. Similarly, a logistics company may require details on the nature of shipment in order to confirm the shipping. A recruiting firm may require additional details on the applicant in order to confirm a job application. For all such purposes, the BPP can choose to send this object attached to any object in the catalog that is required to be sent while placing the order. This object can typically be sent at an item level or at the order level. The item level XInput will override the Order level XInput as it indicates a special requirement of information for that particular item. Hence the BAP must render a separate form for the Item and another form at the Order level before confirmation.","type":"object","additionalProperties":false,"properties":{"head":{"description":"Provides the header information for the xinput.","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"index":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer"},"cur":{"type":"integer"},"max":{"type":"integer"}}},"headings":{"type":"array","items":{"type":"string","description":"The heading names of the forms"}}}},"form":{"$ref":"#/components/schemas/Form"},"form_response":{"description":"Describes the response to a form submission","type":"object","additionalProperties":false,"properties":{"status":{"description":"Contains the status of form submission.","type":"string"},"signature":{"type":"string"},"submission_id":{"type":"string"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}}}},"required":{"description":"Indicates whether the form data is mandatorily required by the BPP to confirm the order.","type":"boolean"}}}}},"x-enum":{"search":{"context":{"action":[{"code":"search","description":"Buyer app indicates the search intent","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"intent":{"category":{"descriptor":{"code":[{"code":"ON_DEMAND_TRIP","description":"Describes the category of the on_demand offer","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"catalog":{"providers":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]}},"on_status":{"context":{"action":[{"code":"on_status","description":"Seller app return order with status , Driver pickup - driver drop","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"cancellation_reason_id":[{"code":"000","description":"Technical cancellation(BAP/BPP)","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""},{"code":"PROVIDER","description":"Describes, when the ride is cancelled by the provider.","reference":""}],"reason":{"descriptor":{"code":[{"code":"000","description":"Technical cancellation(BAP/BPP)","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]}},"on_track":{"context":{"action":[{"code":"on_track","description":"Seller app specifies the on_track.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]}}},"x-tags":{"search":{"message":{"intent":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]}],"item":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]}]}}}},"on_search":{"message":{"catalog":{"tags":[{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"providers":{"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]}}}}},"on_select":{"message":{"order":{"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"init":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]}]}}},"on_init":{"message":{"order":{"tags":[{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"confirm":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"on_confirm":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"on_status":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"on_cancel":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"on_update":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}}},"x-flows":[{"summary":"BPP Collecting - Payment Confirmation","details":[{"description":"The illustrative flow depicts the comprehensive process of payment confirmation, showcasing the sequential steps and interactions involved in a payment transaction.","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP) ->> Buyer Platform (BAP) : form"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Buyer Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT1D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}]}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP) ->> Buyer Platform (BAP) : form"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Buyer Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}}},{"summary":"Buyer app redirects to payment gateway page.","api":"form","details":[{"description":"Buyer app redirects to payment gateway page using the link provided in the previous step.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP) ->> Buyer Platform (BAP) : form\n end"}],"reference":"if any","example":{"value":"This will redirected to different html page"}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"ref_id":"870782be-6757-43f1-945c-8eeaf9536259"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Buyer Collecting]","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c","amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"}}}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"9a7be37d-f228-432b-9aa9-65144d48da38","timestamp":"2023-12-10T04:34:49.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"9a7be37d-f228-432b-9aa9-65144d48da38","timestamp":"2023-12-10T04:34:52.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c","amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T04:34:52.031Z","updated_at":"2023-12-10T04:34:52.031Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}}}]},{"summary":"On-Demand - Assign driver on on-confirm","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n "}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Assign driver post on-confirm","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:48:34.53Z","tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the latest update on ride details to the buyer app.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]},{"summary":"On-Demand - Purple Tags (Assign driver on on-confirm)","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"eb60e750-2b11-4170-8bd3-b4c6370835d9","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}]}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare & list of supported purple tags.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"eb60e750-2b11-4170-8bd3-b4c6370835d9","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"category_ids":["C5"],"tags":[{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"}},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"}},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"}},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"}}]},{"descriptor":{"name":"Dwarfism","code":"DISABILITY_DWARFISM"},"display":false,"list":[{"descriptor":{"code":"DWARFISM_SPECIAL_REQUIREMENT","name":"Dwarfism","short_desc":"Custom description"}}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C5"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C5","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service & select specific purple tags.","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"01c1903c-f943-4c11-8e93-dff5ce3c30bd","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","tags":[{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"01c1903c-f943-4c11-8e93-dff5ce3c30bd","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"category_ids":["C5"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"category_ids":["C5"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}] "}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"category_ids":["C5"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n "}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Assign driver post on-confirm(Self-Pickup)","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}],"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"On Demand"}}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"payments":[{"collected_by":"BPP"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}]}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}]}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}]}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the latest update on ride details to the buyer app.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_status","details":[{"description":"Ride provider provides the latest update on ride details to the buyer app with fulfillment state - RIDE_STARTED","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"PAID","type":"ON-FULFILLMENT","params":{"amount":"146"}}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]},{"summary":"On-Demand - Female Driver Flow","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"customer":{"person":{"gender":"FEMALE"}},"agent":{"person":{"gender":"FEMALE"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}},{"id":"F3","customer":{"person":{"gender":"FEMALE"}},"agent":{"person":{"gender":"FEMALE"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"CAB Economy Ride – Female Driver"},"category_ids":["C1"],"fulfillment_ids":["F3"],"id":"I3","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"matched":true,"recommended":false},{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"matched":false,"recommended":true},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"matched":false,"recommended":true}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}}]},{"summary":"On-Demand - Ride cancellation by driver","details":[{"description":"Detailed process of cancelling a ride with soft & confirm status.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel (unsolicited)\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK "}],"steps":[{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel (unsolicited)\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider accepts the terms of cancellation","api":"on_cancel","details":[{"description":"Ride provider accepts the terms of order and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel (unsolicited)\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end "}],"reference":"if any","example":{"summary":"Return current order status after confirm-cancel","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:45.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"0"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"0"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"PROVIDER","reason":{"descriptor":{"code":"013"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:45.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"0"}]}]}}}}}]},{"summary":"On-Demand - Ride cancellation by rider","details":[{"description":"Detailed process of cancelling a ride with soft & confirm status.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app cancels the request for ride","api":"cancel","details":[{"description":"Buyer app requests for cancellation of ride.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initiates cancelling a ride with soft cancel status","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"SOFT_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}},{"summary":"Ride provider accepts/appends the terms of cancellation","api":"on_cancel","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return current order status after soft-cancel","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:44.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"SOFT_CANCEL","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"002"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}}},{"summary":"Buyer app confirms the cancel request for ride","api":"cancel","details":[{"description":"Buyer app give the confirmation to cancel the ride.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initiates cancelling a ride with confirm cancel status","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"CONFIRM_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}},{"summary":"Ride provider accepts the terms of cancellation","api":"on_cancel","details":[{"description":"Ride provider accepts the terms of order and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return current order status after confirm-cancel","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:45.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"002"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:45.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}}}]},{"summary":"Driver not found on on_confirm","references":"if any","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","reference":"if any","api":"on_confirm","example":{"value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"error":{"code":"90203","message":"Driver not assigned to the order"}}},"details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}]}]},{"summary":"Driver not found post on_confirm","references":"if any","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","reference":"if any","api":"on_confirm","example":{"value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:48:34.53Z","tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},"details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}]},{"summary":"Ride not found after on_confirm","reference":"if any","api":"on_cancel","example":{"value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"PROVIDER","reason":{"descriptor":{"code":"011"}}},"created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},"details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}]}]},{"summary":"On-Demand - Ride with multiple stops","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}],"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","category_ids":["C1"],"location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n "}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","category_ids":["C1"],"location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","category_ids":["C1"],"location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Update Stop","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app requests for update of stop","api":"update","details":[{"description":"Buyer app request the provider platform to update the stop","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With fulfillment id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Update an active ride","value":{"context":{"action":"update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"update_target":"order.fulfillments","order":{"id":"01","status":"SOFT_UPDATE","fulfillments":[{"id":"F1","stops":[{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}]}]}}}}},{"summary":"Provider platform confirms with on_update request","api":"on_update","details":[{"description":"Provider platform provides the updated order details","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"SOFT_UPDATE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for update of stop","api":"update","details":[{"description":"Buyer app request the provider platform to update the stop","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With fulfillment id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Update an active ride","value":{"context":{"action":"update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"47e05cc2-2bc4-41c9-81fb-26be6ae74403","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"update_target":"order.fulfillments","order":{"id":"01","status":"CONFIRM_UPDATE","fulfillments":[{"id":"F1","stops":[{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}]}]}}}}},{"summary":"Provider platform confirms with on_update request","api":"on_update","details":[{"description":"Provider platform provides the updated order details","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"UPDATED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Provider platform provide the latest order status","api":"on_status","details":[{"description":"Provider platform provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]},{"summary":"On-Demand - Pre Order Bid","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","price":{"currency":"INR","value":"166"}}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"166"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"20"},"title":"BUYER_ADDITIONAL_AMOUNT"}],"price":{"currency":"INR","value":"166"},"ttl":"PT30S"}}}}}}]},{"summary":"On-Demand - Post Order Tip","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for update of quote (tipping)","api":"update","details":[{"description":"Buyer app requests for update of quote (tipping)","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With order id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated quote\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Update an active ride","value":{"context":{"action":"update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"update_target":"order.quote.breakup","order":{"id":"O1","quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"20"},"title":"BUYER_ADDITIONAL_AMOUNT"}],"price":{"currency":"INR","value":"166"}}}}}}},{"summary":"Provider platform confirms with on_update request","api":"on_update","details":[{"description":"Provider platform provides the updated order details","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update quote\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated quote\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"Delivery"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"20"},"title":"BUYER_ADDITIONAL_AMOUNT"}],"price":{"currency":"INR","value":"166"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Rental","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_RENTAL"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"circle":{"gps":"13.008935, 77.644408","radius":{"type":"CONSTANT","value":"100","unit":"KILOMETER"}}},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"category_ids":["C3"],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C3"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"add_ons":[{"id":"A2","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"1","unit":"HOURS"}}},"descriptor":{"name":"time","code":"TIME"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C3","descriptor":{"code":"ON_DEMAND_RENTAL","name":"Rental"}}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n "}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","category_ids":["C3"],"location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"Schedule - Rental","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"SCHEDULED_RENTAL"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C4"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"add_ons":[{"id":"A2","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"1","unit":"HOURS"}}},"descriptor":{"name":"time","code":"TIME"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C4","descriptor":{"code":"SCHEDULED_RENTAL","name":"Rental"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides the agent details","api":"on_update","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"4ce7055d-2511-4586-b18f-b50822048447","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACKs\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"Schedule - Trip","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title schedule Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"SCHEDULED_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"}},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C2"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C2","descriptor":{"code":"SCHEDULED_TRIP","name":"scheduled"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides the agent details","api":"on_update","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n \n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Rental(when end stop gps coordinate is present)","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_RENTAL"}},"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}]}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"category_ids":["C3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C3"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"add_ons":[{"id":"A2","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"1","unit":"HOURS"}}},"descriptor":{"name":"time","code":"TIME"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C3","descriptor":{"code":"ON_DEMAND_RENTAL","name":"Rental"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}}]},{"summary":"No Acceptance - Soft_Cancel","details":[{"description":"Detailed process of No Acceptance flow atter soft_cancel.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app cancels the request for ride","api":"cancel","details":[{"description":"Buyer app requests for cancellation of ride.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initiates cancelling a ride with soft cancel status","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"SOFT_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}},{"summary":"Ride provider accepts/appends the terms of cancellation","api":"on_cancel","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return current order status after soft-cancel","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:44.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"SOFT_CANCEL","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"002"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}}},{"summary":"Ride provider sends unsolicited on_status call","api":"on_status","details":[{"description":"The ride provider sends an unsolicited on_status call and reverted to the original order state as no response was received from the buyer app within the defined TTL.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return current order status after soft-cancel","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"975ff507-439e-4933-acf4-4aaed4af0d51","timestamp":"2023-12-10T08:03:44.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}}}]},{"summary":"No Acceptance - Soft_Update","details":[{"description":"Detailed process of No Acceptance flow atter soft_update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With fulfillment id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app requests for update of stop","api":"update","details":[{"description":"Buyer app request the provider platform to update the stop","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With fulfillment id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Update an active ride","value":{"context":{"action":"update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"update_target":"order.fulfillments","order":{"id":"01","status":"SOFT_UPDATE","fulfillments":[{"id":"F1","stops":[{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}]}]}}}}},{"summary":"Provider platform confirms with on_update request","api":"on_update","details":[{"description":"Provider platform provides the updated order details","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"SOFT_UPDATE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider sends unsolicited on_status call","api":"on_status","details":[{"description":"The ride provider sends an unsolicited on_status call and reverted to the original order state as no response was received from the buyer app within the defined TTL.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"a6ef2152-7cec-4560-b0ec-04fb13691813","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]}],"x-examples":{"on-demand":{"summary":"On Demand Use Case Specification","description":"The On-demand use case on the network would enable NPs to perform on-demand ride hailing related transactions on the network. These APIs are utilized by consumer and provider platforms enabling every consumer/ end-user on all consumer platforms to consume the services/ inventory provided by all provider platforms on the network seamlessly. Consumer platforms shall use these specifications to perform transaction operations like discovery, selection, booking, status check and others so as to purchase services/ inventory on the network eg: autos, cabs etc. Provider Platform shall use these specifications to expose their services/ inventory in form of autos or cabs rides. Gateway specifications are used to broadcast demands originating from a consumer platform to all applicable provider platforms in a transparent and unbiased manner.","example_set":{"cancel":{"examples":[{"summary":"Initiates_cancelling_a_ride_with_confirm_cancel_status___X5","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"CONFIRM_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}},{"summary":"Initiates_cancelling_a_ride_with_soft_cancel_status___X4","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"SOFT_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}]},"confirm":{"examples":[{"summary":"Confirm_ride_booking___X6","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"confirm_buyer_app_confirms_the_booking_and_provides_all_the_required_information_for_confirmation_as_per_the_terms_of_the_order__5","description":"TBD","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"confirm_buyer_app_confirms_the_booking_and_provides_all_the_required_information_for_confirmation_as_per_the_terms_of_the_order__6","description":"TBD","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"9a7be37d-f228-432b-9aa9-65144d48da38","timestamp":"2023-12-10T04:34:49.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}}]},"init":{"examples":[{"summary":"Initialize_draft_order_and_request_for_terms_of_service[Seller_Collecting]___X7","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}},{"summary":"init_buyer_app_platform_shares_the_terms_of_order_and_initializes_the_request__1","description":"TBD","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT1D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}]}}}},{"summary":"init_buyer_app_platform_shares_the_terms_of_order_and_initializes_the_request__3","description":"TBD","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}]}}}}]},"on_cancel":{"examples":[{"summary":"Return_current_order_status_after_confirm-cancel___X9","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:45.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"0"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"0"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"PROVIDER","reason":{"descriptor":{"code":"013"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:45.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"0"}]}]}}}},{"summary":"Return_current_order_status_after_soft-cancel___X8","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:44.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"SOFT_CANCEL","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"002"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}},{"summary":"cancel_after_confirm","description":"TBD","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"PROVIDER","reason":{"descriptor":{"code":"011"}}},"created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}]},"on_confirm":{"examples":[{"summary":"Return_confirmed_order_with_latest_fulfillment_details___X10","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"Return_confirmed_order_with_latest_fulfillment_details___X11","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:48:34.53Z","tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"Return_confirmed_order_with_latest_fulfillment_details___X12","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","params":{"amount":"146","currency":"INR","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259"},"status":"PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}},{"summary":"on_confirm_ride_provider_confirms_the_ride_request_and_provides_the_ride_details_on_confirmation__6","description":"TBD","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_confirm_ride_provider_confirms_the_ride_request_and_provides_the_ride_details_on_confirmation__7","description":"TBD","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"9a7be37d-f228-432b-9aa9-65144d48da38","timestamp":"2023-12-10T04:34:52.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c","amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T04:34:52.031Z","updated_at":"2023-12-10T04:34:52.031Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}},{"summary":"ride_cancelled","description":"TBD","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"error":{"code":"90203","message":"Driver not assigned to the order"}}}]},"on_init":{"examples":[{"summary":"Return_draft_order_with_payment_terms[Seller_Collecting]___X13","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_init_ride_provider_accepts_the_terms_of_order_and_appends_its_own_terms_and_responds_with_the_final_draft__2","description":"TBD","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}},{"summary":"on_init_ride_provider_accepts_the_terms_of_order_and_appends_its_own_terms_and_responds_with_the_final_draft__4","description":"TBD","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}]}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}]},"on_rating":{"examples":[{"summary":"Return_acknowledgement_of_rating_and_feedback___X14","value":{"context":{"action":"on_rating","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"2a17e268-1dc4-4d1a-98a2-17554a50c7d2","timestamp":"2023-03-23T05:41:15Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"feedback_ack":true,"rating_ack":true}}}]},"on_search":{"examples":[{"summary":"Return_a_mobility_catalog[Buyer_Collecting]___X16","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BAP"}]}],"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}},{"summary":"Return_a_mobility_catalog[Seller_Collecting]___X15","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}},{"summary":"on_search_ride_providers_which_is_a_mobility_provider_platform_sends_the_catalog_of_all_services_that_can_be_used_for_transit_from_a_to_b_along_with_estimated_fare__1","description":"TBD","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}],"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"On Demand"}}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"payments":[{"collected_by":"BPP"}]}]}}}}]},"on_select":{"examples":[{"summary":"Return_a_quote_offered_by_a_provider___X17","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}},{"summary":"on_select_ride_provider_responds_with_detailed_information_and_quote_for_the_specific_service_that_the_buyer_app_would_like_to_avail__2","description":"TBD","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}]}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}]},"on_status":{"examples":[{"summary":"Return_order_with_latest_fulfillment_status_-_Driver_en-route_to_pickup___X19","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP","name":"Driver is en-route to your location"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"Delivery"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"174"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}},{"summary":"Return_order_with_latest_status_-_Ride_Ended___X21","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"AUTO_RICKSHAW","make":"Mahindra","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"Delivery"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"174"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}},{"summary":"Return_order_with_latest_status_-_Ride_started___X20","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED","name":"Your ride has started"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","params":{"bank_account_number":"xxxxxxxxxxxxxx","bank_code":"XXXXXXXX","virtual_payment_address":"9988199772@okicic"},"status":"NOT-PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"Delivery"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"174"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}},{"summary":"Return_order_with_status_-_Driver_at_pickup___X18","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_status_ride_provider_provides_the_latest_update_on_ride_details_to_the_buyer_app_with_fulfillment_state___ride_started_8","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_1","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_10","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"PAID","type":"ON-FULFILLMENT","params":{"amount":"146"}}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_2","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_3","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_4","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_5","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c","amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"}}}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_12","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}]},"on_support":{"examples":[{"summary":"Return_support_information_related_to_an_order___X22","value":{"context":{"action":"on_support","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"support":{"email":"support@nammayatri.in","phone":"+918068870525","url":"https://support.nammayatri.com/gethelp"}}}}]},"on_track":{"examples":[{"summary":"Return_tracking_information_for_an_order___X23","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}]},"on_update":{"examples":[{"summary":"Return_updated_order_with_recomputed_charges___X24","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}},{"summary":"Return_updated_order_with_updated_agent_details___X26","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}},{"summary":"Return_updated_order_with_updated_billing_details___X25","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"email":"jane.doe@example.com","name":"Jane Doe","phone":"+91-9897867564"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:53Z","updated_at":"2023-03-23T04:48:53Z"}}}},{"summary":"on_update_ride_provider_provides_the_latest_update_on_ride_details_to_the_buyer_app__7","description":"TBD","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_update_ride_provider_provides_the_updated_order_updates_to_the_buyer_app___can_update_the_quote_in_case_of_fare_update_9","description":"TBD","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}]},"rating":{"examples":[{"summary":"Provide_a_rating___X27","value":{"context":{"action":"rating","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"b462a835-97d6-4479-bec8-9660a0f8513e","timestamp":"2023-03-23T04:46:45Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"id":"b0462745-f6c9-4100-bbe7-4fa3648b6b40","rating_category":"DRIVER","value":4}}},{"summary":"Provide_a_rating_with_feedback_form_data___X28","value":{"context":{"action":"rating","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"849db48a-34c0-454b-86cb-60864482941b","timestamp":"2023-03-23T04:46:45Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"feedback_form":[{"answer":"Driver took me on a route not shown by Google Maps and we reached 10 minutes before time","id":"1"}],"id":"b0462745-f6c9-4100-bbe7-4fa3648b6b40","rating_category":"DRIVER","value":4}}}]},"search":{"examples":[{"summary":"Search_for_mobility_services_by_pickup_and_drop_location[Buyer_Collecting]___X2","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:40:21.452Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT1D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}},{"summary":"Search_for_mobility_services_by_pickup_and_drop_location[Seller_Collecting]___X1","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}]},"select":{"examples":[{"summary":"Get_quote_for_a_specific_product_from_a_mobility_catalog___X3","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}]},"status":{"examples":[{"summary":"Get_latest_fulfillment_status_of_a_booking___X29","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}},{"summary":"status_buyer_app_requests_the_ride_provider_to_provide_the_latest_order_status_4","description":"TBD","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"ref_id":"870782be-6757-43f1-945c-8eeaf9536259"}}}]},"support":{"examples":[{"summary":"Fetch_support_information_related_to_a_particular_order___X30","value":{"context":{"action":"support","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"ref_id":"7751bd26-3fdc-47ca-9b64-e998dc5abe68"}}}]},"track":{"examples":[{"summary":"Track_an_active_ride___X31","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}]}}}},"x-attributes":{"on-demand":{"attribute_set":{"search":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"search","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"}},"message":{"intent":{"fulfillment":{"customer":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the customer gender."}}},"agent":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"Describes the type of the stops during the fulfillment of order"},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"12.923608, 77.614629","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describe the location of the stop"}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"The list of logical stops encountered during the fulfillment of an order."}},"vehicle":{"category":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle category."},"variant":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"OPTIONAL","type":"object","owner":"BAP","usage":"--","description":"Describes a vehicle is a device that is designed or used to transport people or cargo over land, water, air, or through space.
This has properties like category, capacity, make, model, size,variant,color,energy_type,registration"}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"}},"payment":{"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BPP","description":"This field indicates the payment collector. If set to 'bap,' BAP collects first and settles with BPP. If BPP agrees, no payment link is sent. If set to 'bpp,' BPP collects payment directly."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"The terms of settlement for this order"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This helps the system to find out the purpose of the user behind choosing any product or service. By using this intent the system can align relevant options from available products or service."}}}},"on_search":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_search","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"catalog":{"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Mobility Servies BPP","description":"Describes the catalog name."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the catalog's descriptor."}},"providers":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unique Id of the provider."},"locations":{"id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Indicates provider locations where this item is available."},"gps":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"28.707358, 77.180910","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"OPTIONAL","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's locations."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Describes the unique reference ID to the fulfillment of an order"},"customer":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the customer gender."}}},"agent":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."}}},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DELIVERY","description":"A code that describes the mode of fulfillment. This is typically set when there are multiple ways an order can be fulfilled. "},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"Describes the type of the stops during the fulfillment of order"},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.707358, 77.180910","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle category."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"energy_type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"CAB","description":"Describes the vehicle energy type."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"}},"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"CAB Economy Ride","description":"Describes the unique code value of the item"},"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the name value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value of price in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value price in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Indicates the locations where this item is available from providers."},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Describes the Unique reference ID for order fulfillment."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"payments":{"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BPP","description":"This field indicates who is the collector of payment. "},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the terms of settlement between the BAP and the BPP for a single transaction"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Denotes settlement amount"}}}}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the catalog's description."}}}},"select":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"select","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This decription refers to the comprehensive list of the products or services selected and obtained within the specified order."}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unique Id of the provider."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This describes the complete formulated description of the loan provider whose catalog items have been selected."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the legal contract created between the buyer and the seller."}}}},"on_select":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_select","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the unique code value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value of price in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value of price in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Provider Locations this item is available in"},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unique Id of the provider."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"DELIVERY","description":"A code that describes the mode of fulfillment. This is typically set when there are multiple ways an order can be fulfilled. "},"customer":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the customer gender."}}},"agent":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"Describes the type of the stops during the fulfillment of order"},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle category."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"energy_type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"CAB","description":"Describes the vehicle energy type."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency to be paid in of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the order description."}}}},"init":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"init","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This decription refers to the comprehensive list of the products or services selected and obtained within the specified order."}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Id of the provider"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This describes the complete formulated description of the loan provider whose catalog items have been selected."}},"billing":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"John Doe","description":"Name of the billable entity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"The billing details of this order"}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes contact of end-customer"}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes contact of end-customer"}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.707358, 77.180910","description":"The GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes vehicle category"},"variant":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"OPTIONAL","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"}},"payments":{"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Payment status"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Payment Type"},"params":{"bank_code":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the payment params for this order."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"The terms of settlement for this order"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"This refers to the complete description of the legal contract created between the buyer and the seller."}}}},"on_init":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_init","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145-4ea3-45fe-ab3d-7bcf6b9f456b","description":"Describes the unique Id of the item."},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the unique code value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of selected item."},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value of price in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value of price in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Indicates the locations where this item is available from providers."},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unqiue Id of the provider"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DELIVERY","description":"A code that describes the mode of fulfillment."},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle category."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"energy_type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"CAB","description":"Describes the vehicle energy type."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Describes the name of the customer"},"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Describes the contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender"}}},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency to be paid in of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the price of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Describes the ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Describe the payment Status for particular order"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Describe the payment type for particular order"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the payment params for this order."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"The terms of settlement for this order"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."},"id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."}}}},"confirm":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"confirm","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This decription refers to the comprehensive list of the products or services selected and obtained within the specified order."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the uique Id of the provider."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This describes the complete formulated description of the loan provider whose catalog items have been selected."}},"billing":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"John Doe","description":"Describes the Name of the billable entity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"The billing details of this order"}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"bc08edb1","description":"ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Describe the payment Status for particular order"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Describe the payment type for particular order"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"transaction_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"cda41144","description":"Describes transaction ID associated with payment activity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the payment params for this order."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"The terms of settlement for this order"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Describe the name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes contact of end-customer"}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Describe the contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes contact of end-customer"}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"Describes the type of the stops during the fulfillment of order"},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"The GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes vehicle category"},"variant":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"OPTIONAL","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"This refers to the complete description of the legal contract created between the buyer and the seller."},"id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."}}}},"on_confirm":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_confirm","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Single Journey Ticket","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"SJT","description":"Describes the unique code value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type to be paid in of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Indicates the locations where this item is available from providers."},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"P1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"P1","description":"Unique reference ID to the payment of an order"},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Describes the name of the customer"},"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Describes the contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"John Doe","description":"Describes the name of the agent"},"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent details."}},"contact":{"phone":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":7845981268,"description":"Describes the contact number of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent."}},"state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ASSIGNED","description":"Describes the state's code for fulfillment."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the fulfillments description."}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"INTERMEDIATE_STOP","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.707358, 77.180910","description":"The GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"authorization":{"type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"OTP","description":"Type of authorization mechanism used. The allowed values for this field can be published as part of the network policy."},"token":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":232312,"description":"Token used for authorization. This is typically generated at the BPP. The BAP can send this value to the user via any channel that it uses to authenticate the user like SMS, Email, Push notification, or in-app rendering."},"_description":{"required":"OPTIONAL","type":"object","owner":"BPP","usage":"--","description":"Describes the authorization for a fulfillments stop."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"AUTO_RICKSHAW","description":"Describes vehicle category"},"make":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Bajaj","description":"Describes vehicle manufacturer"},"model":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"compact-re","description":"Describes vehicle model"},"registration":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"HR-20AS-4578","description":"Describes vehicle registration details"},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency to be paid in of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Describes the ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Describe the Payment Status"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Describe the Payment type"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"amount":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":146,"description":"Describes the amount associated with the payment transaction"},"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency associated with the payment transaction"},"transaction_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"cda41144","description":"Describes transaction ID associated with payment activity"}},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"status":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ACTIVE","description":"Describes the order status."},"created_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes the date-time of creation of this order"},"updated_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes The date-time of updated of this order"},"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."}}}},"cancel":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"cancel","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"60253df1","description":"Describes the unique ID of the order. "},"cancellation_reason_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"45dd6fd3","description":"Describes the reason Id for cancellation"},"descriptor":{"short_desc":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"Accidantaly book the ride","description":"Describes the Short description for cancellaion"},"name":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"Ride Cancellation","description":"Describes the name for cancellaion"},"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"SOFT_CANCEL","description":"Describes the code for cancellaion"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This include the details about the distinctive features, benefits, or unique aspects of the products or service that has been offered to the end customer."}}}},"on_cancel":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_cancel","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique ID of the order. "},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the unique code value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Describes the unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Describes the unique reference ID to the payment of an order"},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Provider Locations this item is available in"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type to be paid in of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unique ID of the provider. "},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"Describes a GPS coordinate"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"authorization":{"type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"OTP","description":"Type of authorization mechanism used. The allowed values for this field can be published as part of the network policy."},"token":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":232312,"description":"Token used for authorization. This is typically generated at the BPP. The BAP can send this value to the user via any channel that it uses to authenticate the user like SMS, Email, Push notification, or in-app rendering."}},"time":{"duration":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"PT2H","description":"Describes the duration."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the fulfillments stops."}},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"John Doe","description":"Name of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BPP","usage":7845981268,"description":"Contact number of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent."}},"vehicle":{"registration":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"HR-20AS-4578","description":"Describes vehicle registration details"},"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"AUTO_RICKSHAW","description":"Describes vehicle category"},"make":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Bajaj","description":"Describes vehicle manufacturer"},"model":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"compact-re","description":"Describes vehicle model"},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the vehicle type."}},"state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DRIVER_ENROUTE","description":"Describes the state's code for fulfillment."},"name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Driver is on the way","description":"Describes the current state"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the fulfillments description."}}},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"P1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Describes the Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency type of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"ID of the payment term that can be referred at an item or an order level in a catalog"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Describe the Payment type"},"params":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes currency value in string form"},"amount":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":60,"description":"Describes a numerical value in decimal form"},"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"bank_account_name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Raghvinder J","description":"Describes the Bank account holder name"},"virtual_payment_address":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"}},"time":{"duration":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P1D","description":"Describes time transaction duration"}},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Describe the Payment Status"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."},"status":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"SOFT_CANCEL","description":"Describes the order status."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."}}}},"status":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"status","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"60253df1","description":"Describes the unique ID of the order. "},"ref_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"60253df1","description":"Describes unique id for reference, pre-order this will be transaction ID."}}},"on_status":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_status","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique ID of the item. "},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the item code."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes a numerical value in decimal form"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Provider Locations this item is available in"},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Id of the provider"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"28.686576, 77.441632","description":"Describes a GPS coordinate"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"CAB","description":"Describes vehicle category"},"make":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Bajaj","description":"Describes vehicle manufacturer"},"model":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"compact-re","description":"Describes vehicle model"},"registration":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"HR-20AS-4578","description":"Describes vehicle registration details"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the vehicle type."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."}},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Jason Roy","description":"Name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BPP","usage":9898657512,"description":"Contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"John Doe","description":"Name of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BPP","usage":7845981268,"description":"Contact number of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent."}},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Delivery","description":"Describes type of fullfilment"},"state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DRIVER_ENROUTE","description":"Describes the state's code for fulfillment."},"name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Driver is on the way","description":"Describes the current state"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the fulfillments description."}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency to be paid in of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"PA1","description":"ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Payment Status"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Payment type"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"transaction_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"cda41144","description":"Describes transaction ID associated with payment activity"},"amount":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":146,"description":"Describes the amount associated with the payment transaction"},"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency associated with the payment transaction"}},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"status":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"ACTIVE","description":"Describes the order status."},"created_at":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes the date-time of creation of this order"},"updated_at":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes The date-time of updated of this order"},"id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."}}}},"update":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_status","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":1,"description":"Describes the unique order id"},"fulfillments":{"customer":{"person":{"name":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"John Adam","description":"Name of the customer"}}},"_description":{"required":"OPTIONAL","type":"object","owner":"BAP/BPP","usage":"--","description":"Name of the customer"}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the unique order id"}}}},"on_update":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_update","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique ID of the item. "},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name. "},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the item code. "},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes a numerical value in decimal form"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Provider Locations this item is available in"},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Id of the provider"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"Describes a GPS coordinate"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the location of stops."}},"authorization":{"type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"OTP","description":"Type of authorization mechanism used. The allowed values for this field can be published as part of the network policy."},"token":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":232312,"description":"Token used for authorization. This is typically generated at the BPP. The BAP can send this value to the user via any channel that it uses to authenticate the user like SMS, Email, Push notification, or in-app rendering."},"_description":{"required":"OPTIONAL","type":"object","owner":"BPP","usage":"--","description":"Describes the authorization for a fulfillments stop."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes vehicle category"},"make":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Bajaj","description":"Describes vehicle manufacturer"},"model":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"compact-re","description":"Describes vehicle model"},"registration":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"HR-20AS-4578","description":"Describes vehicle registration details"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."}},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"John Adam","description":"Name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"John Doe","description":"Name of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BPP","usage":7845981268,"description":"Contact number of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent."}},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Delivery","description":"Describes type of fullfilment"},"state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DRIVER_ENROUTE","description":"Describes the state's code for fulfillment."},"name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Driver is on the way","description":"Describes the current state"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the fulfillments description."}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency to be paid in of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"PA1","description":"ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Payment Status"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Payment type"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"}},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"status":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"COMPLETED","description":"Describes the order status."},"created_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes the date-time of creation of this order"},"updated_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes The date-time of updated of this order"},"billing":{"name":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"John Doe","description":"Describes the Name of the billable entity"},"email":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"jane.doe@example.com","description":"Describes the email of the billable entity"},"phone":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":9897867564,"description":"Describes the contact number of the billable entity"}},"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."}}}},"track":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"track","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"O1","description":"Describes the order ID."}}},"on_track":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_track","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"tracking":{"status":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"O1","description":"Describes the order status."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"28.620976, 77.046732","description":"Describes the gps value."},"updated_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-03-23T05:41:09Z","description":"Describes the updated_at value."}}}}}}}},"x-errorcodes":{"code":[{"Event":"Route Serviceability error","Description":"To & from location not serviceable by Seller application","From":"BPP","code":90201},{"Event":"Tracking not enabled","Description":"Tracking not enabled for any fulfillment in the order","From":"BPP","code":90202},{"Event":"Driver not assigned","Description":"Driver not assigned to the order","From":"BPP","code":90203}]},"x-tlc":{"code":[{"Term":"Buyer App Fee\t","Api":"search/on_search/init/on_init\t","Attribute":"BUYER_FINDER_FEE_TYPE","Owner":"Buyer App","Value":"“amount”, “percent” ","Description":"If set to “amount” it means Buyer App’s fee is a flat amount in INR.\nIf set to “percent” it means the Buyer App’s fee is set as a percentage of the total fare value."},{"Term":"Buyer App Fee ","Api":"search/on_search/init/on_init\t","Attribute":"BUYER_FINDER_FEE_AMOUNT\nBUYER_FINDER_FEE_PERCENTAGE","Owner":"Buyer App","Value":"Positive Decimal Number","Description":"Quantum of the Buyer App’s Fee. To be interpreted in connection with the “type” field mentioned above.\nFor example, let’s assume the value is set at “5”. If the “type” is set to “Amount”, that means the Buyer App Fee is INR 5. If the “type” is set to “percent”, it means the Buyer App Fee is 5% of the Total Order Value."},{"Term":"Payment Collector ","Api":"search/on_search/init/on_init\t","Attribute":"payment.collected_by ","Owner":"Either","Value":"“BAP”, “BPP” ","Description":"If set to “BAP”, it means that the Buyer App will collect payment from the Buyer.\nIf set to “BPP”, it means that the Seller App will collect payment from the Buyer."},{"Term":"Payment Type ","Api":"init/on_init ","Attribute":"payment.type ","Owner":"Either","Value":"“ON-ORDER”, “ON-FULFILLMENT”\n","Description":"How payment is going to be collected from the Buyer. If this parameter is set to “ON-ORDER”, that means it is a pre-paid order, i.e. the payment is collected at the time of order confirmation. If this parameter is set to “ON-FULFILLMENT”, that means it is a pay at the end of the trip, i.e. the payment is collected when the trip ends."},{"Term":"Settlement Basis ","Api":"search/on_search/init/on_init\t","Attribute":"SETTLEMENT_BASIS ","Owner":"Seller App\t","Value":"\"INVOICE_RECEIPT\", “delivery” ","Description":"The event that will trigger settlement from the Payment Collector to counterparty Network Participant(s).\nIf it is set to “trip complete”, that will mean settlement by the Payment Collector will be after the completion of the trip."},{"Term":"Settlement Window ","Api":"search/on_search/init/on_init\t","Attribute":"SETTLEMENT_WINDOW","Owner":"Either","Value":"Time period (ISO8601 format) ","Description":"The time period from completion of the Settlement Basis within which the Payment Collector will settle with counterparty Network Participant(s). As an example, if the Settlement Basis is set as “trip complete” and the Settlement Window is set to 7 days, and the Seller App collects the payment, it means the Seller App will remit funds to the Buyer App on or before the completion of the 7th day after successful completion of the trip,\nISO8601 duration notation is used to specify the value of the parameter. As an illustration, a Settlement Window of 5 days after delivery can be specified as “P5D” (i.e. period 5 days) or “PT120H” (i.e. period 120 hours)."},{"Term":"Settlement Amount","Api":"init/on_init ","Attribute":"SETTLEMENT_AMOUNT","Owner":"Either","Value":"Positive Decimal Number ","Description":"The amount that the Payment Collector will remit to the counterparty Network Participant for the instant transaction.\nFor clarity, if the Buyer App is the Payment Collector, the Buyer App will deduct their fee and remit the balance to the Seller App. If the Seller App is the Payment Collector, they will remit the Buyer App’s fee, deduct its own charges/commission"},{"Term":"Settlement Type","Api":"search/on_search/init/on_init\t","Attribute":"SETTLEMENT_TYPE","Owner":"Either","Value":"\"upi\", \"neft\", \"rtgs\"","Description":"The Payment Collector will use the selected method to remit the due payment to the counterparty Network Participant. To illustrate, if the Buyer App collects the payment and the Settlement Type is set to “rtgs”, when the settlement is due, the Buyer App will transfer the Seller App’s share of the Buyer Price to the Seller App’s account via RTGS."},{"Term":"Item Cancellability ","Api":"search/on_search/init/on_init\t","Attribute":"Handled in cancellation terms ","Owner":"Seller App\t","Value":"true/ false\t","Description":"Whether the order for that item can be canceled after being confirmed. If set to “TRUE” that means the Seller allows the Buyer to cancel the order for the item in question, after confirmation."},{"Term":"Mandatory Arbitration ","Api":"search/on_search/init/on_init\t","Attribute":"MANDATORY_ARBITRATION ","Owner":"Seller App\t","Value":"true/ false\t","Description":"If this attribute is set to true, that would mean both parties agree that in case of a dispute, both parties must resolve the dispute through arbitration."},{"Term":"Court Jurisdiction ","Api":"search/on_search/init/on_init\t","Attribute":"COURT_JURISDICTION ","Owner":"Seller App\t","Value":"Pick a city from a given list of cities which have a High Court bench","Description":"The name of the city whose courts will have exclusive jurisdiction over disputes related to this contract. The list of options will only contain Indian cities which have a High Court bench."},{"Term":"Delay Interest","Api":"search/on_search/init/on_init\t","Attribute":"DELAY_INTEREST","Owner":"Seller App\t","Value":"Positive Decimal Number","Description":"This is the annual rate of interest that the Payment Collector will be charged if they delay a payment to the counterparty Network Participant, calculated pro rata for each calendar day of delay. As an example, if the value is set as “7.3”, and the amount of payment due is INR 1000, that will mean the Payment Collector will pay the counterparty Network Participant an interest of 7.3% per annum (i.e. INR 100), calculated pro rata for each day of delay. So if the Payment Collector delay was 50 days, the total interest payable would be INR 10 [calculated as 1000x(7.3/100)x(50/365)]"},{"Term":"Static Terms","Api":"search/on_search/init/on_init\t","Attribute":"STATIC_TERMS","Owner":"Seller App & Buyer App","Value":"URL","Description":"This will be the URL of a web-page where the standard Terms and Conditions of the Network Participant - which are not covered in the API Specification (e.g.: indemnity) - will be hosted. These terms will apply to the transaction, in addition to the terms decided through the ONDC Protocol. If there is a conflict between the terms decided through the Protocol, and the Static Terms, the terms decided through the ONDC Protocol will prevail. Also, if there is a conflict between the Static Terms and the ONDC Network Policy or the Static Terms and the Network Participant Agreement, the terms of the ONDC Network Policy or the Network Participant Agreement (as the case may be) will prevail."}]},"x-sandboxui":{"dropdown":[{"environment-name":"staging","link":"https://mobility-staging.ondc.org"}]},"x-testcasesui":{"filenames":["log-verification.md"]},"x-changeLog":{"filenames":["TRV10_2.1.0_030924.md"]}} \ No newline at end of file +let build_spec = {"openapi":"3.0.0","info":{"title":"ONDC Specification","description":"ONDC Specification","version":"2.0.0"},"security":[{"SubscriberAuth":[]}],"paths":{"/search":{"post":{"tags":["Provider Platform","Gateway"],"description":"Consumer Platform declares the customer's intent to buy/avail products or services","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"properties":{"action":{"enum":["search"]}}}]},"message":{"type":"object","additionalProperties":false,"properties":{"intent":{"$ref":"#/components/schemas/Intent"}}}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/select":{"post":{"tags":["Provider Platform"],"description":"Consumer Platform declares the customer's cart (or equivalent) created by selecting objects from the catalog","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["select"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/init":{"post":{"tags":["Provider Platform"],"description":"Initialize an order by providing billing and/or shipping details","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["init"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]}},"required":["context","message"]}}}},"responses":{"default":{"description":"Acknowledgement of message received after successful validation of schema and signature","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"object","properties":{"ack":{"allOf":[{"$ref":"#/components/schemas/Ack"},{"type":"object"},{"properties":{"status":{"enum":["ACK","NACK"]}}}]}},"required":["ack"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["message"]}}}}}}},"/confirm":{"post":{"tags":["Provider Platform"],"description":"Initialize an order by providing billing and/or shipping details","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["confirm"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/status":{"post":{"tags":["Provider Platform"],"description":"Fetch the latest order object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["status"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"ref_id":{"$ref":"#/components/schemas/Order/properties/id"},"order_id":{"$ref":"#/components/schemas/Order/properties/id"}}}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/track":{"post":{"tags":["Provider Platform"],"description":"Track an active order","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["track"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order_id":{"$ref":"#/components/schemas/Order/properties/id"},"callback_url":{"type":"string","format":"uri"}},"required":["order_id"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/cancel":{"post":{"tags":["Provider Platform"],"description":"Cancel an order","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["cancel"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order_id":{"$ref":"#/components/schemas/Order/properties/id"},"cancellation_reason_id":{"$ref":"#/components/schemas/Option/properties/id"},"descriptor":{"$ref":"#/components/schemas/Descriptor"}},"required":["order_id"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/update":{"post":{"tags":["Provider Platform"],"description":"Remove object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["update"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"update_target":{"description":"Comma separated values of order objects being updated. For example: ```\"update_target\":\"item,billing,fulfillment\"```","type":"string"},"order":{"description":"Updated order object","allOf":[{"$ref":"#/components/schemas/Order"}]}},"required":["update_target","order"]}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/rating":{"post":{"tags":["Provider Platform"],"description":"Provide feedback on a service","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["rating"]}},"required":["action"]}]},"message":{"type":"object","properties":{"order_id":{"$ref":"#/components/schemas/Order/properties/id"},"ratings":{"type":"array","items":{"$ref":"#/components/schemas/Rating"}}}}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/support":{"post":{"tags":["Provider Platform"],"description":"Contact support","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["support"]}},"required":["action"]}]},"message":{"type":"object","properties":{"support":{"$ref":"#/components/schemas/Support"}}}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_search":{"post":{"tags":["Consumer Platform"],"description":"Provider Platform sends its catalog in response to a search request.","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_search"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"catalog":{"$ref":"#/components/schemas/Catalog"}},"required":["catalog"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_select":{"post":{"tags":["Consumer Platform"],"description":"Send draft order object with quoted price for selected items","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_select"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}}},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_init":{"post":{"tags":["Consumer Platform"],"description":"Send order object with payment details updated","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_init"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_confirm":{"post":{"tags":["Consumer Platform"],"description":"Send active order object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_confirm"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_track":{"post":{"tags":["Consumer Platform"],"description":"Send tracking details of an active order","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_track"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"tracking":{"$ref":"#/components/schemas/Tracking"}},"required":["tracking"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_cancel":{"post":{"tags":["Consumer Platform"],"description":"Send cancellation request_id with reasons list in case of cancellation request. Else send cancelled order object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_cancel"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_update":{"post":{"tags":["Consumer Platform"],"description":"Returns updated service with updated runtime object","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_update"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_status":{"post":{"tags":["Consumer Platform"],"description":"Fetch the status of a Service","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_status"]}},"required":["action"]}]},"message":{"type":"object","additionalProperties":false,"properties":{"order":{"$ref":"#/components/schemas/Order"}},"required":["order"]},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_rating":{"post":{"tags":["Consumer Platform"],"description":"Provide feedback on a service","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_rating"]}},"required":["action"]}]},"message":{"type":"object","properties":{"order_id":{"$ref":"#/components/schemas/Order/properties/id"},"ratings":{"type":"array","items":{"$ref":"#/components/schemas/Rating"}}}},"error":{"$ref":"#/components/schemas/Error"}},"required":["context"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}},"/on_support":{"post":{"tags":["Consumer Platform"],"description":"Contact Support","requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"context":{"allOf":[{"$ref":"#/components/schemas/Context"},{"type":"object","properties":{"action":{"enum":["on_support"]}},"required":["action"]}]},"message":{"type":"object","properties":{"support":{"$ref":"#/components/schemas/Support"}}},"error":{"$ref":"#/components/schemas/Error"}},"required":["context","message"]}}}},"responses":{"default":{"$ref":"#/paths/~1init/post/responses/default"}}}}},"components":{"securitySchemes":{"SubscriberAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Signature of message body using Consumer Platform or Provider Platform subscriber's signing public key.

Format:

Authorization : Signature keyId=\"{subscriber_id}|{unique_key_id}|{algorithm}\",algorithm=\"ed25519\",created=\"1606970629\",expires=\"1607030629\",headers=\"(created) (expires) digest\",signature=\"Base64(signing string)\""}},"schemas":{"Ack":{"description":"Describes the acknowledgement sent in response to an API call. If the implementation uses HTTP/S, then Ack must be returned in the same session. Every API call to a BPP must be responded to with an Ack whether the BPP intends to respond with a callback or not. This has one property called `status` that indicates the status of the Acknowledgement.","type":"object","additionalProperties":false,"properties":{"status":{"type":"string","description":"The status of the acknowledgement. If the request passes the validation criteria of the BPP, then this is set to ACK. If a BPP responds with status = `ACK` to a request, it is required to respond with a callback. If the request fails the validation criteria, then this is set to NACK. Additionally, if a BPP does not intend to respond with a callback even after the request meets the validation criteria, it should set this value to `NACK`.","enum":["ACK","NACK"]},"tags":{"description":"A list of tags containing any additional information sent along with the Acknowledgement.","type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"AddOn":{"description":"Describes an additional item offered as a value-addition to a product or service. This does not exist independently in a catalog and is always associated with an item.","type":"object","additionalProperties":false,"properties":{"id":{"description":"Provider-defined ID of the add-on","type":"string"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"price":{"$ref":"#/components/schemas/Price"},"quantity":{"$ref":"#/components/schemas/ItemQuantity"}}},"Address":{"description":"Describes a postal address.","type":"string"},"Agent":{"description":"Describes the direct performer, driver or executor that fulfills an order. It is usually a person. But in some rare cases, it could be a non-living entity like a drone, or a bot. Some examples of agents are Doctor in the healthcare sector, a driver in the mobility sector, or a delivery person in the logistics sector. This object can be set at any stage of the order lifecycle. This can be set at the discovery stage when the BPP wants to provide details on the agent fulfilling the order, like in healthcare, where the doctor's name appears during search. This object can also used to search for a particular person that the customer wants fulfilling an order. Sometimes, this object gets instantiated after the order is confirmed, like in the case of on-demand taxis, where the driver is assigned after the user confirms the ride.","type":"object","additionalProperties":false,"properties":{"person":{"$ref":"#/components/schemas/Person"},"contact":{"$ref":"#/components/schemas/Contact"},"organization":{"$ref":"#/components/schemas/Organization"},"rating":{"$ref":"#/components/schemas/Rating/properties/value"}}},"Authorization":{"description":"Describes an authorization mechanism used to start or end the fulfillment of an order. For example, in the mobility sector, the driver may require a one-time password to initiate the ride. In the healthcare sector, a patient may need to provide a password to open a video conference link during a teleconsultation.","type":"object","additionalProperties":false,"properties":{"type":{"description":"Type of authorization mechanism used. The allowed values for this field can be published as part of the network policy.","type":"string"},"token":{"description":"Token used for authorization. This is typically generated at the BPP. The BAP can send this value to the user via any channel that it uses to authenticate the user like SMS, Email, Push notification, or in-app rendering.","type":"string"},"valid_from":{"description":"Timestamp in RFC3339 format from which token is valid","type":"string","format":"date-time"},"valid_to":{"description":"Timestamp in RFC3339 format until which token is valid","type":"string","format":"date-time"},"status":{"description":"Status of the token","type":"string"}}},"Billing":{"description":"Describes the billing details of an entity.
This has properties like name,organization,address,email,phone,time,tax_number, created_at,updated_at","type":"object","additionalProperties":false,"properties":{"name":{"description":"Name of the billable entity","type":"string"},"organization":{"description":"Details of the organization being billed.","allOf":[{"$ref":"#/components/schemas/Organization"}]},"address":{"description":"The address of the billable entity","allOf":[{"$ref":"#/components/schemas/Address"}]},"state":{"description":"The state where the billable entity resides. This is important for state-level tax calculation","allOf":[{"$ref":"#/components/schemas/State"}]},"city":{"description":"The city where the billable entity resides.","allOf":[{"$ref":"#/components/schemas/City"}]},"email":{"description":"Email address where the bill is sent to","type":"string","format":"email"},"phone":{"description":"Phone number of the billable entity","type":"string"},"time":{"description":"Details regarding the billing period","allOf":[{"$ref":"#/components/schemas/Time"}]},"tax_id":{"description":"ID of the billable entity as recognized by the taxation authority","type":"string"}}},"Cancellation":{"description":"Describes a cancellation event","type":"object","additionalProperties":false,"properties":{"time":{"description":"Date-time when the order was cancelled by the buyer","type":"string","format":"date-time"},"cancelled_by":{"type":"string","enum":["CONSUMER","PROVIDER"]},"reason":{"description":"The reason for cancellation","allOf":[{"$ref":"#/components/schemas/Option"}]},"additional_description":{"description":"Any additional information regarding the nature of cancellation","allOf":[{"$ref":"#/components/schemas/Descriptor"}]}}},"CancellationTerm":{"description":"Describes the cancellation terms of an item or an order. This can be referenced at an item or order level. Item-level cancellation terms can override the terms at the order level.","type":"object","additionalProperties":false,"properties":{"fulfillment_state":{"description":"The state of fulfillment during which this term is applicable.","allOf":[{"$ref":"#/components/schemas/FulfillmentState"}]},"reason_required":{"description":"Indicates whether a reason is required to cancel the order","type":"boolean"},"cancel_by":{"description":"Information related to the time of cancellation.","allOf":[{"$ref":"#/components/schemas/Time"}]},"cancellation_fee":{"$ref":"#/components/schemas/Fee"},"xinput":{"$ref":"#/components/schemas/XInput"},"external_ref":{"$ref":"#/components/schemas/MediaFile"},"cancellation_eligible":{"description":"Indicates if cancellation is eligible","type":"boolean"}}},"Catalog":{"description":"Describes the products or services offered by a BPP. This is typically sent as the response to a search intent from a BAP. The payment terms, offers and terms of fulfillment supported by the BPP can also be included here. The BPP can show hierarchical nature of products/services in its catalog using the parent_category_id in categories. The BPP can also send a ttl (time to live) in the context which is the duration for which a BAP can cache the catalog and use the cached catalog.
This has properties like bbp/descriptor,bbp/categories,bbp/fulfillments,bbp/payments,bbp/offers,bbp/providers and exp
This is used in the following situations.
  • This is typically used in the discovery stage when the BPP sends the details of the products and services it offers as response to a search intent from the BAP.
","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"fulfillments":{"description":"Fulfillment modes offered at the BPP level. This is used when a BPP itself offers fulfillments on behalf of the providers it has onboarded.","type":"array","items":{"$ref":"#/components/schemas/Fulfillment"}},"payments":{"description":"Payment terms offered by the BPP for all transactions. This can be overriden at the provider level.","type":"array","items":{"$ref":"#/components/schemas/Payment"}},"offers":{"description":"Offers at the BPP-level. This is common across all providers onboarded by the BPP.","type":"array","items":{"$ref":"#/components/schemas/Offer"}},"providers":{"type":"array","items":{"$ref":"#/components/schemas/Provider"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}},"exp":{"description":"Timestamp after which catalog will expire","type":"string","format":"date-time"},"ttl":{"description":"Duration in seconds after which this catalog will expire","type":"string"}}},"Category":{"description":"A label under which a collection of items can be grouped.","type":"object","additionalProperties":false,"properties":{"id":{"description":"ID of the category","type":"string"},"parent_category_id":{"$ref":"#/components/schemas/Category/properties/id"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"time":{"$ref":"#/components/schemas/Time"},"ttl":{"description":"Time to live for an instance of this schema"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Circle":{"description":"Describes a circular region of a specified radius centered at a specified GPS coordinate.","type":"object","additionalProperties":false,"properties":{"gps":{"$ref":"#/components/schemas/Gps"},"radius":{"$ref":"#/components/schemas/Scalar"}}},"City":{"description":"Describes a city","type":"object","additionalProperties":false,"properties":{"name":{"description":"Name of the city","type":"string"},"code":{"description":"City code","type":"string"}}},"Contact":{"description":"Describes the contact information of an entity","type":"object","additionalProperties":false,"properties":{"phone":{"type":"string"},"email":{"type":"string"},"jcard":{"type":"object","additionalProperties":false,"description":"A Jcard object as per draft-ietf-jcardcal-jcard-03 specification"}}},"Context":{"description":"Every API call in beckn protocol has a context. It provides a high-level overview to the receiver about the nature of the intended transaction. Typically, it is the BAP that sets the transaction context based on the consumer's location and action on their UI. But sometimes, during unsolicited callbacks, the BPP also sets the transaction context but it is usually the same as the context of a previous full-cycle, request-callback interaction between the BAP and the BPP. The context object contains four types of fields.
  1. Demographic information about the transaction using fields like `domain`, `country`, and `region`.
  2. Addressing details like the sending and receiving platform's ID and API URL.
  3. Interoperability information like the protocol version that implemented by the sender and,
  4. Transaction details like the method being called at the receiver's endpoint, the transaction_id that represents an end-to-end user session at the BAP, a message ID to pair requests with callbacks, a timestamp to capture sending times, a ttl to specifiy the validity of the request, and a key to encrypt information if necessary.
This object must be passed in every interaction between a BAP and a BPP. In HTTP/S implementations, it is not necessary to send the context during the synchronous response. However, in asynchronous protocols, the context must be sent during all interactions,","type":"object","additionalProperties":false,"properties":{"domain":{"description":"Domain code that is relevant to this transaction context","allOf":[{"$ref":"#/components/schemas/Domain/properties/code","type":"string"}]},"location":{"description":"The location where the transaction is intended to be fulfilled.","allOf":[{"$ref":"#/components/schemas/Location"}]},"action":{"description":"The Beckn protocol method being called by the sender and executed at the receiver.","type":"string"},"version":{"type":"string","description":"Version of transaction protocol being used by the sender."},"bap_id":{"description":"Subscriber ID of the BAP","allOf":[{"description":"A globally unique identifier of the platform, Typically it is the fully qualified domain name (FQDN) of the platform.","type":"string"}]},"bap_uri":{"description":"Subscriber URL of the BAP for accepting callbacks from BPPs.","allOf":[{"description":"The callback URL of the Subscriber. This should necessarily contain the same domain name as set in `subscriber_id``.","type":"string","format":"uri"}]},"bpp_id":{"description":"Subscriber ID of the BPP","allOf":[{"$ref":"#/components/schemas/Context/properties/bap_id/allOf/0"}]},"bpp_uri":{"description":"Subscriber URL of the BPP for accepting calls from BAPs.","allOf":[{"$ref":"#/components/schemas/Context/properties/bap_uri/allOf/0"}]},"transaction_id":{"description":"This is a unique value which persists across all API calls from `search` through `confirm`. This is done to indicate an active user session across multiple requests. The BPPs can use this value to push personalized recommendations, and dynamic offerings related to an ongoing transaction despite being unaware of the user active on the BAP.","type":"string","format":"uuid"},"message_id":{"description":"This is a unique value which persists during a request / callback cycle. Since beckn protocol APIs are asynchronous, BAPs need a common value to match an incoming callback from a BPP to an earlier call. This value can also be used to ignore duplicate messages coming from the BPP. It is recommended to generate a fresh message_id for every new interaction. When sending unsolicited callbacks, BPPs must generate a new message_id.","type":"string","format":"uuid"},"timestamp":{"description":"Time of request generation in RFC3339 format","type":"string","format":"date-time"},"key":{"description":"The encryption public key of the sender","type":"string"},"ttl":{"description":"The duration in ISO8601 format after timestamp for which this message holds valid","type":"string"}}},"Country":{"description":"Describes a country","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the country"},"code":{"type":"string","description":"Country code as per ISO 3166-1 and ISO 3166-2 format"}}},"Credential":{"description":"Describes a credential of an entity - Person or Organization","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","default":"VerifiableCredential"},"url":{"description":"URL of the credential","type":"string","format":"uri"}}},"Customer":{"description":"Describes a customer buying/availing a product or a service","type":"object","additionalProperties":false,"properties":{"person":{"$ref":"#/components/schemas/Person"},"contact":{"$ref":"#/components/schemas/Contact"}}},"DecimalValue":{"description":"Describes a numerical value in decimal form","type":"string","pattern":"[+-]?([0-9]*[.])?[0-9]+"},"Descriptor":{"description":"Physical description of something.","type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"code":{"type":"string"},"short_desc":{"type":"string"},"long_desc":{"type":"string"},"additional_desc":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string"},"content_type":{"type":"string","enum":["text/plain","text/html","application/json"]}}},"media":{"type":"array","items":{"$ref":"#/components/schemas/MediaFile"}},"images":{"type":"array","items":{"$ref":"#/components/schemas/Image"}}}},"Domain":{"description":"Described the industry sector or sub-sector. The network policy should contain codes for all the industry sectors supported by the network. Domains can be created in varying levels of granularity. The granularity of a domain can be decided by the participants of the network. Too broad domains will result in irrelevant search broadcast calls to BPPs that don't have services supporting the domain. Too narrow domains will result in a large number of registry entries for each BPP. It is recommended that network facilitators actively collaborate with various working groups and network participants to carefully choose domain codes keeping in mind relevance, performance, and opportunity cost. It is recommended that networks choose broad domains like mobility, logistics, healthcare etc, and progressively granularize them as and when the number of network participants for each domain grows large.","type":"object","additionalProperties":false,"properties":{"name":{"description":"Name of the domain","type":"string"},"code":{"description":"Standard code representing the domain. The standard is usually published as part of the network policy. Furthermore, the network facilitator should also provide a mechanism to provide the supported domains of a network."},"additional_info":{"description":"A url that contains addtional information about that domain.","allOf":[{"$ref":"#/components/schemas/MediaFile"}]}}},"Duration":{"description":"Describes duration as per ISO8601 format","type":"string"},"Error":{"description":"Describes an error object that is returned by a BAP, BPP or BG as a response or callback to an action by another network participant. This object is sent when any request received by a network participant is unacceptable. This object can be sent either during Ack or with the callback.","type":"object","additionalProperties":false,"properties":{"code":{"type":"string","description":"Standard error code. For full list of error codes, refer to docs/protocol-drafts/BECKN-005-ERROR-CODES-DRAFT-01.md of this repo\""},"paths":{"type":"string","description":"Path to json schema generating the error. Used only during json schema validation errors"},"message":{"type":"string","description":"Human readable message describing the error. Used mainly for logging. Not recommended to be shown to the user."}}},"Fee":{"description":"A fee applied on a particular entity","type":"object","additionalProperties":false,"properties":{"percentage":{"description":"Percentage of a value","allOf":[{"$ref":"#/components/schemas/DecimalValue"}]},"amount":{"description":"A fixed value","allOf":[{"$ref":"#/components/schemas/Price"}]}}},"Form":{"description":"Describes a form","type":"object","additionalProperties":false,"properties":{"id":{"description":"The form identifier.","type":"string"},"url":{"description":"The URL from where the form can be fetched. The content fetched from the url must be processed as per the mime_type specified in this object. Once fetched, the rendering platform can choosed to render the form as-is as an embeddable element; or process it further to blend with the theme of the application. In case the interface is non-visual, the the render can process the form data and reproduce it as per the standard specified in the form.","type":"string","format":"uri"},"data":{"description":"The form submission data","type":"object","additionalProperties":{"type":"string"}},"mime_type":{"description":"This field indicates the nature and format of the form received by querying the url. MIME types are defined and standardized in IETF's RFC 6838.","type":"string","enum":["text/html","application/html","application/xml"]},"resubmit":{"type":"boolean"},"multiple_submissions":{"type":"boolean"}}},"Fulfillment":{"description":"Describes how a an order will be rendered/fulfilled to the end-customer","type":"object","additionalProperties":false,"properties":{"id":{"description":"Unique reference ID to the fulfillment of an order","type":"string"},"type":{"description":"A code that describes the mode of fulfillment. This is typically set when there are multiple ways an order can be fulfilled. For example, a retail order can be fulfilled either via store pickup or a home delivery. Similarly, a medical consultation can be provided either in-person or via tele-consultation. The network policy must publish standard fulfillment type codes for the different modes of fulfillment.","type":"string"},"rateable":{"description":"Whether the fulfillment can be rated or not","type":"boolean"},"rating":{"description":"The rating value of the fulfullment service.","allOf":[{"$ref":"#/components/schemas/Rating/properties/value"}]},"state":{"description":"The current state of fulfillment. The BPP must set this value whenever the state of the order fulfillment changes and fire an unsolicited `on_status` call.","allOf":[{"$ref":"#/components/schemas/FulfillmentState"}]},"tracking":{"type":"boolean","description":"Indicates whether the fulfillment allows tracking","default":false},"customer":{"description":"The person that will ultimately receive the order","allOf":[{"$ref":"#/components/schemas/Customer"}]},"agent":{"description":"The agent that is currently handling the fulfillment of the order","allOf":[{"$ref":"#/components/schemas/Agent"}]},"contact":{"$ref":"#/components/schemas/Contact"},"vehicle":{"$ref":"#/components/schemas/Vehicle"},"stops":{"description":"The list of logical stops encountered during the fulfillment of an order.","type":"array","items":{"$ref":"#/components/schemas/Stop"}},"path":{"description":"The physical path taken by the agent that can be rendered on a map. The allowed format of this property can be set by the network.","type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"FulfillmentState":{"description":"Describes the state of fulfillment","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"updated_at":{"type":"string","format":"date-time"},"updated_by":{"type":"string","description":"ID of entity which changed the state"}}},"Gps":{"description":"Describes a GPS coordinate","type":"string","pattern":"^[-+]?([1-8]?\\d(\\.\\d+)?|90(\\.0+)?),\\s*[-+]?(180(\\.0+)?|((1[0-7]\\d)|([1-9]?\\d))(\\.\\d+)?)$"},"Image":{"description":"Describes an image","type":"object","additionalProperties":false,"properties":{"url":{"description":"URL to the image. This can be a data url or an remote url","type":"string","format":"uri"},"size_type":{"description":"The size of the image. The network policy can define the default dimensions of each type","type":"string","enum":["xs","sm","md","lg","xl","custom"]},"width":{"description":"Width of the image in pixels","type":"string"},"height":{"description":"Height of the image in pixels","type":"string"}}},"Intent":{"description":"The intent to buy or avail a product or a service. The BAP can declare the intent of the consumer containing
  • What they want (A product, service, offer)
  • Who they want (A seller, service provider, agent etc)
  • Where they want it and where they want it from
  • When they want it (start and end time of fulfillment
  • How they want to pay for it

This has properties like descriptor,provider,fulfillment,payment,category,offer,item,tags
This is typically used by the BAP to send the purpose of the user's search to the BPP. This will be used by the BPP to find products or services it offers that may match the user's intent.
For example, in Mobility, the mobility consumer declares a mobility intent. In this case, the mobility consumer declares information that describes various aspects of their journey like,
  • Where would they like to begin their journey (intent.fulfillment.start.location)
  • Where would they like to end their journey (intent.fulfillment.end.location)
  • When would they like to begin their journey (intent.fulfillment.start.time)
  • When would they like to end their journey (intent.fulfillment.end.time)
  • Who is the transport service provider they would like to avail services from (intent.provider)
  • Who is traveling (This is not recommended in public networks) (intent.fulfillment.customer)
  • What kind of fare product would they like to purchase (intent.item)
  • What add-on services would they like to avail
  • What offers would they like to apply on their booking (intent.offer)
  • What category of services would they like to avail (intent.category)
  • What additional luggage are they carrying
  • How would they like to pay for their journey (intent.payment)

For example, in health domain, a consumer declares the intent for a lab booking the describes various aspects of their booking like,
  • Where would they like to get their scan/test done (intent.fulfillment.start.location)
  • When would they like to get their scan/test done (intent.fulfillment.start.time)
  • When would they like to get the results of their test/scan (intent.fulfillment.end.time)
  • Who is the service provider they would like to avail services from (intent.provider)
  • Who is getting the test/scan (intent.fulfillment.customer)
  • What kind of test/scan would they like to purchase (intent.item)
  • What category of services would they like to avail (intent.category)
  • How would they like to pay for their journey (intent.payment)
","type":"object","additionalProperties":false,"properties":{"descriptor":{"description":"A raw description of the search intent. Free text search strings, raw audio, etc can be sent in this object.","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"provider":{"description":"The provider from which the customer wants to place to the order from","allOf":[{"$ref":"#/components/schemas/Provider"}]},"fulfillment":{"description":"Details on how the customer wants their order fulfilled","allOf":[{"$ref":"#/components/schemas/Fulfillment"}]},"payment":{"description":"Details on how the customer wants to pay for the order","allOf":[{"$ref":"#/components/schemas/Payment"}]},"category":{"description":"Details on the item category","allOf":[{"$ref":"#/components/schemas/Category"}]},"offer":{"description":"details on the offer the customer wants to avail","allOf":[{"$ref":"#/components/schemas/Offer"}]},"item":{"description":"Details of the item that the consumer wants to order","allOf":[{"$ref":"#/components/schemas/Item"}]},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"ItemQuantity":{"description":"Describes the count or amount of an item","type":"object","additionalProperties":false,"properties":{"allocated":{"description":"This represents the exact quantity allocated for purchase of the item.","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":0},"measure":{"$ref":"#/components/schemas/Scalar"}}},"available":{"description":"This represents the exact quantity available for purchase of the item. The buyer can only purchase multiples of this","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":0},"measure":{"$ref":"#/components/schemas/Scalar"}}},"maximum":{"description":"This represents the maximum quantity allowed for purchase of the item","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":1},"measure":{"$ref":"#/components/schemas/Scalar"}}},"minimum":{"description":"This represents the minimum quantity allowed for purchase of the item","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":0},"measure":{"$ref":"#/components/schemas/Scalar"}}},"selected":{"description":"This represents the quantity selected for purchase of the item","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":0},"measure":{"$ref":"#/components/schemas/Scalar"}}},"unitized":{"description":"This represents the quantity available in a single unit of the item","type":"object","additionalProperties":false,"properties":{"count":{"type":"integer","minimum":1,"maximum":1},"measure":{"$ref":"#/components/schemas/Scalar"}}}}},"Item":{"description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item.","type":"object","additionalProperties":false,"properties":{"id":{"description":"ID of the item.","type":"string"},"parent_item_id":{"description":"ID of the item, this item is a variant of","allOf":[{"$ref":"#/components/schemas/Item/properties/id"}]},"parent_item_quantity":{"description":"The number of units of the parent item this item is a multiple of","allOf":[{"$ref":"#/components/schemas/ItemQuantity"}]},"descriptor":{"description":"Physical description of the item","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"creator":{"description":"The creator of this item","allOf":[{"$ref":"#/components/schemas/Organization"}]},"price":{"description":"The price of this item, if it has intrinsic value","allOf":[{"$ref":"#/components/schemas/Price"}]},"quantity":{"description":"The selling quantity of the item","allOf":[{"$ref":"#/components/schemas/ItemQuantity"}]},"category_ids":{"description":"Categories this item can be listed under","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Category/properties/id"}]}},"fulfillment_ids":{"description":"Modes through which this item can be fulfilled","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Fulfillment/properties/id"}]}},"location_ids":{"description":"Provider Locations this item is available in","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Location/properties/id"}]}},"payment_ids":{"description":"Payment modalities through which this item can be ordered","type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Payment/properties/id"}]}},"add_ons":{"type":"array","items":{"$ref":"#/components/schemas/AddOn"}},"cancellation_terms":{"description":"Cancellation terms of this item","type":"array","items":{"$ref":"#/components/schemas/CancellationTerm"}},"refund_terms":{"description":"Refund terms of this item","type":"array","items":{"description":"Refund term of an item or an order","type":"object","additionalProperties":false,"properties":{"fulfillment_state":{"description":"The state of fulfillment during which this term is applicable.","allOf":[{"$ref":"#/components/schemas/State"}]},"refund_eligible":{"description":"Indicates if cancellation will result in a refund","type":"boolean"},"refund_within":{"description":"Time within which refund will be processed after successful cancellation.","allOf":[{"$ref":"#/components/schemas/Time"}]},"refund_amount":{"$ref":"#/components/schemas/Price"}}}},"replacement_terms":{"description":"Terms that are applicable be met when this item is replaced","type":"array","items":{"$ref":"#/components/schemas/ReplacementTerm"}},"return_terms":{"description":"Terms that are applicable when this item is returned","type":"array","items":{"$ref":"#/components/schemas/ReturnTerm"}},"xinput":{"description":"Additional input required from the customer to purchase / avail this item","allOf":[{"$ref":"#/components/schemas/XInput"}]},"time":{"description":"Temporal attributes of this item. This property is used when the item exists on the catalog only for a limited period of time.","allOf":[{"$ref":"#/components/schemas/Time"}]},"rateable":{"description":"Whether this item can be rated","type":"boolean"},"rating":{"description":"The rating of the item","allOf":[{"$ref":"#/components/schemas/Rating/properties/value"}]},"matched":{"description":"Whether this item is an exact match of the request","type":"boolean"},"related":{"description":"Whether this item is a related item to the exactly matched item","type":"boolean"},"recommended":{"description":"Whether this item is a recommended item to a response","type":"boolean"},"ttl":{"description":"Time to live in seconds for an instance of this schema","type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Location":{"description":"The physical location of something","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"map_url":{"description":"The url to the map of the location. This can be a globally recognized map url or the one specified by the network policy.","type":"string","format":"uri"},"gps":{"description":"The GPS co-ordinates of this location.","allOf":[{"$ref":"#/components/schemas/Gps"}]},"updated_at":{"type":"string","format":"date-time"},"address":{"description":"The address of this location.","allOf":[{"$ref":"#/components/schemas/Address"}]},"city":{"description":"The city this location is, or is located within","allOf":[{"$ref":"#/components/schemas/City"}]},"district":{"description":"The state this location is, or is located within","type":"string"},"state":{"description":"The state this location is, or is located within","allOf":[{"$ref":"#/components/schemas/State"}]},"country":{"description":"The country this location is, or is located within","allOf":[{"$ref":"#/components/schemas/Country"}]},"area_code":{"type":"string"},"circle":{"$ref":"#/components/schemas/Circle"},"polygon":{"description":"The boundary polygon of this location","type":"string"},"3dspace":{"description":"The three dimensional region describing this location","type":"string"},"rating":{"description":"The rating of this location","allOf":[{"$ref":"#/components/schemas/Rating/properties/value"}]}}},"MediaFile":{"description":"This object contains a url to a media file.","type":"object","additionalProperties":false,"properties":{"mimetype":{"description":"indicates the nature and format of the document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838","type":"string"},"url":{"description":"The URL of the file","type":"string","format":"uri"},"signature":{"description":"The digital signature of the file signed by the sender","type":"string"},"dsa":{"description":"The signing algorithm used by the sender","type":"string"}}},"Offer":{"description":"An offer associated with a catalog. This is typically used to promote a particular product and enable more purchases.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"location_ids":{"type":"array","items":{"$ref":"#/components/schemas/Location/properties/id"}},"category_ids":{"type":"array","items":{"$ref":"#/components/schemas/Category/properties/id"}},"item_ids":{"type":"array","items":{"$ref":"#/components/schemas/Item/properties/id"}},"time":{"$ref":"#/components/schemas/Time"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Option":{"description":"Describes a selectable option","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"descriptor":{"$ref":"#/components/schemas/Descriptor"}}},"Order":{"description":"Describes a legal purchase order. It contains the complete details of the legal contract created between the buyer and the seller.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"Human-readable ID of the order. This is generated at the BPP layer. The BPP can either generate order id within its system or forward the order ID created at the provider level."},"ref_order_ids":{"description":"A list of order IDs to link this order to previous orders.","type":"array","items":{"type":"string","description":"ID of a previous order"}},"status":{"description":"Status of the order. Allowed values can be defined by the network policy","type":"string","enum":["ACTIVE","COMPLETE","CANCELLED","COMPLETED","SOFT_CANCEL","CANCELLATION_INITIATED","CANCELLATION_REJECTED","SOFT_UPDATE","CONFIRM_UPDATE","UPDATED"]},"type":{"description":"This is used to indicate the type of order being created to BPPs. Sometimes orders can be linked to previous orders, like a replacement order in a retail domain. A follow-up consultation in healthcare domain. A single order part of a subscription order. The list of order types can be standardized at the network level.","type":"string","default":"DEFAULT","enum":["DRAFT","DEFAULT"]},"provider":{"description":"Details of the provider whose catalog items have been selected.","allOf":[{"$ref":"#/components/schemas/Provider"}]},"items":{"description":"The items purchased / availed in this order","type":"array","items":{"$ref":"#/components/schemas/Item"}},"add_ons":{"description":"The add-ons purchased / availed in this order","type":"array","items":{"$ref":"#/components/schemas/AddOn"}},"offers":{"description":"The offers applied in this order","type":"array","items":{"$ref":"#/components/schemas/Offer"}},"billing":{"description":"The billing details of this order","allOf":[{"$ref":"#/components/schemas/Billing"}]},"fulfillments":{"description":"The fulfillments involved in completing this order","type":"array","items":{"$ref":"#/components/schemas/Fulfillment"}},"cancellation":{"description":"The cancellation details of this order","allOf":[{"$ref":"#/components/schemas/Cancellation"}]},"cancellation_terms":{"description":"Cancellation terms of this item","type":"array","items":{"$ref":"#/components/schemas/CancellationTerm"}},"documents":{"type":"array","items":{"description":"Documnents associated to the order","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"mime_type":{"description":"This field indicates the nature and format of the form received by querying the url. MIME types are defined and standardized in IETF's RFC 6838.","type":"string","enum":["text/html","application/html","application/xml","application/pdf"]},"url":{"description":"The URL from where the form can be fetched. The content fetched from the url must be processed as per the mime_type specified in this object.","type":"string","format":"uri"}}}},"refund_terms":{"description":"Refund terms of this item","type":"array","items":{"$ref":"#/components/schemas/Item/properties/refund_terms/items"}},"replacement_terms":{"description":"Replacement terms of this item","type":"array","items":{"$ref":"#/components/schemas/ReplacementTerm"}},"return_terms":{"description":"Return terms of this item","type":"array","items":{"$ref":"#/components/schemas/ReturnTerm"}},"quote":{"description":"The mutually agreed upon quotation for this order.","allOf":[{"$ref":"#/components/schemas/Quotation"}]},"payments":{"description":"The terms of settlement for this order","type":"array","items":{"$ref":"#/components/schemas/Payment"}},"created_at":{"description":"The date-time of creation of this order","type":"string","format":"date-time"},"updated_at":{"description":"The date-time of updated of this order","type":"string","format":"date-time"},"xinput":{"description":"Additional input required from the customer to confirm this order","allOf":[{"$ref":"#/components/schemas/XInput"}]},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Organization":{"description":"An organization. Usually a recognized business entity.","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"address":{"description":"The postal address of the organization","allOf":[{"$ref":"#/components/schemas/Address"}]},"state":{"description":"The state where the organization's address is registered","allOf":[{"$ref":"#/components/schemas/State"}]},"city":{"description":"The city where the the organization's address is registered","allOf":[{"$ref":"#/components/schemas/City"}]},"contact":{"$ref":"#/components/schemas/Contact"}}},"Payment":{"description":"Describes the terms of settlement between the BAP and the BPP for a single transaction. When instantiated, this object contains
  1. the amount that has to be settled,
  2. The payment destination destination details
  3. When the settlement should happen, and
  4. A transaction reference ID
. During a transaction, the BPP reserves the right to decide the terms of payment. However, the BAP can send its terms to the BPP first. If the BPP does not agree to those terms, it must overwrite the terms and return them to the BAP. If overridden, the BAP must either agree to the terms sent by the BPP in order to preserve the provider's autonomy, or abort the transaction. In case of such disagreements, the BAP and the BPP can perform offline negotiations on the payment terms. Once an agreement is reached, the BAP and BPP can resume transactions.","type":"object","additionalProperties":false,"properties":{"id":{"description":"ID of the payment term that can be referred at an item or an order level in a catalog","type":"string"},"collected_by":{"description":"This field indicates who is the collector of payment. The BAP can set this value to 'bap' if it wants to collect the payment first and settle it to the BPP. If the BPP agrees to those terms, the BPP should not send the payment url. Alternatively, the BPP can set this field with the value 'bpp' if it wants the payment to be made directly.","type":"string"},"url":{"type":"string","description":"A payment url to be called by the BAP. If empty, then the payment is to be done offline. The details of payment should be present in the params object. If tl_method = http/get, then the payment details will be sent as url params. Two url param values, ```$transaction_id``` and ```$amount``` are mandatory.","format":"uri"},"tl_method":{"type":"string"},"params":{"type":"object","additionalProperties":false,"properties":{"transaction_id":{"type":"string","description":"The reference transaction ID associated with a payment activity"},"amount":{"type":"string"},"currency":{"type":"string"},"bank_code":{"type":"string"},"bank_account_number":{"type":"string"},"virtual_payment_address":{"type":"string"},"source_bank_code":{"type":"string"},"source_bank_account_number":{"type":"string"},"source_virtual_payment_address":{"type":"string"}}},"type":{"type":"string","enum":["PRE-ORDER","PRE-FULFILLMENT","ON-FULFILLMENT","POST-FULFILLMENT","ON-ORDER","PART-PAYMENT"]},"status":{"type":"string","enum":["PAID","NOT-PAID"]},"time":{"$ref":"#/components/schemas/Time"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Person":{"description":"Describes a person as any individual","type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"Describes the identity of the person"},"url":{"description":"Profile url of the person","type":"string","format":"uri"},"name":{"description":"the name of the person","type":"string"},"image":{"$ref":"#/components/schemas/Image"},"age":{"description":"Age of the person","allOf":[{"$ref":"#/components/schemas/Duration"}]},"dob":{"description":"Date of birth of the person","type":"string","format":"date"},"gender":{"type":"string","description":"Gender of something, typically a Person, but possibly also fictional characters, animals, etc. While Male and Female may be used, text strings are also acceptable for people who do not identify as a binary gender.Allowed values for this field can be published in the network policy"},"creds":{"type":"array","items":{"$ref":"#/components/schemas/Credential"}},"languages":{"type":"array","items":{"description":"Describes a language known to the person.","type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"}}}},"skills":{"type":"array","items":{"description":"Describes a skill of the person.","type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"}}}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}}}},"Price":{"description":"Describes the price of a product or service","type":"object","additionalProperties":false,"properties":{"currency":{"type":"string"},"value":{"$ref":"#/components/schemas/DecimalValue"},"estimated_value":{"$ref":"#/components/schemas/DecimalValue"},"computed_value":{"$ref":"#/components/schemas/DecimalValue"},"listed_value":{"$ref":"#/components/schemas/DecimalValue"},"offered_value":{"$ref":"#/components/schemas/DecimalValue"},"minimum_value":{"$ref":"#/components/schemas/DecimalValue"},"maximum_value":{"$ref":"#/components/schemas/DecimalValue"}}},"Provider":{"description":"Describes the catalog of a business.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"Id of the provider"},"descriptor":{"$ref":"#/components/schemas/Descriptor"},"category_id":{"type":"string","description":"Category Id of the provider at the BPP-level catalog"},"rating":{"$ref":"#/components/schemas/Rating/properties/value"},"time":{"$ref":"#/components/schemas/Time"},"categories":{"type":"array","items":{"$ref":"#/components/schemas/Category"}},"fulfillments":{"type":"array","items":{"$ref":"#/components/schemas/Fulfillment"}},"payments":{"type":"array","items":{"$ref":"#/components/schemas/Payment"}},"locations":{"type":"array","items":{"$ref":"#/components/schemas/Location"}},"offers":{"type":"array","items":{"$ref":"#/components/schemas/Offer"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/Item"}},"exp":{"type":"string","description":"Time after which catalog has to be refreshed","format":"date-time"},"rateable":{"description":"Whether this provider can be rated or not","type":"boolean"},"ttl":{"description":"The time-to-live in seconds, for this object. This can be overriden at deeper levels. A value of -1 indicates that this object is not cacheable.","type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagGroup"}},"cancellation_terms":{"description":"Cancellation terms of this item","type":"array","items":{"$ref":"#/components/schemas/CancellationTerm"}}}},"Quotation":{"description":"Describes a quote. It is the estimated price of products or services from the BPP.
This has properties like price, breakup, ttl","type":"object","additionalProperties":false,"properties":{"id":{"description":"ID of the quote.","type":"string"},"price":{"description":"The total quoted price","allOf":[{"$ref":"#/components/schemas/Price"}]},"breakup":{"description":"the breakup of the total quoted price","type":"array","items":{"type":"object","additionalProperties":false,"properties":{"item":{"$ref":"#/components/schemas/Item"},"title":{"type":"string"},"price":{"$ref":"#/components/schemas/Price"}}}},"ttl":{"$ref":"#/components/schemas/Duration"}}},"Rating":{"description":"Describes the rating of an entity","type":"object","additionalProperties":false,"properties":{"rating_category":{"description":"Category of the entity being rated","type":"string","enum":["ITEM","ORDER","FULFILLMENT","PROVIDER","AGENT","SUPPORT"]},"id":{"description":"Id of the object being rated","type":"string"},"value":{"description":"Rating value given to the object. This can be a single value or can also contain an inequality operator like gt, gte, lt, lte. This can also contain an inequality expression containing logical operators like && and ||.","type":"string"}}},"Region":{"description":"Describes an arbitrary region of space. The network policy should contain a published list of supported regions by the network.","type":"object","additionalProperties":false,"properties":{"dimensions":{"description":"The number of dimensions that are used to describe any point inside that region. The most common dimensionality of a region is 2, that represents an area on a map. There are regions on the map that can be approximated to one-dimensional regions like roads, railway lines, or shipping lines. 3 dimensional regions are rarer, but are gaining popularity as flying drones are being adopted for various fulfillment services.","type":"string","enum":["1","2","3"]},"type":{"description":"The type of region. This is used to specify the granularity of the region represented by this object. Various examples of two-dimensional region types are city, country, state, district, and so on. The network policy should contain a list of all possible region types supported by the network.","type":"string"},"name":{"type":"string","description":"Name of the region as specified on the map where that region exists."},"code":{"type":"string","description":"A standard code representing the region. This should be interpreted in the same way by all network participants."},"boundary":{"type":"string","description":"A string representing the boundary of the region. One-dimensional regions are represented by polylines. Two-dimensional regions are represented by polygons, and three-dimensional regions can represented by polyhedra."},"map_url":{"type":"string","description":"The url to the map of the region. This can be a globally recognized map or the one specified by the network policy."}}},"ReplacementTerm":{"description":"The replacement policy of an item or an order","type":"object","additionalProperties":false,"properties":{"fulfillment_state":{"description":"The state of fulfillment during which this term is applicable.","allOf":[{"$ref":"#/components/schemas/State"}]},"replace_within":{"description":"Applicable only for buyer managed returns where the buyer has to replace the item before a certain date-time, failing which they will not be eligible for replacement","allOf":[{"$ref":"#/components/schemas/Time"}]},"external_ref":{"$ref":"#/components/schemas/MediaFile"}}},"ReturnTerm":{"description":"Describes the return policy of an item or an order","type":"object","additionalProperties":false,"properties":{"fulfillment_state":{"description":"The state of fulfillment during which this term IETF''s applicable.","allOf":[{"$ref":"#/components/schemas/State"}]},"return_eligible":{"description":"Indicates whether the item is eligible for return","type":"boolean"},"return_time":{"description":"Applicable only for buyer managed returns where the buyer has to return the item to the origin before a certain date-time, failing which they will not be eligible for refund.","allOf":[{"$ref":"#/components/schemas/Time"}]},"return_location":{"description":"The location where the item or order must / will be returned to","allOf":[{"$ref":"#/components/schemas/Location"}]},"fulfillment_managed_by":{"description":"The entity that will perform the return","type":"string","enum":["CONSUMER","PROVIDER"]}}},"Scalar":{"description":"Describes a scalar","type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["CONSTANT","VARIABLE"]},"value":{"$ref":"#/components/schemas/DecimalValue"},"estimated_value":{"$ref":"#/components/schemas/DecimalValue"},"computed_value":{"$ref":"#/components/schemas/DecimalValue"},"range":{"type":"object","additionalProperties":false,"properties":{"min":{"$ref":"#/components/schemas/DecimalValue"},"max":{"$ref":"#/components/schemas/DecimalValue"}}},"unit":{"type":"string"}}},"Schedule":{"description":"Describes schedule as a repeating time period used to describe a regularly recurring event. At a minimum a schedule will specify frequency which describes the interval between occurrences of the event. Additional information can be provided to specify the schedule more precisely. This includes identifying the timestamps(s) of when the event will take place. Schedules may also have holidays to exclude a specific day from the schedule.
This has properties like frequency, holidays, times","type":"object","additionalProperties":false,"properties":{"frequency":{"$ref":"#/components/schemas/Duration"},"holidays":{"type":"array","items":{"type":"string","format":"date-time"}},"times":{"type":"array","items":{"type":"string","format":"date-time"}}}},"State":{"description":"A bounded geopolitical region of governance inside a country.","type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the state"},"code":{"type":"string","description":"State code as per country or international standards"}}},"Stop":{"description":"A logical point in space and time during the fulfillment of an order.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"parent_stop_id":{"type":"string"},"location":{"description":"Location of the stop","allOf":[{"$ref":"#/components/schemas/Location"}]},"type":{"description":"The type of stop. Allowed values of this property can be defined by the network policy.","type":"string"},"time":{"description":"Timings applicable at the stop.","allOf":[{"$ref":"#/components/schemas/Time"}]},"instructions":{"description":"Instructions that need to be followed at the stop","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"contact":{"description":"Contact details of the stop","allOf":[{"$ref":"#/components/schemas/Contact"}]},"person":{"description":"The details of the person present at the stop","allOf":[{"$ref":"#/components/schemas/Person"}]},"authorization":{"$ref":"#/components/schemas/Authorization"}}},"Support":{"description":"Details of customer support","type":"object","additionalProperties":false,"properties":{"ref_id":{"type":"string"},"callback_phone":{"type":"string","format":"phone"},"phone":{"type":"string","format":"phone"},"email":{"type":"string","format":"email"},"url":{"type":"string","format":"uri"}}},"Tag":{"description":"Describes a tag. This is used to contain extended metadata. This object can be added as a property to any schema to describe extended attributes. For BAPs, tags can be sent during search to optimize and filter search results. BPPs can use tags to index their catalog to allow better search functionality. Tags are sent by the BPP as part of the catalog response in the `on_search` callback. Tags are also meant for display purposes. Upon receiving a tag, BAPs are meant to render them as name-value pairs. This is particularly useful when rendering tabular information about a product or service.","type":"object","additionalProperties":false,"properties":{"descriptor":{"description":"Description of the Tag, can be used to store detailed information.","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"value":{"description":"The value of the tag. This set by the BPP and rendered as-is by the BAP.","type":"string"},"display":{"description":"This value indicates if the tag is intended for display purposes. If set to `true`, then this tag must be displayed. If it is set to `false`, it should not be displayed. This value can override the group display value.","type":"boolean"}}},"TagGroup":{"description":"A collection of tag objects with group level attributes. For detailed documentation on the Tags and Tag Groups schema go to https://github.com/beckn/protocol-specifications/discussions/316","type":"object","additionalProperties":false,"properties":{"display":{"description":"Indicates the display properties of the tag group. If display is set to false, then the group will not be displayed. If it is set to true, it should be displayed. However, group-level display properties can be overriden by individual tag-level display property. As this schema is purely for catalog display purposes, it is not recommended to send this value during search.","type":"boolean","default":true},"descriptor":{"description":"Description of the TagGroup, can be used to store detailed information.","allOf":[{"$ref":"#/components/schemas/Descriptor"}]},"list":{"description":"An array of Tag objects listed under this group. This property can be set by BAPs during search to narrow the `search` and achieve more relevant results. When received during `on_search`, BAPs must render this list under the heading described by the `name` property of this schema.","type":"array","items":{"$ref":"#/components/schemas/Tag"}}}},"Time":{"description":"Describes time in its various forms. It can be a single point in time; duration; or a structured timetable of operations
This has properties like label, time stamp,duration,range, days, schedule","type":"object","additionalProperties":false,"properties":{"label":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"duration":{"$ref":"#/components/schemas/Duration"},"range":{"type":"object","additionalProperties":false,"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"}}},"days":{"type":"string","description":"comma separated values representing days of the week"},"schedule":{"$ref":"#/components/schemas/Schedule"}}},"Tracking":{"description":"Contains tracking information that can be used by the BAP to track the fulfillment of an order in real-time. which is useful for knowing the location of time sensitive deliveries.","type":"object","additionalProperties":false,"properties":{"id":{"description":"A unique tracking reference number","type":"string"},"url":{"description":"A URL to the tracking endpoint. This can be a link to a tracking webpage, a webhook URL created by the BAP where BPP can push the tracking data, or a GET url creaed by the BPP which the BAP can poll to get the tracking data. It can also be a websocket URL where the BPP can push real-time tracking data.","type":"string","format":"uri"},"location":{"description":"In case there is no real-time tracking endpoint available, this field will contain the latest location of the entity being tracked. The BPP will update this value everytime the BAP calls the track API.","allOf":[{"$ref":"#/components/schemas/Location"}]},"status":{"description":"This value indicates if the tracking is currently active or not. If this value is `active`, then the BAP can begin tracking the order. If this value is `inactive`, the tracking URL is considered to be expired and the BAP should stop tracking the order.","type":"string","enum":["active","inactive"]}}},"Vehicle":{"description":"Describes a vehicle is a device that is designed or used to transport people or cargo over land, water, air, or through space.
This has properties like category, capacity, make, model, size,variant,color,energy_type,registration","type":"object","additionalProperties":false,"properties":{"category":{"type":"string"},"capacity":{"type":"integer"},"make":{"type":"string"},"model":{"type":"string"},"size":{"type":"string"},"variant":{"type":"string"},"color":{"type":"string"},"energy_type":{"type":"string"},"registration":{"type":"string"},"wheels_count":{"type":"string"},"cargo_volumne":{"type":"string"},"wheelchair_access":{"type":"string"},"code":{"type":"string"},"emission_standard":{"type":"string"}}},"XInput":{"description":"Contains any additional or extended inputs required to confirm an order. This is typically a Form Input. Sometimes, selection of catalog elements is not enough for the BPP to confirm an order. For example, to confirm a flight ticket, the airline requires details of the passengers along with information on baggage, identity, in addition to the class of ticket. Similarly, a logistics company may require details on the nature of shipment in order to confirm the shipping. A recruiting firm may require additional details on the applicant in order to confirm a job application. For all such purposes, the BPP can choose to send this object attached to any object in the catalog that is required to be sent while placing the order. This object can typically be sent at an item level or at the order level. The item level XInput will override the Order level XInput as it indicates a special requirement of information for that particular item. Hence the BAP must render a separate form for the Item and another form at the Order level before confirmation.","type":"object","additionalProperties":false,"properties":{"head":{"description":"Provides the header information for the xinput.","type":"object","additionalProperties":false,"properties":{"descriptor":{"$ref":"#/components/schemas/Descriptor"},"index":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"integer"},"cur":{"type":"integer"},"max":{"type":"integer"}}},"headings":{"type":"array","items":{"type":"string","description":"The heading names of the forms"}}}},"form":{"$ref":"#/components/schemas/Form"},"form_response":{"description":"Describes the response to a form submission","type":"object","additionalProperties":false,"properties":{"status":{"description":"Contains the status of form submission.","type":"string"},"signature":{"type":"string"},"submission_id":{"type":"string"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}}}},"required":{"description":"Indicates whether the form data is mandatorily required by the BPP to confirm the order.","type":"boolean"}}}}},"x-enum":{"search":{"context":{"action":[{"code":"search","description":"Buyer app indicates the search intent","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"intent":{"category":{"descriptor":{"code":[{"code":"ON_DEMAND_TRIP","description":"Describes the category of the on_demand offer","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"catalog":{"providers":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]}},"on_status":{"context":{"action":[{"code":"on_status","description":"Seller app return order with status , Driver pickup - driver drop","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"cancellation_reason_id":[{"code":"000","description":"Technical cancellation(BAP/BPP)","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""},{"code":"PROVIDER","description":"Describes, when the ride is cancelled by the provider.","reference":""}],"reason":{"descriptor":{"code":[{"code":"000","description":"Technical cancellation(BAP/BPP)","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]},"message":{"order":{"items":{"descriptor":{"code":[{"code":"RIDE","description":"Describes the type of ride.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]}},"on_track":{"context":{"action":[{"code":"on_track","description":"Seller app specifies the on_track.","reference":""}],"location":{"country":{"code":[{"code":"IND","description":"Represents the country","reference":""}]},"city":{"code":[{"code":"std:080","description":"Bangalore","reference":""}]}},"domain":[{"code":"ONDC:TRV10","description":"mobility domain Ride","reference":""}]}}},"x-tags":{"search":{"message":{"intent":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]}],"item":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]}]}}}},"on_search":{"message":{"catalog":{"tags":[{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"providers":{"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]}}}}},"on_select":{"message":{"order":{"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"init":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]}]}}},"on_init":{"message":{"order":{"tags":[{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"confirm":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"on_confirm":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"on_status":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"on_cancel":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}},"on_update":{"message":{"order":{"tags":[{"code":"BAP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""},{"code":"SETTLEMENT_BANK_CODE","description":"Denotes settlement bank code","reference":""},{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER","description":"Denotes settlement bank account number","reference":""},{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS","description":"Denotes settlement virtual payment address","reference":""}]},{"code":"BPP_TERMS","description":"Describes the finder fees for buyer","reference":"","list":[{"code":"BUYER_FINDER_FEES_TYPE","description":"Buyer finder fee type","reference":""},{"code":"BUYER_FINDER_FEES_PERCENTAGE","description":"Buyer finder fee in percentage","reference":""},{"code":"BUYER_FINDER_FEES_AMOUNT","description":"Buyer finder fee in amount","reference":""},{"code":"SETTLEMENT_WINDOW","description":"Time window to complete settlement","reference":""},{"code":"SETTLEMENT_BASIS","description":"Basis required to complete settlement","reference":""},{"code":"SETTLEMENT_TYPE","description":"Payment method to complete settlement","reference":""},{"code":"MANDATORY_ARBITRATION","description":"Flag to denote if dispute can be resolved through arbitration","reference":""},{"code":"COURT_JURISDICTION","description":"Denotes court that will have jurisdiction for the case","reference":""},{"code":"DELAY_INTEREST","description":"Denotes interest to be paid as a delay charge","reference":""},{"code":"STATIC_TERMS","description":"Terms for settlement","reference":""},{"code":"SETTLEMENT_AMOUNT","description":"Denotes settlement amount","reference":""}]}],"items":{"tags":[{"code":"DISABILITY_VIS","description":"Describes the Vision Impairment","reference":"","list":[{"code":"VIS_LEVEL","description":"Describes the Level of Disability","reference":"","list":[{"code":"LOW","description":"Describes the Level of Disability","reference":""},{"code":"TOTAL","description":"Describes the Level of Disability","reference":""}]},{"code":"VIS_SCREEN_READER_USAGE","description":"Describes the Screen Reader Usage","reference":"","list":[{"code":"JAWS","description":"Describes the Screen Reader Usage","reference":""},{"code":"NVDA","description":"Describes the Screen Reader Usage","reference":""},{"code":"OTHERS","description":"Describes the Screen Reader Usage","reference":""}]},{"code":"VIS_CANE_USAGE","description":"Describes the Cane Usag","reference":"","list":[{"code":"YES","description":"Describes the Cane Usag","reference":""},{"code":"NO","description":"Describes the Cane Usag","reference":""},{"code":"SOMETIMES","description":"Describes the Cane Usag","reference":""}]},{"code":"VIS_SPECIAL_REQUIREMENT","description":"Describes the custom text entered by user","reference":""}]},{"code":"DISABILITY_HEA","description":"Describes the Hearing Impairment","reference":"","list":[{"code":"HEA_READING_ABILITY","description":"Describes the Reading Ability","reference":"","list":[{"code":"FULL","description":"Describes the Reading Ability","reference":""},{"code":"PARTIAL","description":"Describes the Reading Ability","reference":""},{"code":"NO","description":"Describes the Reading Ability","reference":""}]},{"code":"HEA_SIGN_LANGUAGE_PREFERENCE","description":"Describes the sign Language Preference","reference":"","list":[{"code":"ASL","description":"Describes the sign Language Preference","reference":""},{"code":"BSL","description":"Describes the sign Language Preference","reference":""},{"code":"OTHERS","description":"Describes the sign Language Preference","reference":""}]},{"code":"HEA_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MOB","description":"Describes the Disability of movement","reference":"","list":[{"code":"MOB_DISABILITY","description":"Describes the mob disability","reference":"","list":[{"code":"LOCOMOTOR","description":"Describes the mob disability","reference":""},{"code":"MULTIPLE_SCLEROSIS","description":"Describes the mob disability","reference":""},{"code":"CEREBRAL_PALSY","description":"Describes the mob disability","reference":""},{"code":"MUSCULAR_DYSTROPHY","description":"Describes the mob disability","reference":""},{"code":"OTHERS","description":"Describes the mob disability","reference":""}]},{"code":"MOB_WHEELCHAIR_USAGE","description":"Describes the wheelchair usage","reference":"","list":[{"code":"YES","description":"Describes the wheelchair usage","reference":""},{"code":"NO","description":"Describes the wheelchair usage","reference":""},{"code":"SOMETIMES","description":"Describes the wheelchair usage","reference":""}]},{"code":"MOB_CRUTCHES_USAGE","description":"Describes the crutches usage","reference":"","list":[{"code":"YES","description":"Describes the crutches usage","reference":""},{"code":"NO","description":"Describes the crutches usage","reference":""},{"code":"SOMETIMES","description":"Describes the crutches usage","reference":""}]},{"code":"MOB_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_LEP","description":"Describes the Leprosy Cured","reference":"","list":[{"code":"LEP_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_SPE","description":"Describes the Speech and Language Disability","reference":"","list":[{"code":"SPE_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_INTEL","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"INTEL_DISABILITY","description":"Describes the Intellectual Disability","reference":"","list":[{"code":"AUTISM_SPECTRUM_DISORDER","description":"Describes the Intellectual Disability","reference":""},{"code":"SPECIFIC_LEARNING_DISABILITIES","description":"Describes the Intellectual Disability","reference":""},{"code":"PARKINSON","description":"Describes the Intellectual Disability","reference":""},{"code":"OTHERS","description":"Describes the Intellectual Disability","reference":""}]},{"code":"INTEL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"MENTAL","description":"Describes the Mental Illness","reference":"","list":[{"code":"MENTAL_DISABILITY","description":"Describes the Mental Disability","reference":"","list":[{"code":"SCHIZOPHRENIA","description":"Describes the Mental Disability","reference":""},{"code":"BIPOLAR_DISORDER","description":"Describes the Mental Disability","reference":""},{"code":"DEPRESSION","description":"Describes the Mental Disability","reference":""},{"code":"OTHERS","description":"Describes the Mental Disability","reference":""}]},{"code":"MENTAL_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_BLOOD","description":"Describes the Blood Related Disorders","reference":"","list":[{"code":"BLOOD_DISABILITY","description":"Describes the blood Disability","reference":"","list":[{"code":"HEMOPHILIA","description":"Describes the blood Disability","reference":""},{"code":"THALASSEMIA","description":"Describes the blood Disability","reference":""},{"code":"SICKLE_CELL_ANEMIA","description":"Describes the blood Disability","reference":""},{"code":"OTHERS","description":"Describes the blood Disability","reference":""}]},{"code":"BLOOD_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_DWARFISM","description":"Describes the Dwarfism","reference":"","list":[{"code":"DWARFISM_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_ACID_ATTACK_SURVIVOR","description":"Describes the Acid Attack Survivor","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"DISABILITY_MULTIPLE_DIS","description":"Describes the Multiple Disabilities","reference":"","list":[{"code":"ACID_ATTACK_SURVIVOR_SPECIAL_REQUIREMENT","description":"Describes the special requirement","reference":""}]},{"code":"FARE_POLICY","description":"Details about fare for the ride","reference":"","list":[{"code":"MIN_FARE","description":"Describes the minimum fare","reference":""},{"code":"MIN_FARE_DISTANCE_KM","description":"Describes the minimum fare per KM","reference":""},{"code":"PER_KM_CHARGE","description":"Describes the per km charge","reference":""},{"code":"PICKUP_CHARGE","description":"Describes the pickup charge","reference":""},{"code":"WAITING_CHARGE_PER_MIN","description":"Describes the waiting charge per minute","reference":""},{"code":"NIGHT_CHARGE_MULTIPLIER","description":"Describes the times need to multiply for night charge","reference":""},{"code":"NIGHT_SHIFT_START_TIME","description":"Describes the time when night shift starts","reference":""},{"code":"NIGHT_SHIFT_END_TIME","description":"Describes the time when night shift ends","reference":""}]},{"code":"INFO","description":"Describes the general info about the ride","reference":"","list":[{"code":"DISTANCE_TO_NEAREST_DRIVER_METER","description":"Describes the distance to nearest driver.","reference":""},{"code":"ETA_TO_NEAREST_DRIVER_MIN","description":"Describes the ETA to nearest driver.","reference":""}]}]},"fulfillments":{"tags":[{"code":"ROUTE_INFO","description":"Describes the route information.","reference":"","list":[{"code":"ENCODED_POLYLINE","description":"Describes the encoded polyline value.","reference":""},{"code":"WAYPOINTS","description":"Describes the waypoints value.","reference":""}]}]}}}}},"x-flows":[{"summary":"BPP Collecting - Payment Confirmation","details":[{"description":"The illustrative flow depicts the comprehensive process of payment confirmation, showcasing the sequential steps and interactions involved in a payment transaction.","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP) ->> Buyer Platform (BAP) : form"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Buyer Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT1D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}]}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP) ->> Buyer Platform (BAP) : form"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Buyer Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}}},{"summary":"Buyer app redirects to payment gateway page.","api":"form","details":[{"description":"Buyer app redirects to payment gateway page using the link provided in the previous step.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP) ->> Buyer Platform (BAP) : form\n end"}],"reference":"if any","example":{"value":"This will redirected to different html page"}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"ref_id":"870782be-6757-43f1-945c-8eeaf9536259"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Buyer Collecting]","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c","amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"}}}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"9a7be37d-f228-432b-9aa9-65144d48da38","timestamp":"2023-12-10T04:34:49.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"9a7be37d-f228-432b-9aa9-65144d48da38","timestamp":"2023-12-10T04:34:52.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c","amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T04:34:52.031Z","updated_at":"2023-12-10T04:34:52.031Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}}}]},{"summary":"On-Demand - Assign driver on on-confirm","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n "}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Assign driver post on-confirm","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:48:34.53Z","tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the latest update on ride details to the buyer app.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]},{"summary":"On-Demand - Purple Tags (Assign driver on on-confirm)","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"eb60e750-2b11-4170-8bd3-b4c6370835d9","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}]}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare & list of supported purple tags.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"eb60e750-2b11-4170-8bd3-b4c6370835d9","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"category_ids":["C5"],"tags":[{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"}},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"}},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"}},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"}}]},{"descriptor":{"name":"Dwarfism","code":"DISABILITY_DWARFISM"},"display":false,"list":[{"descriptor":{"code":"DWARFISM_SPECIAL_REQUIREMENT","name":"Dwarfism","short_desc":"Custom description"}}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C5"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C5","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service & select specific purple tags.","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"01c1903c-f943-4c11-8e93-dff5ce3c30bd","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","tags":[{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"01c1903c-f943-4c11-8e93-dff5ce3c30bd","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"category_ids":["C5"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"category_ids":["C5"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}] "}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"category_ids":["C5"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n "}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C5"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"name":"Vision Impairment","code":"DISABILITY_VIS"},"display":false,"list":[{"descriptor":{"code":"VIS_LEVEL","name":"Level of Disability","short_desc":"Disability of Blind and low vision"},"value":"LOW"},{"descriptor":{"code":"VIS_SCREEN_READER_USAGE","name":"Screen Reader Usage","short_desc":"Screen Reader Usage"},"value":"JAWS"},{"descriptor":{"code":"VIS_CANE_USAGE","name":"Cane Usage","short_desc":"Cane Usage"},"value":"Yes"},{"descriptor":{"code":"VIS_SPECIAL_REQUIREMENT","name":"special requirement","short_desc":"Custom description"},"value":"CUSTOM TEXT ENTERED BY USER"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Assign driver post on-confirm(Self-Pickup)","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}],"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"On Demand"}}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"payments":[{"collected_by":"BPP"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}]}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}]}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}]}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the latest update on ride details to the buyer app.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_status","details":[{"description":"Ride provider provides the latest update on ride details to the buyer app with fulfillment state - RIDE_STARTED","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"PAID","type":"ON-FULFILLMENT","params":{"amount":"146"}}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]},{"summary":"On-Demand - Female Driver Flow","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"customer":{"person":{"gender":"FEMALE"}},"agent":{"person":{"gender":"FEMALE"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}},{"id":"F3","customer":{"person":{"gender":"FEMALE"}},"agent":{"person":{"gender":"FEMALE"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"CAB Economy Ride – Female Driver"},"category_ids":["C1"],"fulfillment_ids":["F3"],"id":"I3","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"matched":true,"recommended":false},{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"matched":false,"recommended":true},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"matched":false,"recommended":true}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}}]},{"summary":"On-Demand - Ride cancellation by driver","details":[{"description":"Detailed process of cancelling a ride with soft & confirm status.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel (unsolicited)\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK "}],"steps":[{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel (unsolicited)\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider accepts the terms of cancellation","api":"on_cancel","details":[{"description":"Ride provider accepts the terms of order and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel (unsolicited)\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end "}],"reference":"if any","example":{"summary":"Return current order status after confirm-cancel","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:45.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"0"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"0"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"PROVIDER","reason":{"descriptor":{"code":"013"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:45.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"0"}]}]}}}}}]},{"summary":"On-Demand - Ride cancellation by rider","details":[{"description":"Detailed process of cancelling a ride with soft & confirm status.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app cancels the request for ride","api":"cancel","details":[{"description":"Buyer app requests for cancellation of ride.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initiates cancelling a ride with soft cancel status","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"SOFT_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}},{"summary":"Ride provider accepts/appends the terms of cancellation","api":"on_cancel","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return current order status after soft-cancel","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:44.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"SOFT_CANCEL","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"002"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}}},{"summary":"Buyer app confirms the cancel request for ride","api":"cancel","details":[{"description":"Buyer app give the confirmation to cancel the ride.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initiates cancelling a ride with confirm cancel status","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"CONFIRM_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}},{"summary":"Ride provider accepts the terms of cancellation","api":"on_cancel","details":[{"description":"Ride provider accepts the terms of order and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return current order status after confirm-cancel","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:45.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"002"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:45.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}}}]},{"summary":"On-Demand - Technical Cancellation Flow","details":[{"description":"Detailed process of cancelling a ride with soft & confirm status.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): NACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK \n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK "}],"reference":"if any","steps":[{"summary":"Provider confirms the request","api":"on_confirm","details":[{"description":"The provider has confirmed the request, but the buyer app received the request after the TTL had expired.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): NACK \n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK "}],"reference":"if any","example":{"value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app request for latest order status","api":"status","details":[{"description":"Buyer app request for latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): NACK \n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK "}],"reference":"if any","example":{"value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"ref_id":"870782be-6757-43f1-945c-8eeaf9536259"}}}},{"summary":"Provider sends the latest order status","api":"on_status","details":[{"description":"Provider sends the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): NACK \n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app cancels the request for ride","api":"cancel","details":[{"description":"Buyer app requests for cancellation of ride.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8bbe4998-6243-4ce6-9859-c0f21c06d3db","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"000","descriptor":{"code":"SOFT_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}},{"summary":"Provider accepts/appends the terms of cancellation","api":"on_cancel","details":[{"description":"Provider accepts the terms of order and appends its own terms and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"SOFT_CANCEL","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"000"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the cancel request for ride","api":"cancel","details":[{"description":"Buyer app give the confirmation to cancel the ride.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8bbe4998-6243-4ce6-9859-c0f21c06d3db","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"000","descriptor":{"code":"CONFIRM_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}},{"summary":"Provider accepts the terms of cancellation","api":"on_cancel","details":[{"description":"Provider accepts the terms of order and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with confirm_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end "}],"reference":"if any","example":{"value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"000"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]},{"summary":"Driver not found on on_confirm","references":"if any","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","reference":"if any","api":"on_confirm","example":{"value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"error":{"code":"90203","message":"Driver not assigned to the order"}}},"details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}]}]},{"summary":"Driver not found post on_confirm","references":"if any","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","reference":"if any","api":"on_confirm","example":{"value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:48:34.53Z","tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},"details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}]},{"summary":"Ride not found after on_confirm","reference":"if any","api":"on_cancel","example":{"value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"PROVIDER","reason":{"descriptor":{"code":"011"}}},"created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},"details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}]}]},{"summary":"On-Demand - Ride with multiple stops","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}],"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","category_ids":["C1"],"location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n "}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","category_ids":["C1"],"location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","category_ids":["C1"],"location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Update Stop","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app requests for update of stop","api":"update","details":[{"description":"Buyer app request the provider platform to update the stop","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With fulfillment id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Update an active ride","value":{"context":{"action":"update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"update_target":"order.fulfillments","order":{"id":"01","status":"SOFT_UPDATE","fulfillments":[{"id":"F1","stops":[{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}]}]}}}}},{"summary":"Provider platform confirms with on_update request","api":"on_update","details":[{"description":"Provider platform provides the updated order details","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"SOFT_UPDATE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for update of stop","api":"update","details":[{"description":"Buyer app request the provider platform to update the stop","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With fulfillment id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Update an active ride","value":{"context":{"action":"update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"47e05cc2-2bc4-41c9-81fb-26be6ae74403","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"update_target":"order.fulfillments","order":{"id":"01","status":"CONFIRM_UPDATE","fulfillments":[{"id":"F1","stops":[{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}]}]}}}}},{"summary":"Provider platform confirms with on_update request","api":"on_update","details":[{"description":"Provider platform provides the updated order details","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"UPDATED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Provider platform provide the latest order status","api":"on_status","details":[{"description":"Provider platform provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]},{"summary":"On-Demand - Pre Order Bid","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","price":{"currency":"INR","value":"166"}}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"166"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"20"},"title":"BUYER_ADDITIONAL_AMOUNT"}],"price":{"currency":"INR","value":"166"},"ttl":"PT30S"}}}}}}]},{"summary":"On-Demand - Post Order Tip","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for update of quote (tipping)","api":"update","details":[{"description":"Buyer app requests for update of quote (tipping)","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With order id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated quote\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Update an active ride","value":{"context":{"action":"update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"update_target":"order.quote.breakup","order":{"id":"O1","quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"20"},"title":"BUYER_ADDITIONAL_AMOUNT"}],"price":{"currency":"INR","value":"166"}}}}}}},{"summary":"Provider platform confirms with on_update request","api":"on_update","details":[{"description":"Provider platform provides the updated order details","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update quote\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated quote\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"Delivery"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"20"},"title":"BUYER_ADDITIONAL_AMOUNT"}],"price":{"currency":"INR","value":"166"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Rental","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_RENTAL"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"circle":{"gps":"13.008935, 77.644408","radius":{"type":"CONSTANT","value":"100","unit":"KILOMETER"}}},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"category_ids":["C3"],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C3"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"add_ons":[{"id":"A2","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"1","unit":"HOURS"}}},"descriptor":{"name":"time","code":"TIME"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C3","descriptor":{"code":"ON_DEMAND_RENTAL","name":"Rental"}}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n "}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","category_ids":["C3"],"location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C3"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"Schedule - Rental","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"SCHEDULED_RENTAL"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C4"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"add_ons":[{"id":"A2","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"1","unit":"HOURS"}}},"descriptor":{"name":"time","code":"TIME"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C4","descriptor":{"code":"SCHEDULED_RENTAL","name":"Rental"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides the agent details","api":"on_update","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"4ce7055d-2511-4586-b18f-b50822048447","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACKs\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C4"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"3"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"30"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"title":"ADD_ONS","item":{"id":"I1","add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"selected":{"count":3}}}]},"price":{"currency":"INR","value":"60"}}],"price":{"currency":"INR","value":"206"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"Schedule - Trip","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title schedule Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"},{"description":"Ordering","mermaid":"sequenceDiagram\n title Selection\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Initializing the order","mermaid":"sequenceDiagram\n title Initializing Order\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Order Confirmation","mermaid":"sequenceDiagram\n title Order Confirmation\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"},{"description":"Fulfillment","mermaid":"sequenceDiagram\n title Order Fulfillment\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): status-Request application status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status - Provide application status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"SCHEDULED_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"}},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C2"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C2","descriptor":{"code":"SCHEDULED_TRIP","name":"scheduled"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}},{"summary":"Buyer app selects a specific service for more details","api":"select","details":[{"description":"The buyer app has selected a specific service and would like to obtain a quotation for that service.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get quote for a specific product from a mobility catalog","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider provides the quote for selected service","api":"on_select","details":[{"description":"Ride provider responds with detailed information and quote for the specific service that the buyer app would like to avail.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): select\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_select\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return a quote offered by a provider","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}},{"summary":"Buyer app initializes the ride request","api":"init","details":[{"description":"Buyer app platform shares the terms of order and initializes the request.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initialize draft order and request for terms of service[Seller Collecting]","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}}},{"summary":"Ride provider accepts/appends the terms of orders","api":"on_init","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and responds with the final draft.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): init\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_init\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return draft order with payment terms[Seller Collecting]","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app confirms the ride","api":"confirm","details":[{"description":"Buyer app confirms the booking and provides all the required information for confirmation as per the terms of the order.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Confirm ride booking","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider confirms the ride request","api":"on_confirm","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides the agent details","api":"on_update","details":[{"description":"Ride provider confirms the ride request and provides the ride details on confirmation.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): confirm\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_confirm\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return confirmed order with latest fulfillment details","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Buyer app requests for tracking status","api":"track","details":[{"description":"Buyer app request the provider platform to provide with latest tracking status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Track an active ride","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Provider platform provides latest order tracking status","api":"on_track","details":[{"description":"Provider platform provides the updated order tracking status to the consumer","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): track - Request tracking status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_track - Provide tracking status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n \n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START","time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider provides latest order updates","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return updated order with updated agent details","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"UNCLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}}},{"summary":"Ride provider provides latest update on the ride (unsolicited call)","api":"on_update","details":[{"description":"Ride provider provides the updated order updates to the buyer app & can update the quote in case of fare update","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return updated order with recomputed charges","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}},{"summary":"Buyer app seeks the most recent status update","api":"status","details":[{"description":"Buyer app requests the ride provider to provide the latest order status","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Get latest fulfillment status of a booking","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}},{"summary":"Ride provider provides latest order status","api":"on_status","details":[{"description":"Ride provider provides the updated order status to the buyer app","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Buyer Platform (BAP)->>Seller Platform (BPP): status\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return order with status - Driver at pickup","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"time":{"timestamp":"2024-11-07T00:32:19.000Z"}},{"location":{"gps":"12.971186, 77.586812"},"authorization":{"token":"144254","type":"OTP","valid_to":"2023-12-15T08:05:34.294Z","status":"CLAIMED"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C2"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}}}]},{"summary":"On-Demand - Rental(when end stop gps coordinate is present)","details":[{"description":"The illustraive flow to perform a transaction of the nature where in a buyer would like to book a mobility service form location A(gps-cordinates) to localtion B(gps-cordinates)","mermaid":"sequenceDiagram\n title On-Demand Discovery\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app search for available ride providers","api":"search","details":[{"description":"Buyer app explore ride providers to avail a mobility service from Location A to Location B (GPS) over the network.","mermaid":"sequenceDiagram\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Search for mobility services by pickup and drop location[Seller Collecting]","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_RENTAL"}},"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}]}}}}},{"summary":"Get a list of all services from ride providers","api":"on_search","details":[{"description":"Ride providers which is a mobility provider platform sends the catalog of all services that can be used for transit from A to B along with estimated fare.","mermaid":"sequenceDiagram\n Buyer Platform (BAP)->>Gateway (BG): search\n Gateway (BG) ->> Buyer Platform (BAP): ACK\n Gateway (BG)->>Registry: Lookup Seller Platforms (lookup)\n Registry->>Gateway (BG): List of Seller Platforms (200 OK)\n Gateway (BG)->>Seller Platform (BPP): search\n Seller Platform (BPP)->>Gateway (BG) : ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): Publish Catalog of Seller 1 (on_search)\n Buyer Platform (BAP)->>Seller Platform (BPP): ACK \n end"}],"reference":"if any","example":{"summary":"Return a mobility catalog[Seller Collecting]","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"category_ids":["C3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"add_ons":[{"id":"A1","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"10","unit":"KILOMETERS"}}},"descriptor":{"name":"distance","code":"DISTANCE"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C3"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"add_ons":[{"id":"A2","price":{"currency":"INR","value":"20"},"quantity":{"allocated":{"count":1},"maximum":{"count":10},"minimum":{"count":1},"unitized":{"measure":{"value":"1","unit":"HOURS"}}},"descriptor":{"name":"time","code":"TIME"}}],"tags":[{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"TOTAL_HOURS"},"value":"1"},{"descriptor":{"code":"TOTAL_DISTANCE"},"value":"10"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C3","descriptor":{"code":"ON_DEMAND_RENTAL","name":"Rental"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}}}]},{"summary":"No Acceptance - Soft_Cancel","details":[{"description":"Detailed process of No Acceptance flow atter soft_cancel.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app cancels the request for ride","api":"cancel","details":[{"description":"Buyer app requests for cancellation of ride.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Initiates cancelling a ride with soft cancel status","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"SOFT_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}},{"summary":"Ride provider accepts/appends the terms of cancellation","api":"on_cancel","details":[{"description":"Ride provider accepts the terms of order and appends its own terms and provides with latest order update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return current order status after soft-cancel","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:44.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"SOFT_CANCEL","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"002"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}}},{"summary":"Ride provider sends unsolicited on_status call","api":"on_status","details":[{"description":"The ride provider sends an unsolicited on_status call and reverted to the original order state as no response was received from the buyer app within the defined TTL.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): cancel - with soft_cancel request\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP):on_cancel\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP):on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return current order status after soft-cancel","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"975ff507-439e-4933-acf4-4aaed4af0d51","timestamp":"2023-12-10T08:03:44.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}}}]},{"summary":"No Acceptance - Soft_Update","details":[{"description":"Detailed process of No Acceptance flow atter soft_update.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With fulfillment id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"steps":[{"summary":"Buyer app requests for update of stop","api":"update","details":[{"description":"Buyer app request the provider platform to update the stop","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n rect rgb(191, 223, 255)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - With fulfillment id\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Update an active ride","value":{"context":{"action":"update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"update_target":"order.fulfillments","order":{"id":"01","status":"SOFT_UPDATE","fulfillments":[{"id":"F1","stops":[{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}]}]}}}}},{"summary":"Provider platform confirms with on_update request","api":"on_update","details":[{"description":"Provider platform provides the updated order details","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n end\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.968540, 77.564459"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"SOFT_UPDATE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}},{"summary":"Ride provider sends unsolicited on_status call","api":"on_status","details":[{"description":"The ride provider sends an unsolicited on_status call and reverted to the original order state as no response was received from the buyer app within the defined TTL.","mermaid":"sequenceDiagram\n participant Buyer Platform (BAP)\n participant Seller Platform (BPP)\n Buyer Platform (BAP)->>Seller Platform (BPP): update - update stops\n Seller Platform (BPP)-->>Buyer Platform (BAP):ACK\n Seller Platform (BPP)->>Buyer Platform (BAP): on_update - Provide updated stops\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK \n rect rgb(191, 223, 255)\n Seller Platform (BPP)->>Buyer Platform (BAP): on_status\n Buyer Platform (BAP)-->>Seller Platform (BPP): ACK\n end"}],"reference":"if any","example":{"summary":"Return tracking information for an order","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"a6ef2152-7cec-4560-b0ec-04fb13691813","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"id":"1"},{"location":{"gps":"12.981224, 77.615816"},"type":"INTERMEDIATE_STOP","id":"2","parent_stop_id":"1"},{"location":{"gps":"12.971186, 77.586812"},"type":"END","id":"3","parent_stop_id":"2"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"156"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"126"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"156"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}}]}],"x-examples":{"on-demand":{"summary":"On Demand Use Case Specification","description":"The On-demand use case on the network would enable NPs to perform on-demand ride hailing related transactions on the network. These APIs are utilized by consumer and provider platforms enabling every consumer/ end-user on all consumer platforms to consume the services/ inventory provided by all provider platforms on the network seamlessly. Consumer platforms shall use these specifications to perform transaction operations like discovery, selection, booking, status check and others so as to purchase services/ inventory on the network eg: autos, cabs etc. Provider Platform shall use these specifications to expose their services/ inventory in form of autos or cabs rides. Gateway specifications are used to broadcast demands originating from a consumer platform to all applicable provider platforms in a transparent and unbiased manner.","example_set":{"cancel":{"examples":[{"summary":"Initiates_cancelling_a_ride_with_confirm_cancel_status___X5","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"CONFIRM_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}},{"summary":"Initiates_cancelling_a_ride_with_soft_cancel_status___X4","value":{"context":{"action":"cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"be6a495a-e941-4fbf-9d59-f1e6166cccc8","timestamp":"2023-03-23T05:15:08Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"cancellation_reason_id":"002","descriptor":{"code":"SOFT_CANCEL","name":"Ride Cancellation"},"order_id":"O1"}}}]},"confirm":{"examples":[{"summary":"Confirm_ride_booking___X6","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"confirm_buyer_app_confirms_the_booking_and_provides_all_the_required_information_for_confirmation_as_per_the_terms_of_the_order__5","description":"TBD","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"6743e9e2-4fb5-487c-92b7-13ba8018f176","timestamp":"2023-12-10T04:34:48.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"confirm_buyer_app_confirms_the_booking_and_provides_all_the_required_information_for_confirmation_as_per_the_terms_of_the_order__6","description":"TBD","value":{"context":{"action":"confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"9a7be37d-f228-432b-9aa9-65144d48da38","timestamp":"2023-12-10T04:34:49.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}}]},"init":{"examples":[{"summary":"Initialize_draft_order_and_request_for_terms_of_service[Seller_Collecting]___X7","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"}}}}},{"summary":"init_buyer_app_platform_shares_the_terms_of_order_and_initializes_the_request__1","description":"TBD","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT1D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}]}}}},{"summary":"init_buyer_app_platform_shares_the_terms_of_order_and_initializes_the_request__3","description":"TBD","value":{"context":{"action":"init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:09:31.307Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"name":"Joe Adams"},"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"id":"I1"}],"payments":[{"collected_by":"BPP","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}]}}}}]},"on_cancel":{"examples":[{"summary":"Return_current_order_status_after_confirm-cancel___X9","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:45.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"0"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"0"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"PROVIDER","reason":{"descriptor":{"code":"013"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:45.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"0"}]}]}}}},{"summary":"Return_current_order_status_after_soft-cancel___X8","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:44.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","version":"2.1.0","ttl":"PT30S"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"time":{"duration":"PT2H"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"CAB Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"},{"price":{"currency":"INR","value":"10"},"title":"CANCELLATION_CHARGES"},{"price":{"currency":"INR","value":"-146"},"title":"REFUND"}],"price":{"currency":"INR","value":"10"},"ttl":"PT30S"},"status":"SOFT_CANCEL","cancellation":{"cancelled_by":"CONSUMER","reason":{"descriptor":{"code":"002"}}},"created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://www.icicibank.com/personal-banking/loans/personal-loan"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"85"}]}]}}}},{"summary":"cancel_after_confirm","description":"TBD","value":{"context":{"action":"on_cancel","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CANCELLED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"CANCELLED","cancellation":{"cancelled_by":"PROVIDER","reason":{"descriptor":{"code":"011"}}},"created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}]},"on_confirm":{"examples":[{"summary":"Return_confirmed_order_with_latest_fulfillment_details___X10","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"Return_confirmed_order_with_latest_fulfillment_details___X11","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:48:34.53Z","tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"Return_confirmed_order_with_latest_fulfillment_details___X12","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","params":{"amount":"146","currency":"INR","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259"},"status":"PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}},{"summary":"on_confirm_ride_provider_confirms_the_ride_request_and_provides_the_ride_details_on_confirmation__6","description":"TBD","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_CONFIRMED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_confirm_ride_provider_confirms_the_ride_request_and_provides_the_ride_details_on_confirmation__7","description":"TBD","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"9a7be37d-f228-432b-9aa9-65144d48da38","timestamp":"2023-12-10T04:34:52.031Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c","amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T04:34:52.031Z","updated_at":"2023-12-10T04:34:52.031Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}},{"summary":"ride_cancelled","description":"TBD","value":{"context":{"action":"on_confirm","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"error":{"code":"90203","message":"Driver not assigned to the order"}}}]},"on_init":{"examples":[{"summary":"Return_draft_order_with_payment_terms[Seller_Collecting]___X13","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_init_ride_provider_accepts_the_terms_of_order_and_appends_its_own_terms_and_responds_with_the_final_draft__2","description":"TBD","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}]}}}},{"summary":"on_init_ride_provider_accepts_the_terms_of_order_and_appends_its_own_terms_and_responds_with_the_final_draft__4","description":"TBD","value":{"context":{"action":"on_init","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T14:11:32.859Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}]}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}]},"on_rating":{"examples":[{"summary":"Return_acknowledgement_of_rating_and_feedback___X14","value":{"context":{"action":"on_rating","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"api.beckn.juspay.in/dobpp/beckn/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"2a17e268-1dc4-4d1a-98a2-17554a50c7d2","timestamp":"2023-03-23T05:41:15Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"feedback_ack":true,"rating_ack":true}}}]},"on_search":{"examples":[{"summary":"Return_a_mobility_catalog[Buyer_Collecting]___X16","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BAP"}]}],"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}},{"summary":"Return_a_mobility_catalog[Seller_Collecting]___X15","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"SEDAN","energy_type":"PETROL"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"tags":[{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"AC"},{"value":"LOW_PRICE"},{"value":"FREE_WIFI"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"payments":[{"collected_by":"BPP"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"on demand"}}]}],"tags":[{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}]}}}},{"summary":"on_search_ride_providers_which_is_a_mobility_provider_platform_sends_the_catalog_of_all_services_that_can_be_used_for_transit_from_a_to_b_along_with_estimated_fare__1","description":"TBD","value":{"context":{"action":"on_search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"21e54d3c-9c3b-47c1-aa3b-b0e7b20818ee","timestamp":"2023-12-09T13:41:16.161Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"catalog":{"tags":[{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"}]}],"descriptor":{"name":"Mobility Servies BPP"},"providers":[{"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}},{"id":"F2","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"CAB","variant":"SEDAN"}}],"id":"P1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]},{"descriptor":{"code":"RIDE","name":"CAB Economy Ride"},"category_ids":["C1"],"fulfillment_ids":["F2"],"id":"I2","location_ids":["L2","L4"],"price":{"currency":"INR","maximum_value":"236","minimum_value":"206","value":"206"},"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"90"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}]}],"locations":[{"gps":"12.916468,77.608998","id":"L1"},{"gps":"12.916714,77.609298","id":"L2"},{"gps":"12.916573,77.615216","id":"L3"},{"gps":"12.906857,77.604456","id":"L4"}],"categories":[{"id":"C1","descriptor":{"code":"ON_DEMAND_TRIP","name":"On Demand"}}],"cancellation_terms":[{"cancellation_fee":{"percentage":"10"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"external_ref":{"url":"https://example-bpp.com/prod/seller/v1/cancellation_terms.pdf","mimetype":"application/pdf"}}],"payments":[{"collected_by":"BPP"}]}]}}}}]},"on_select":{"examples":[{"summary":"Return_a_quote_offered_by_a_provider___X17","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}},{"summary":"on_select_ride_provider_responds_with_detailed_information_and_quote_for_the_specific_service_that_the_buyer_app_would_like_to_avail__2","description":"TBD","value":{"context":{"action":"on_select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-09T13:49:26.132Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}]}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}}]},"on_status":{"examples":[{"summary":"Return_order_with_latest_fulfillment_status_-_Driver_en-route_to_pickup___X19","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP","name":"Driver is en-route to your location"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"Delivery"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"174"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}},{"summary":"Return_order_with_latest_status_-_Ride_Ended___X21","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"CAB","variant":"AUTO_RICKSHAW","make":"Mahindra","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","status":"NOT-PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"Delivery"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"174"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}},{"summary":"Return_order_with_latest_status_-_Ride_started___X20","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED","name":"Your ride has started"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BAP","id":"PA1","params":{"bank_account_number":"xxxxxxxxxxxxxx","bank_code":"XXXXXXXX","virtual_payment_address":"9988199772@okicic"},"status":"NOT-PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT60M"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"Delivery"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"174"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"}}}}},{"summary":"Return_order_with_status_-_Driver_at_pickup___X18","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"2.5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_status_ride_provider_provides_the_latest_update_on_ride_details_to_the_buyer_app_with_fulfillment_state___ride_started_8","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_1","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"5ee2001f-e612-431d-9e07-49574af60e88","timestamp":"2023-12-10T08:03:35.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z"}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_10","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"fulfillment_ids":["F1"],"category_ids":["C1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"PAID","type":"ON-FULFILLMENT","params":{"amount":"146"}}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_2","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_3","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_STARTED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_4","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"id":"O1","cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED","name":"Your ride has ended"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"156","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"COMPLETED","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_5","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:59Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"name":"BPP Terms of Engagement","code":"BPP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"144.54"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"stops":[{"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW"}}],"items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","params":{"transaction_id":"f08966dc-4c7d-4152-9a15-1046798cc39c","amount":"146"},"status":"PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"}}}}}},{"summary":"on_status_ride_provider_provides_the_updated_order_status_to_the_buyer_app_12","description":"TBD","value":{"context":{"action":"on_status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"94e0ac3d-7191-4a8b-b987-4f6fa79559cf","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}]},"on_support":{"examples":[{"summary":"Return_support_information_related_to_an_order___X22","value":{"context":{"action":"on_support","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"support":{"email":"support@nammayatri.in","phone":"+918068870525","url":"https://support.nammayatri.com/gethelp"}}}}]},"on_track":{"examples":[{"summary":"Return_tracking_information_for_an_order___X23","value":{"context":{"action":"on_track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"ec3dea8c-c64c-4f06-b2a0-ec1f9584d7ba","timestamp":"2023-03-23T05:41:09Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"tracking":{"status":"active","location":{"gps":"28.620976, 77.046732","updated_at":"2023-03-23T05:41:09Z"}}}}}]},"on_update":{"examples":[{"summary":"Return_updated_order_with_recomputed_charges___X24","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-11T03:54:28.832Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"FEATURE_LIST","name":"Feature list"},"list":[{"value":"NON_AC"},{"value":"LOW_PRICE"},{"value":"DOORSTEP_PICK_UP"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-11T03:54:28.832Z"}}}},{"summary":"Return_updated_order_with_updated_agent_details___X26","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:49:34.53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"tags":[{"descriptor":{"code":"BAP_TERMS","name":"BAP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}],"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:34.53Z","updated_at":"2023-03-23T04:49:34.53Z"}}}},{"summary":"Return_updated_order_with_updated_billing_details___X25","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"billing":{"email":"jane.doe@example.com","name":"Jane Doe","phone":"+91-9897867564"},"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP"},"location":{"gps":"13.008935, 77.644408"},"instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"DELIVERY","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","tags":[{"descriptor":{"code":"BUYER_FINDER_FEES"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"}]},{"descriptor":{"code":"SETTLEMENT_TERMS"},"display":false,"list":[{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]}],"type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-03-23T04:48:53Z","updated_at":"2023-03-23T04:48:53Z"}}}},{"summary":"on_update_ride_provider_provides_the_latest_update_on_ride_details_to_the_buyer_app__7","description":"TBD","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"UNCLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}},{"summary":"on_update_ride_provider_provides_the_updated_order_updates_to_the_buyer_app___can_update_the_quote_in_case_of_fare_update_9","description":"TBD","value":{"context":{"action":"on_update","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-12-10T08:03:34.294Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order":{"cancellation_terms":[{"cancellation_fee":{"percentage":"0"},"fulfillment_state":{"descriptor":{"code":"RIDE_ASSIGNED"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"30"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ENROUTE_PICKUP"}},"reason_required":true},{"cancellation_fee":{"amount":{"currency":"INR","value":"50"}},"fulfillment_state":{"descriptor":{"code":"RIDE_ARRIVED_PICKUP"}},"reason_required":true},{"cancellation_fee":{"percentage":"100"},"fulfillment_state":{"descriptor":{"code":"RIDE_STARTED"}},"reason_required":true}],"fulfillments":[{"id":"F1","state":{"descriptor":{"code":"RIDE_ENDED"}},"stops":[{"authorization":{"token":"234234","type":"OTP","valid_to":"2023-12-10T08:05:34.294Z","status":"CLAIMED"},"location":{"gps":"13.008935, 77.644408"},"type":"START","instructions":{"short_desc":"short description of the location","long_desc":"long description of the location"}},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}],"agent":{"contact":{"phone":"9856798567"},"person":{"name":"Jason Roy"}},"customer":{"contact":{"phone":"9876556789"},"person":{"name":"Joe Adams"}},"tags":[{"descriptor":{"code":"ROUTE_INFO","name":"Route Information"},"display":true,"list":[{"descriptor":{"code":"ENCODED_POLYLINE","name":"Path"},"value":"_p~iF~ps|U_ulLnnqC_mqNvxq`@"},{"descriptor":{"code":"WAYPOINTS","name":"Waypoints"},"value":"[{\"gps\":\"12.909982, 77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982,77.611822\"},{\"gps\":\"12.909982, 77.611822\"}]"}]}],"type":"SELF_PICKUP","vehicle":{"category":"AUTO_RICKSHAW","variant":"AUTO_RICKSHAW","make":"Bajaj","model":"Compact RE","registration":"KA-01-AD-9876"}}],"id":"O1","items":[{"descriptor":{"code":"RIDE","name":"Auto Ride"},"category_ids":["C1"],"fulfillment_ids":["F1"],"id":"I1","location_ids":["L1","L3"],"payment_ids":["PA1"],"price":{"currency":"INR","maximum_value":"176","minimum_value":"136","value":"146"},"tags":[{"descriptor":{"code":"FARE_POLICY","name":"Daytime Charges"},"display":true,"list":[{"descriptor":{"code":"MIN_FARE"},"value":"30"},{"descriptor":{"code":"MIN_FARE_DISTANCE_KM"},"value":"2"},{"descriptor":{"code":"PER_KM_CHARGE"},"value":"15"},{"descriptor":{"code":"PICKUP_CHARGE"},"value":"10"},{"descriptor":{"code":"WAITING_CHARGE_PER_MIN"},"value":"2"},{"descriptor":{"code":"NIGHT_CHARGE_MULTIPLIER"},"value":"1.5"},{"descriptor":{"code":"NIGHT_SHIFT_START_TIME"},"value":"22:00:00"},{"descriptor":{"code":"NIGHT_SHIFT_END_TIME"},"value":"05:00:00"}]},{"descriptor":{"code":"INFO","name":"General Information"},"display":true,"list":[{"descriptor":{"code":"DISTANCE_TO_NEAREST_DRIVER_METER"},"value":"661"},{"descriptor":{"code":"ETA_TO_NEAREST_DRIVER_MIN"},"value":"3"}]}]}],"payments":[{"collected_by":"BPP","id":"PA1","status":"NOT-PAID","type":"ON-FULFILLMENT"}],"provider":{"id":"P1"},"quote":{"breakup":[{"price":{"currency":"INR","value":"30"},"title":"BASE_FARE"},{"price":{"currency":"INR","value":"116"},"title":"DISTANCE_FARE"}],"price":{"currency":"INR","value":"146"},"ttl":"PT30S"},"status":"ACTIVE","created_at":"2023-12-10T08:03:34.294Z","updated_at":"2023-12-10T08:03:34.294Z","tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"},{"descriptor":{"code":"SETTLEMENT_BANK_CODE"},"value":"XXXXXXXX"},{"descriptor":{"code":"SETTLEMENT_BANK_ACCOUNT_NUMBER"},"value":"xxxxxxxxxxxxxx"},{"descriptor":{"code":"SETTLEMENT_VIRTUAL_PAYMENT_ADDRESS"},"value":"9988199772@okicic"}]},{"descriptor":{"code":"BPP_TERMS","name":"BPP Terms of Engagement"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"SETTLEMENT_TYPE"},"value":"UPI"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"P2D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"MANDATORY_ARBITRATION"},"value":"true"},{"descriptor":{"code":"COURT_JURISDICTION"},"value":"New Delhi"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bpp.com/static-terms.txt"},{"descriptor":{"code":"SETTLEMENT_AMOUNT"},"value":"1.46"}]}]}}}}]},"rating":{"examples":[{"summary":"Provide_a_rating___X27","value":{"context":{"action":"rating","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"b462a835-97d6-4479-bec8-9660a0f8513e","timestamp":"2023-03-23T04:46:45Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"id":"b0462745-f6c9-4100-bbe7-4fa3648b6b40","rating_category":"DRIVER","value":4}}},{"summary":"Provide_a_rating_with_feedback_form_data___X28","value":{"context":{"action":"rating","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"849db48a-34c0-454b-86cb-60864482941b","timestamp":"2023-03-23T04:46:45Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"feedback_form":[{"answer":"Driver took me on a route not shown by Google Maps and we reached 10 minutes before time","id":"1"}],"id":"b0462745-f6c9-4100-bbe7-4fa3648b6b40","rating_category":"DRIVER","value":4}}}]},"search":{"examples":[{"summary":"Search_for_mobility_services_by_pickup_and_drop_location[Buyer_Collecting]___X2","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:40:21.452Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"SETTLEMENT_WINDOW"},"value":"PT1D"},{"descriptor":{"code":"SETTLEMENT_BASIS"},"value":"DELIVERY"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}},{"summary":"Search_for_mobility_services_by_pickup_and_drop_location[Seller_Collecting]___X1","value":{"context":{"action":"search","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"40963dc1-e402-4f4d-ae70-7c5864ca682c","timestamp":"2023-12-09T13:39:56.645Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"intent":{"category":{"descriptor":{"code":"ON_DEMAND_TRIP"}},"tags":[{"descriptor":{"name":"BAP Terms of Engagement","code":"BAP_TERMS"},"display":false,"list":[{"descriptor":{"code":"BUYER_FINDER_FEES_PERCENTAGE"},"value":"1"},{"descriptor":{"code":"DELAY_INTEREST"},"value":"5"},{"descriptor":{"code":"STATIC_TERMS"},"value":"https://example-test-bap.com/static-terms.txt"}]}],"fulfillment":{"stops":[{"location":{"gps":"13.008935, 77.644408"},"type":"START"},{"location":{"gps":"12.971186, 77.586812"},"type":"END"}]},"payment":{"collected_by":"BPP"}}}}}]},"select":{"examples":[{"summary":"Get_quote_for_a_specific_product_from_a_mobility_catalog___X3","value":{"context":{"action":"select","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"432fdfd6-0457-47b6-9fac-80cbe5c0a75b","timestamp":"2023-12-09T13:49:01.460Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"P120S","version":"2.1.0"},"message":{"order":{"items":[{"id":"I1","add_ons":[{"id":"A1","quantity":{"selected":{"count":3}}}]}],"fulfillments":[{"id":"F1"}],"provider":{"id":"P1"}}}}}]},"status":{"examples":[{"summary":"Get_latest_fulfillment_status_of_a_booking___X29","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}},{"summary":"status_buyer_app_requests_the_ride_provider_to_provide_the_latest_order_status_4","description":"TBD","value":{"context":{"action":"status","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"d883e7f9-f6bc-4ddf-b64c-a2bc44e63ae2","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"ref_id":"870782be-6757-43f1-945c-8eeaf9536259"}}}]},"support":{"examples":[{"summary":"Fetch_support_information_related_to_a_particular_order___X30","value":{"context":{"action":"support","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"ref_id":"7751bd26-3fdc-47ca-9b64-e998dc5abe68"}}}]},"track":{"examples":[{"summary":"Track_an_active_ride___X31","value":{"context":{"action":"track","bap_id":"example-bap.com","bap_uri":"https://example-bap.com/prod/trv10","bpp_id":"example-bpp.com","bpp_uri":"https://example-bpp.com/prod/seller","domain":"ONDC:TRV10","location":{"city":{"code":"std:080"},"country":{"code":"IND"}},"message_id":"8926b747-0362-4fcc-b795-0994a6287700","timestamp":"2023-03-23T04:48:53Z","transaction_id":"870782be-6757-43f1-945c-8eeaf9536259","ttl":"PT30S","version":"2.1.0"},"message":{"order_id":"O1"}}}]}}}},"x-attributes":{"on-demand":{"attribute_set":{"search":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"search","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"}},"message":{"intent":{"fulfillment":{"customer":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the customer gender."}}},"agent":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"Describes the type of the stops during the fulfillment of order"},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"12.923608, 77.614629","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describe the location of the stop"}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"The list of logical stops encountered during the fulfillment of an order."}},"vehicle":{"category":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle category."},"variant":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"OPTIONAL","type":"object","owner":"BAP","usage":"--","description":"Describes a vehicle is a device that is designed or used to transport people or cargo over land, water, air, or through space.
This has properties like category, capacity, make, model, size,variant,color,energy_type,registration"}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"}},"payment":{"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BPP","description":"This field indicates the payment collector. If set to 'bap,' BAP collects first and settles with BPP. If BPP agrees, no payment link is sent. If set to 'bpp,' BPP collects payment directly."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"The terms of settlement for this order"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This helps the system to find out the purpose of the user behind choosing any product or service. By using this intent the system can align relevant options from available products or service."}}}},"on_search":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_search","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"catalog":{"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Mobility Servies BPP","description":"Describes the catalog name."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the catalog's descriptor."}},"providers":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unique Id of the provider."},"locations":{"id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Indicates provider locations where this item is available."},"gps":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"28.707358, 77.180910","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"OPTIONAL","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's locations."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Describes the unique reference ID to the fulfillment of an order"},"customer":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the customer gender."}}},"agent":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."}}},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DELIVERY","description":"A code that describes the mode of fulfillment. This is typically set when there are multiple ways an order can be fulfilled. "},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"Describes the type of the stops during the fulfillment of order"},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.707358, 77.180910","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle category."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"energy_type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"CAB","description":"Describes the vehicle energy type."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"}},"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"CAB Economy Ride","description":"Describes the unique code value of the item"},"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the name value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value of price in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value price in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Indicates the locations where this item is available from providers."},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Describes the Unique reference ID for order fulfillment."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"payments":{"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BPP","description":"This field indicates who is the collector of payment. "},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the terms of settlement between the BAP and the BPP for a single transaction"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Denotes settlement amount"}}}}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the catalog's description."}}}},"select":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"select","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This decription refers to the comprehensive list of the products or services selected and obtained within the specified order."}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unique Id of the provider."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This describes the complete formulated description of the loan provider whose catalog items have been selected."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the legal contract created between the buyer and the seller."}}}},"on_select":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_select","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the unique code value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value of price in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value of price in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Provider Locations this item is available in"},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unique Id of the provider."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"DELIVERY","description":"A code that describes the mode of fulfillment. This is typically set when there are multiple ways an order can be fulfilled. "},"customer":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the customer gender."}}},"agent":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"Describes the type of the stops during the fulfillment of order"},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle category."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"energy_type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"CAB","description":"Describes the vehicle energy type."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency to be paid in of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the order description."}}}},"init":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"init","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This decription refers to the comprehensive list of the products or services selected and obtained within the specified order."}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Id of the provider"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This describes the complete formulated description of the loan provider whose catalog items have been selected."}},"billing":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"John Doe","description":"Name of the billable entity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"The billing details of this order"}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes contact of end-customer"}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes contact of end-customer"}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.707358, 77.180910","description":"The GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes vehicle category"},"variant":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"OPTIONAL","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"}},"payments":{"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Payment status"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Payment Type"},"params":{"bank_code":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the payment params for this order."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"The terms of settlement for this order"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"This refers to the complete description of the legal contract created between the buyer and the seller."}}}},"on_init":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_init","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145-4ea3-45fe-ab3d-7bcf6b9f456b","description":"Describes the unique Id of the item."},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the unique code value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of selected item."},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value of price in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value of price in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Indicates the locations where this item is available from providers."},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unqiue Id of the provider"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DELIVERY","description":"A code that describes the mode of fulfillment."},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"Describes the GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle category."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"energy_type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"CAB","description":"Describes the vehicle energy type."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Describes the name of the customer"},"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Describes the contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender"}}},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency to be paid in of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the price of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Describes the ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Describe the payment Status for particular order"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Describe the payment type for particular order"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the payment params for this order."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"The terms of settlement for this order"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."},"id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."}}}},"confirm":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"confirm","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This decription refers to the comprehensive list of the products or services selected and obtained within the specified order."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the uique Id of the provider."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This describes the complete formulated description of the loan provider whose catalog items have been selected."}},"billing":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"John Doe","description":"Describes the Name of the billable entity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"The billing details of this order"}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"bc08edb1","description":"ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Describe the payment Status for particular order"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Describe the payment type for particular order"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"transaction_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"cda41144","description":"Describes transaction ID associated with payment activity"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the payment params for this order."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"The terms of settlement for this order"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Describe the name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes contact of end-customer"}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Describe the contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes contact of end-customer"}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"Describes the type of the stops during the fulfillment of order"},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"The GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes vehicle category"},"variant":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"OPTIONAL","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"This refers to the complete description of the legal contract created between the buyer and the seller."},"id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."}}}},"on_confirm":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_confirm","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique Id of the item."},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Single Journey Ticket","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"SJT","description":"Describes the unique code value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type to be paid in of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Indicates the locations where this item is available from providers."},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"P1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"P1","description":"Unique reference ID to the payment of an order"},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Describes the name of the customer"},"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Describes the contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"John Doe","description":"Describes the name of the agent"},"gender":{"required":"optional","type":"string","owner":"BAP","usage":"FEMALE","description":"Describes the agent gender"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent details."}},"contact":{"phone":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":7845981268,"description":"Describes the contact number of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent."}},"state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ASSIGNED","description":"Describes the state's code for fulfillment."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the fulfillments description."}}},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"INTERMEDIATE_STOP","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.707358, 77.180910","description":"The GPS co-ordinates of this location."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"authorization":{"type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"OTP","description":"Type of authorization mechanism used. The allowed values for this field can be published as part of the network policy."},"token":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":232312,"description":"Token used for authorization. This is typically generated at the BPP. The BAP can send this value to the user via any channel that it uses to authenticate the user like SMS, Email, Push notification, or in-app rendering."},"_description":{"required":"OPTIONAL","type":"object","owner":"BPP","usage":"--","description":"Describes the authorization for a fulfillments stop."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"AUTO_RICKSHAW","description":"Describes vehicle category"},"make":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Bajaj","description":"Describes vehicle manufacturer"},"model":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"compact-re","description":"Describes vehicle model"},"registration":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"HR-20AS-4578","description":"Describes vehicle registration details"},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the vehicle type."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency to be paid in of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Describes the ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Describe the Payment Status"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Describe the Payment type"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"amount":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":146,"description":"Describes the amount associated with the payment transaction"},"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency associated with the payment transaction"},"transaction_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"cda41144","description":"Describes transaction ID associated with payment activity"}},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"status":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ACTIVE","description":"Describes the order status."},"created_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes the date-time of creation of this order"},"updated_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes The date-time of updated of this order"},"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."}}}},"cancel":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"cancel","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"60253df1","description":"Describes the unique ID of the order. "},"cancellation_reason_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"45dd6fd3","description":"Describes the reason Id for cancellation"},"descriptor":{"short_desc":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"Accidantaly book the ride","description":"Describes the Short description for cancellaion"},"name":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"Ride Cancellation","description":"Describes the name for cancellaion"},"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"SOFT_CANCEL","description":"Describes the code for cancellaion"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This include the details about the distinctive features, benefits, or unique aspects of the products or service that has been offered to the end customer."}}}},"on_cancel":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_cancel","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique ID of the order. "},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the unique code value of the item"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Describes the unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Describes the unique reference ID to the payment of an order"},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Provider Locations this item is available in"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type to be paid in of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Describes the unique ID of the provider. "},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"Describes a GPS coordinate"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"authorization":{"type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"OTP","description":"Type of authorization mechanism used. The allowed values for this field can be published as part of the network policy."},"token":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":232312,"description":"Token used for authorization. This is typically generated at the BPP. The BAP can send this value to the user via any channel that it uses to authenticate the user like SMS, Email, Push notification, or in-app rendering."}},"time":{"duration":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"PT2H","description":"Describes the duration."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the fulfillments stops."}},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"Jason Roy","description":"Name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"John Doe","description":"Name of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BPP","usage":7845981268,"description":"Contact number of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent."}},"vehicle":{"registration":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"HR-20AS-4578","description":"Describes vehicle registration details"},"category":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"AUTO_RICKSHAW","description":"Describes vehicle category"},"make":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Bajaj","description":"Describes vehicle manufacturer"},"model":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"compact-re","description":"Describes vehicle model"},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the vehicle type."}},"state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DRIVER_ENROUTE","description":"Describes the state's code for fulfillment."},"name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Driver is on the way","description":"Describes the current state"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the fulfillments description."}}},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"P1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Describes the Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency type of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"ID of the payment term that can be referred at an item or an order level in a catalog"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Describe the Payment type"},"params":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes currency value in string form"},"amount":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":60,"description":"Describes a numerical value in decimal form"},"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"bank_account_name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Raghvinder J","description":"Describes the Bank account holder name"},"virtual_payment_address":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"}},"time":{"duration":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P1D","description":"Describes time transaction duration"}},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Describe the Payment Status"},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."},"status":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"SOFT_CANCEL","description":"Describes the order status."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."}}}},"status":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"status","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"60253df1","description":"Describes the unique ID of the order. "},"ref_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"60253df1","description":"Describes unique id for reference, pre-order this will be transaction ID."}}},"on_status":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_status","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique ID of the item. "},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name."},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the item code."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes a numerical value in decimal form"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Provider Locations this item is available in"},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Id of the provider"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"28.686576, 77.441632","description":"Describes a GPS coordinate"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the location of stops."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"CAB","description":"Describes vehicle category"},"make":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Bajaj","description":"Describes vehicle manufacturer"},"model":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"compact-re","description":"Describes vehicle model"},"registration":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"HR-20AS-4578","description":"Describes vehicle registration details"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the vehicle type."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."}},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Jason Roy","description":"Name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BPP","usage":9898657512,"description":"Contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"John Doe","description":"Name of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BPP","usage":7845981268,"description":"Contact number of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent."}},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Delivery","description":"Describes type of fullfilment"},"state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DRIVER_ENROUTE","description":"Describes the state's code for fulfillment."},"name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Driver is on the way","description":"Describes the current state"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the fulfillments description."}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency to be paid in of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"PA1","description":"ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Payment Status"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Payment type"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"},"transaction_id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"cda41144","description":"Describes transaction ID associated with payment activity"},"amount":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":146,"description":"Describes the amount associated with the payment transaction"},"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency associated with the payment transaction"}},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"status":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"ACTIVE","description":"Describes the order status."},"created_at":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes the date-time of creation of this order"},"updated_at":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes The date-time of updated of this order"},"id":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."}}}},"update":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_status","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":1,"description":"Describes the unique order id"},"fulfillments":{"customer":{"person":{"name":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"John Adam","description":"Name of the customer"}}},"_description":{"required":"OPTIONAL","type":"object","owner":"BAP/BPP","usage":"--","description":"Name of the customer"}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the unique order id"}}}},"on_update":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the country of location where the transaction is meant to be completed."}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the city of location where the transaction is meant to be completed."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"This attribute defines the location where the transaction is meant to be completed."}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_update","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order":{"items":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ecf4d145","description":"Describes the unique ID of the item. "},"descriptor":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Auto Ride","description":"Describes the item name. "},"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE","description":"Describes the item code. "},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the items description."}},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency type of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes a numerical value in decimal form"},"maximum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":176,"description":"Describes a maximum value in decimal form"},"minimum_value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":50,"description":"Describes a minimum value in decimal form"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of an item."}},"location_ids":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"d3ebf05b","description":"Provider Locations this item is available in"},"fulfillment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"payment_ids":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"bc08edb1","description":"Unique reference ID to the payment of an order"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes a product or a service offered to the end consumer by the provider. In the mobility sector, it can represent a fare product like one way journey. In the logistics sector, it can represent the delivery service offering. In the retail domain it can represent a product like a grocery item."},"tags":{"FARE_POLICY":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Details about fare for the ride","list":{"MIN_FARE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare"},"MIN_FARE_DISTANCE_KM":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the minimum fare per KM"},"PER_KM_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the per km charge"},"PICKUP_CHARGE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the pickup charge"},"WAITING_CHARGE_PER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waiting charge per minute"},"NIGHT_CHARGE_MULTIPLIER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the times need to multiply for night charge"},"NIGHT_SHIFT_START_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift starts"},"NIGHT_SHIFT_END_TIME":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the time when night shift ends"}}},"INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the general info about the ride","list":{"DISTANCE_TO_NEAREST_DRIVER_METER":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the distance to nearest driver."},"ETA_TO_NEAREST_DRIVER_MIN":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the ETA to nearest driver."}}}}},"provider":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"450dec0f","description":"Id of the provider"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the provider's description."}},"fulfillments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"b68bb35b","description":"Unique reference ID to the fulfillment of an order"},"stops":{"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"START","description":"The type of stop. Allowed values of this property can be defined by the network policy."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"28.686576, 77.441632","description":"Describes a GPS coordinate"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the location of stops."}},"authorization":{"type":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"OTP","description":"Type of authorization mechanism used. The allowed values for this field can be published as part of the network policy."},"token":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":232312,"description":"Token used for authorization. This is typically generated at the BPP. The BAP can send this value to the user via any channel that it uses to authenticate the user like SMS, Email, Push notification, or in-app rendering."},"_description":{"required":"OPTIONAL","type":"object","owner":"BPP","usage":"--","description":"Describes the authorization for a fulfillments stop."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the fulfillments stops."}},"vehicle":{"category":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"CAB","description":"Describes vehicle category"},"make":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Bajaj","description":"Describes vehicle manufacturer"},"model":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"compact-re","description":"Describes vehicle model"},"registration":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"HR-20AS-4578","description":"Describes vehicle registration details"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the vehicle type."},"variant":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"CAB","description":"Describes the vehicle variant."}},"customer":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"John Adam","description":"Name of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BAP","usage":9898657512,"description":"Contact number of the customer"},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP","usage":"--","description":"Describes the customer."}},"agent":{"person":{"name":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"John Doe","description":"Name of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent details."}},"contact":{"phone":{"required":"MANDATORY","type":"string","owner":"BPP","usage":7845981268,"description":"Contact number of the agent"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent contact details."}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the agent."}},"type":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Delivery","description":"Describes type of fullfilment"},"state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"DRIVER_ENROUTE","description":"Describes the state's code for fulfillment."},"name":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"Driver is on the way","description":"Describes the current state"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the fulfillments description."}}},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes how a an order will be rendered/fulfilled to the end-customer"},"tags":{"ROUTE_INFO":{"required":"MANDATORY","type":"OBJECT","owner":"BPP","usage":"--","description":"Describes the route information.","list":{"ENCODED_POLYLINE":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the encoded polyline value."},"WAYPOINTS":{"required":"MANDATORY","type":"TEXT","owner":"BPP","usage":"--","description":"Describes the waypoints value."}}}}},"quote":{"price":{"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":60,"description":"Describes the price of a product or service"},"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the value of used currency of quoted price."}},"breakup":{"title":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"Base Fare","description":"Breakup title of the total quoted price"},"price":{"currency":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"INR","description":"Describes the price of a product or service"},"value":{"required":"MANDATORY","type":"string","owner":"BPP","usage":120,"description":"Describes the currency to be paid in of a product or service"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the breakup price"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This attribute describes the breakup of the total quoted price."}},"ttl":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"P200s","description":"Time to live in seconds for an instance of this schema"},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"This refers to the complete description of the mutually agreed upon quotation for this order."}},"payments":{"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"PA1","description":"ID of the payment term that can be referred at an item or an order level in a catalog"},"collected_by":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"BAP","description":"This field indicates who is the collector of payment. "},"status":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"NOT-PAID","description":"Payment Status"},"type":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PRE-ORDER","description":"Payment type"},"params":{"bank_code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"XXXXXXXX","description":"Bank code associated with payment activity"},"bank_account_number":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"xxxxxxxxxxxxxx","description":"Bank account number associated with payment activity"},"virtual_payment_address":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"9988199772@okicic","description":"Virtual payment address associated with payment activity"}},"tags":{"BUYER_FINDER_FEES":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the finder fees for buyer","list":{"BUYER_FINDER_FEES_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee type"},"BUYER_FINDER_FEES_PERCENTAGE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in percentage"},"BUYER_FINDER_FEES_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Buyer finder fee in amount"}}},"SETTLEMENT_TERMS":{"required":"MANDATORY","type":"OBJECT","owner":"BAP","usage":"--","description":"Describes the settlement terms","list":{"SETTLEMENT_WINDOW":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Time window to complete settlement"},"SETTLEMENT_BASIS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Basis required to complete settlement"},"SETTLEMENT_TYPE":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Payment method to complete settlement"},"MANDATORY_ARBITRATION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Flag to denote if dispute can be resolved through arbitration"},"COURT_JURISDICTION":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes court that will have jurisdiction for the case"},"DELAY_INTEREST":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes interest to be paid as a delay charge"},"STATIC_TERMS":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Terms for settlement"},"SETTLEMENT_AMOUNT":{"required":"MANDATORY","type":"TEXT","owner":"BAP","usage":"--","description":"Denotes settlement amount"}}}}},"cancellation_terms":{"fulfillment_state":{"descriptor":{"code":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"RIDE_ENROUTE_PICKUP","description":"Describes the unique code for the cancellation terms."},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}}},"reason_required":{"required":"MANDATORY","type":"string","owner":"BPP","usage":true,"description":"Indicates whether a reason is required to cancel the order"},"cancellation_fee":{"percentage":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":2,"description":"Describes the percentage value for cancellation fee"},"amount":{"currency":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":"INR","description":"Describes the currency of a product or service"},"value":{"required":"OPTIONAL","type":"string","owner":"BPP","usage":30,"description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the price of a product or service"}},"_description":{"required":"MANDATORY","type":"object","owner":"BPP","usage":"--","description":"Describes the unique code for the cancellation terms"}},"status":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"COMPLETED","description":"Describes the order status."},"created_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes the date-time of creation of this order"},"updated_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-12-10T08:03:34.294Z","description":"Describes The date-time of updated of this order"},"billing":{"name":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"John Doe","description":"Describes the Name of the billable entity"},"email":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":"jane.doe@example.com","description":"Describes the email of the billable entity"},"phone":{"required":"OPTIONAL","type":"string","owner":"BAP","usage":9897867564,"description":"Describes the contact number of the billable entity"}},"id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"ec08edb2","description":"Describes the unqiue order ID."},"_description":{"required":"MANDATORY","type":"object","owner":"BAP/BPP","usage":"--","description":"Describes the order description."}}}},"track":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"track","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"order_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"O1","description":"Describes the order ID."}}},"on_track":{"context":{"location":{"country":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"IND","description":"Describes country code as per ISO 3166-1 and ISO 3166-2 format"}},"city":{"code":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"std:080","description":"Describes the city code this location is, or is located within"}}},"domain":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"ONDC:TRV10","description":"Describes domain code that is relevant to this transaction context"},"timestamp":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"2023-03-23T04:41:16.000Z","description":"Describes tme of request generation in RFC3339 format"},"bap_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"api.example-bap.com","description":"Describes subscriber ID of the BAP"},"transaction_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"6743e9e2","description":"Describes a unique value which persists across all API calls"},"message_id":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"13ba8018f176","description":"Describes a unique value which persists during a request / callback cycle."},"version":{"required":"MANDATORY","type":"integer","owner":"BAP","usage":"2.0.0","description":"Describes the version of transaction protocol being used by the sender."},"action":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"on_track","description":"Describes the Beckn protocol method being called by the sender and executed at the receiver."},"bap_uri":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"https://api.example-bap.com/pilot/bap/cab/v1","description":"Describes subscriber URL of the BAP for accepting callbacks from BPPs."},"ttl":{"required":"MANDATORY","type":"string","owner":"BAP","usage":"PT30S","description":"Describes the duration in ISO8601 format after timestamp for which this message holds valid"},"bpp_id":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"api.example-bpp.com","description":"Describes subscriber ID of the BPP"},"bpp_uri":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"https://api.example-bpp.com/dobpp/7f7896dd-787e-4a0b-8675-e9e6fe93bb8f","description":"Describes subscriber URL of the BPP for accepting calls from BAPs."}},"message":{"tracking":{"status":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"O1","description":"Describes the order status."},"location":{"gps":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"28.620976, 77.046732","description":"Describes the gps value."},"updated_at":{"required":"MANDATORY","type":"string","owner":"BPP","usage":"2023-03-23T05:41:09Z","description":"Describes the updated_at value."}}}}}}}},"x-errorcodes":{"code":[{"Event":"Route Serviceability error","Description":"To & from location not serviceable by Seller application","From":"BPP","code":90201},{"Event":"Tracking not enabled","Description":"Tracking not enabled for any fulfillment in the order","From":"BPP","code":90202},{"Event":"Driver not assigned","Description":"Driver not assigned to the order","From":"BPP","code":90203}]},"x-tlc":{"code":[{"Term":"Buyer App Fee\t","Api":"search/on_search/init/on_init\t","Attribute":"BUYER_FINDER_FEE_TYPE","Owner":"Buyer App","Value":"“amount”, “percent” ","Description":"If set to “amount” it means Buyer App’s fee is a flat amount in INR.\nIf set to “percent” it means the Buyer App’s fee is set as a percentage of the total fare value."},{"Term":"Buyer App Fee ","Api":"search/on_search/init/on_init\t","Attribute":"BUYER_FINDER_FEE_AMOUNT\nBUYER_FINDER_FEE_PERCENTAGE","Owner":"Buyer App","Value":"Positive Decimal Number","Description":"Quantum of the Buyer App’s Fee. To be interpreted in connection with the “type” field mentioned above.\nFor example, let’s assume the value is set at “5”. If the “type” is set to “Amount”, that means the Buyer App Fee is INR 5. If the “type” is set to “percent”, it means the Buyer App Fee is 5% of the Total Order Value."},{"Term":"Payment Collector ","Api":"search/on_search/init/on_init\t","Attribute":"payment.collected_by ","Owner":"Either","Value":"“BAP”, “BPP” ","Description":"If set to “BAP”, it means that the Buyer App will collect payment from the Buyer.\nIf set to “BPP”, it means that the Seller App will collect payment from the Buyer."},{"Term":"Payment Type ","Api":"init/on_init ","Attribute":"payment.type ","Owner":"Either","Value":"“ON-ORDER”, “ON-FULFILLMENT”\n","Description":"How payment is going to be collected from the Buyer. If this parameter is set to “ON-ORDER”, that means it is a pre-paid order, i.e. the payment is collected at the time of order confirmation. If this parameter is set to “ON-FULFILLMENT”, that means it is a pay at the end of the trip, i.e. the payment is collected when the trip ends."},{"Term":"Settlement Basis ","Api":"search/on_search/init/on_init\t","Attribute":"SETTLEMENT_BASIS ","Owner":"Seller App\t","Value":"\"INVOICE_RECEIPT\", “delivery” ","Description":"The event that will trigger settlement from the Payment Collector to counterparty Network Participant(s).\nIf it is set to “trip complete”, that will mean settlement by the Payment Collector will be after the completion of the trip."},{"Term":"Settlement Window ","Api":"search/on_search/init/on_init\t","Attribute":"SETTLEMENT_WINDOW","Owner":"Either","Value":"Time period (ISO8601 format) ","Description":"The time period from completion of the Settlement Basis within which the Payment Collector will settle with counterparty Network Participant(s). As an example, if the Settlement Basis is set as “trip complete” and the Settlement Window is set to 7 days, and the Seller App collects the payment, it means the Seller App will remit funds to the Buyer App on or before the completion of the 7th day after successful completion of the trip,\nISO8601 duration notation is used to specify the value of the parameter. As an illustration, a Settlement Window of 5 days after delivery can be specified as “P5D” (i.e. period 5 days) or “PT120H” (i.e. period 120 hours)."},{"Term":"Settlement Amount","Api":"init/on_init ","Attribute":"SETTLEMENT_AMOUNT","Owner":"Either","Value":"Positive Decimal Number ","Description":"The amount that the Payment Collector will remit to the counterparty Network Participant for the instant transaction.\nFor clarity, if the Buyer App is the Payment Collector, the Buyer App will deduct their fee and remit the balance to the Seller App. If the Seller App is the Payment Collector, they will remit the Buyer App’s fee, deduct its own charges/commission"},{"Term":"Settlement Type","Api":"search/on_search/init/on_init\t","Attribute":"SETTLEMENT_TYPE","Owner":"Either","Value":"\"upi\", \"neft\", \"rtgs\"","Description":"The Payment Collector will use the selected method to remit the due payment to the counterparty Network Participant. To illustrate, if the Buyer App collects the payment and the Settlement Type is set to “rtgs”, when the settlement is due, the Buyer App will transfer the Seller App’s share of the Buyer Price to the Seller App’s account via RTGS."},{"Term":"Item Cancellability ","Api":"search/on_search/init/on_init\t","Attribute":"Handled in cancellation terms ","Owner":"Seller App\t","Value":"true/ false\t","Description":"Whether the order for that item can be canceled after being confirmed. If set to “TRUE” that means the Seller allows the Buyer to cancel the order for the item in question, after confirmation."},{"Term":"Mandatory Arbitration ","Api":"search/on_search/init/on_init\t","Attribute":"MANDATORY_ARBITRATION ","Owner":"Seller App\t","Value":"true/ false\t","Description":"If this attribute is set to true, that would mean both parties agree that in case of a dispute, both parties must resolve the dispute through arbitration."},{"Term":"Court Jurisdiction ","Api":"search/on_search/init/on_init\t","Attribute":"COURT_JURISDICTION ","Owner":"Seller App\t","Value":"Pick a city from a given list of cities which have a High Court bench","Description":"The name of the city whose courts will have exclusive jurisdiction over disputes related to this contract. The list of options will only contain Indian cities which have a High Court bench."},{"Term":"Delay Interest","Api":"search/on_search/init/on_init\t","Attribute":"DELAY_INTEREST","Owner":"Seller App\t","Value":"Positive Decimal Number","Description":"This is the annual rate of interest that the Payment Collector will be charged if they delay a payment to the counterparty Network Participant, calculated pro rata for each calendar day of delay. As an example, if the value is set as “7.3”, and the amount of payment due is INR 1000, that will mean the Payment Collector will pay the counterparty Network Participant an interest of 7.3% per annum (i.e. INR 100), calculated pro rata for each day of delay. So if the Payment Collector delay was 50 days, the total interest payable would be INR 10 [calculated as 1000x(7.3/100)x(50/365)]"},{"Term":"Static Terms","Api":"search/on_search/init/on_init\t","Attribute":"STATIC_TERMS","Owner":"Seller App & Buyer App","Value":"URL","Description":"This will be the URL of a web-page where the standard Terms and Conditions of the Network Participant - which are not covered in the API Specification (e.g.: indemnity) - will be hosted. These terms will apply to the transaction, in addition to the terms decided through the ONDC Protocol. If there is a conflict between the terms decided through the Protocol, and the Static Terms, the terms decided through the ONDC Protocol will prevail. Also, if there is a conflict between the Static Terms and the ONDC Network Policy or the Static Terms and the Network Participant Agreement, the terms of the ONDC Network Policy or the Network Participant Agreement (as the case may be) will prevail."}]},"x-sandboxui":{"dropdown":[{"environment-name":"staging","link":"https://mobility-staging.ondc.org"}]},"x-testcasesui":{"filenames":["log-verification.md"]},"x-changeLog":{"filenames":["TRV10_2.1.0_030924.md"]}} \ No newline at end of file