{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ekspres Przelewy24 REST API Documentation Additional API functionality Marketplace Management API API",
    "version": "1.0.6"
  },
  "items": [
    {
      "info": {
        "name": "Marketplace Management API",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Dispatch Transaction",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.przelewy24.pl/api/v1/multiStore/dispatchTransaction",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "The method allows to transfer the funds to specific submerchant's account."
        },
        {
          "info": {
            "name": "Dispatch Information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.przelewy24.pl/api/v1/multiStore/dispatchInfo/:orderId",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "Identifier of transaction"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "The method reutrn information about a dispatched transaction for the given <b>orderId</d>."
        },
        {
          "info": {
            "name": "Merchant's Balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.przelewy24.pl/api/v1/multiStore/funds?merchantId=:merchantId",
            "params": [
              {
                "name": "merchantId",
                "value": "",
                "type": "path",
                "description": "Merchant's ID."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "The method returns information about the current stafe of given merchant's balance."
        },
        {
          "info": {
            "name": "Registered Submerchants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.przelewy24.pl/api/v1/multiStore/affiliates?affiliateId=:merchantId",
            "params": [
              {
                "name": "affiliateId",
                "value": "",
                "type": "path",
                "description": "Merchant's ID."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "The method allows to download information about registered submerchants in a given marketplace. If you send an optional parameter afiiliatedId, the method returns information about this specific merchant. If you don't send an afiliatedId, the method returns a full list of registered submerchants and their basic data."
        },
        {
          "info": {
            "name": "Refund Dispatch Transaction",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.przelewy24.pl/api/v1/multiStore/refund",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "To refund a dispatched transaction use an extended refund method. The additional parameters are <b>merchantId</b> and <b>merchantAmount</b>."
        }
      ]
    }
  ],
  "bundled": true
}