{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cashfree Payment Gateway APIs Authorize Payments API",
    "version": "2025-01-01"
  },
  "items": [
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Payments for an Order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.cashfree.com/pg/orders/:order_id/payments",
            "headers": [
              {
                "name": "x-api-version",
                "value": "2025-01-01"
              },
              {
                "name": "x-request-id",
                "value": "4dfb9780-46fe-11ee-be56-0242ac120002"
              },
              {
                "name": "x-idempotency-key",
                "value": "47bf8872-46fe-11ee-be56-0242ac120002"
              }
            ],
            "params": [
              {
                "name": "order_id",
                "value": "your-order-id",
                "type": "path",
                "description": "The id which uniquely identifies your order"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-client-id",
              "value": "{{x-client-id}}",
              "placement": "header"
            }
          },
          "docs": "Use this API to view all payment details for an order."
        },
        {
          "info": {
            "name": "Get Payment by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.cashfree.com/pg/orders/:order_id/payments/:cf_payment_id",
            "headers": [
              {
                "name": "x-api-version",
                "value": "2025-01-01"
              },
              {
                "name": "x-request-id",
                "value": "4dfb9780-46fe-11ee-be56-0242ac120002"
              },
              {
                "name": "x-idempotency-key",
                "value": "47bf8872-46fe-11ee-be56-0242ac120002"
              }
            ],
            "params": [
              {
                "name": "order_id",
                "value": "your-order-id",
                "type": "path",
                "description": "The id which uniquely identifies your order"
              },
              {
                "name": "cf_payment_id",
                "value": "121224562",
                "type": "path",
                "description": "The Cashfree payment or transaction ID."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-client-id",
              "value": "{{x-client-id}}",
              "placement": "header"
            }
          },
          "docs": "Use this API to view payment details of an order for a Payment ID."
        }
      ]
    }
  ],
  "bundled": true
}