{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses captures API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "captures",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the captures associated to the authorization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/authorizations/:authorizationId/captures",
            "params": [
              {
                "name": "authorizationId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the captures associated to the authorization"
        },
        {
          "info": {
            "name": "List all captures",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/captures"
          },
          "docs": "List all captures"
        },
        {
          "info": {
            "name": "Retrieve a capture",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/captures/:captureId",
            "params": [
              {
                "name": "captureId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a capture"
        },
        {
          "info": {
            "name": "Update a capture",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/captures/:captureId",
            "params": [
              {
                "name": "captureId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a capture"
        },
        {
          "info": {
            "name": "Retrieve the captures associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/captures",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the captures associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the reference capture associated to the refund",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/refunds/:refundId/reference_capture",
            "params": [
              {
                "name": "refundId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the reference capture associated to the refund"
        },
        {
          "info": {
            "name": "Retrieve the reference capture associated to the return",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/returns/:returnId/reference_capture",
            "params": [
              {
                "name": "returnId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the reference capture associated to the return"
        }
      ]
    }
  ],
  "bundled": true
}