{
  "opencollection": "1.0.0",
  "info": {
    "name": "Paypal Subscriptions Authorizations Captures API",
    "version": "1.6"
  },
  "items": [
    {
      "info": {
        "name": "Captures",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Paypal Show captured payment details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-m.sandbox.paypal.com/v2/payments/captures/:capture_id",
            "params": [
              {
                "name": "capture_id",
                "value": "",
                "type": "path",
                "description": "The PayPal-generated ID for the captured payment to refund."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/v1/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Shows details for a captured payment, by ID."
        },
        {
          "info": {
            "name": "Paypal Refund captured payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-m.sandbox.paypal.com/v2/payments/captures/:capture_id/refund",
            "headers": [
              {
                "name": "PayPal-Request-Id",
                "value": ""
              },
              {
                "name": "Prefer",
                "value": ""
              },
              {
                "name": "PayPal-Auth-Assertion",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "capture_id",
                "value": "",
                "type": "path",
                "description": "The PayPal-generated ID for the captured payment to refund."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/v1/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Refunds a captured payment, by ID. For a full refund, include an empty payload in the JSON request body. For a partial refund, include an <code>amount</code> object in the JSON request body."
        }
      ]
    }
  ],
  "bundled": true
}