{
  "opencollection": "1.0.0",
  "info": {
    "name": "Culqi API v2 3DS Refunds API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "Refunds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List refunds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.culqi.com/v2/refunds",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records to return (max 100)."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Cursor - return records created before this id."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor - return records created after this id."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List refunds"
        },
        {
          "info": {
            "name": "Create a refund",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.culqi.com/v2/refunds",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Refunds all or part of a charge. amount is an integer in the currency minor unit."
        },
        {
          "info": {
            "name": "Retrieve a refund",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.culqi.com/v2/refunds/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique resource identifier."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a refund"
        },
        {
          "info": {
            "name": "Update refund metadata",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.culqi.com/v2/refunds/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique resource identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update refund metadata"
        }
      ]
    }
  ],
  "bundled": true
}