{
  "opencollection": "1.0.0",
  "info": {
    "name": "PayMongo Checkout Sessions API",
    "version": "2020-08-08"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Checkout Sessions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a Checkout Session (Hosted Checkout)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.paymongo.com/v1/checkout_sessions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a PayMongo-hosted checkout page. Returns checkout_url to which the customer is redirected."
        },
        {
          "info": {
            "name": "Retrieve a Checkout Session",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.paymongo.com/v1/checkout_sessions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The identifier of the resource (e.g. pi_..., pm_..., pay_...)."
              }
            ]
          },
          "docs": "Retrieve a Checkout Session"
        },
        {
          "info": {
            "name": "Expire a Checkout Session",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.paymongo.com/v1/checkout_sessions/:id/expire",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The identifier of the resource (e.g. pi_..., pm_..., pay_...)."
              }
            ]
          },
          "docs": "Expire a Checkout Session"
        }
      ]
    }
  ],
  "bundled": true
}