{
  "opencollection": "1.0.0",
  "info": {
    "name": "Omise (Opn Payments) Account Disputes API",
    "version": "2019-05-29"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Disputes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all disputes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.omise.co/disputes"
          },
          "docs": "List all disputes"
        },
        {
          "info": {
            "name": "List disputes by status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.omise.co/disputes/:status",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "path",
                "description": "One of open, pending, or closed."
              }
            ]
          },
          "docs": "List disputes by status"
        },
        {
          "info": {
            "name": "Retrieve a dispute",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.omise.co/disputes/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The object identifier."
              }
            ]
          },
          "docs": "Retrieve a dispute"
        },
        {
          "info": {
            "name": "Update a dispute",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.omise.co/disputes/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The object identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds an evidence message or metadata to a dispute."
        },
        {
          "info": {
            "name": "Accept a dispute",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.omise.co/disputes/:id/accept",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The object identifier."
              }
            ]
          },
          "docs": "Accepts the dispute, conceding the chargeback."
        }
      ]
    }
  ],
  "bundled": true
}