{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kriya Onboarding Buyers Orders API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Transitions an order status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kriya.dev/onboarding/scenario/orders/:merchantOrderId/transition",
            "params": [
              {
                "name": "merchantOrderId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the order on the partner platform."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transitions the status of a single order to another status. Any valid transition can be made, even those that are otherwise read-only."
        },
        {
          "info": {
            "name": "Initiates a new order transaction",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kriya.dev/onboarding/orders",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Initiates a new order transaction between buyer and supplier or merchant."
        },
        {
          "info": {
            "name": "Searches orders by specific filters",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kriya.dev/onboarding/orders/many",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Search orders by specific filters"
        },
        {
          "info": {
            "name": "Get current session state",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kriya.dev/onboarding/orders/:merchantOrderId/session/:sessionId",
            "params": [
              {
                "name": "merchantOrderId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the order on the partner platform."
              },
              {
                "name": "sessionId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the mfa session that has been started for the order with merchantOrderId identifier."
              }
            ]
          },
          "docs": "Get current session state"
        },
        {
          "info": {
            "name": "Retrieves order details by merchant ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.kriya.dev/onboarding/orders/:merchantOrderId",
            "params": [
              {
                "name": "merchantOrderId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the order on the partner platform."
              }
            ]
          },
          "docs": "Retrieves detailed information about an order using the merchant's order ID."
        },
        {
          "info": {
            "name": "Modifies order details",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.kriya.dev/onboarding/orders/:merchantOrderId",
            "params": [
              {
                "name": "merchantOrderId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the order on the partner platform."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modifies the details of an existing order."
        },
        {
          "info": {
            "name": "Transitions an order status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kriya.dev/onboarding/orders/:merchantOrderId/transition",
            "params": [
              {
                "name": "merchantOrderId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the order on the partner platform."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transitions the status of a single order to another status"
        },
        {
          "info": {
            "name": "Uploads delivery confirmation evidence for an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.kriya.dev/onboarding/orders/:merchantOrderId/deliveryConfirmation",
            "params": [
              {
                "name": "merchantOrderId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the order on the partner platform."
              }
            ]
          },
          "docs": "Uploads delivery confirmation evidence (one or more files and/or text notes) for an order. Sent as multipart/form-data. Repeated calls append new evidence rather than replacing existing evidence."
        }
      ]
    }
  ],
  "bundled": true
}