{
  "opencollection": "1.0.0",
  "info": {
    "name": "Deliverect Channel Accounts Payments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.deliverect.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Deliverect Payment Update",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/channel/payment_update"
          },
          "docs": "Deliverect Payment Update"
        },
        {
          "info": {
            "name": "Deliverect Request Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/pay/channel/:channelLinkId/payments/request",
            "params": [
              {
                "name": "channelLinkId",
                "value": "5e8abc11dec0001a009b",
                "type": "path",
                "description": "The channelLinkId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Request Payment"
        },
        {
          "info": {
            "name": "Deliverect Get Payment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.deliverect.com/pay/channel/:channelLinkId/payments/:paymentId",
            "params": [
              {
                "name": "channelLinkId",
                "value": "5e8abc11dec0001a009b",
                "type": "path",
                "description": "The channelLinkId value."
              },
              {
                "name": "paymentId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The paymentId value."
              }
            ]
          },
          "docs": "Deliverect Get Payment"
        },
        {
          "info": {
            "name": "Deliverect Refund Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/pay/channel/:channelLinkId/payments/:paymentId/refund",
            "params": [
              {
                "name": "channelLinkId",
                "value": "5e8abc11dec0001a009b",
                "type": "path",
                "description": "The channelLinkId value."
              },
              {
                "name": "paymentId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The paymentId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Refund Payment"
        },
        {
          "info": {
            "name": "Deliverect Request Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/request",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Request Payment"
        },
        {
          "info": {
            "name": "Deliverect Refund Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/refund",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Refund Payment"
        }
      ]
    }
  ],
  "bundled": true
}