Config Get all config for calculator, like: rules for counts, traffic, paid period, etc. This is used in plan selector to show the rules for the order. Cart

A list of all publicly available methods for interacting with the API.

GET

Get cart config Config Get all config for calculator, like: rules for counts, traffic, paid period, etc. This is used in plan selector to show the rules for the order. Cart -/cart/config

Query method

GEThttps://api.stableproxy.com/v2/cart/config

Code examples

async function getCartConfig() {
   const baseUrl = 'https://api.stableproxy.com/v2';
   const req = await fetch(baseUrl + '/cart/config', {
         method: 'GET',
         headers: {
            'Content-Type': 'application/json'
         }
      }
   );
   
   const res = await req.json();
}

Examples of answers