{
 "item": [
  {
   "name": "healthz",
   "description": "",
   "item": [
    {
     "id": "f6ea0260-de0c-47d1-97d5-5446f7e8a6d1",
     "name": "Liveness probe",
     "request": {
      "name": "Liveness probe",
      "description": {
       "content": "Plain `ok`. Used by the Docker HEALTHCHECK, Caddy and deploy smoke tests.",
       "type": "text/plain"
      },
      "url": {
       "path": [
        "healthz"
       ],
       "host": [
        "{{baseUrl}}"
       ],
       "query": [],
       "variable": []
      },
      "header": [
       {
        "key": "Accept",
        "value": "text/html"
       }
      ],
      "method": "GET",
      "body": {},
      "auth": null
     },
     "response": [
      {
       "id": "74f106b8-ba1c-48a2-af4d-0cc331b2a3f1",
       "name": "alive",
       "originalRequest": {
        "url": {
         "path": [
          "healthz"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {}
       },
       "status": "OK",
       "code": 200,
       "header": [
        {
         "key": "Content-Type",
         "value": "text/html"
        }
       ],
       "body": "<string>",
       "cookie": [],
       "_postman_previewlanguage": "text"
      },
      {
       "id": "6ef61a97-50b6-4d73-aac3-b971df427636",
       "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
       "originalRequest": {
        "url": {
         "path": [
          "healthz"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "method": "GET",
        "body": {}
       },
       "status": "Too Many Requests",
       "code": 429,
       "header": [],
       "cookie": [],
       "_postman_previewlanguage": "text"
      }
     ],
     "event": [],
     "protocolProfileBehavior": {
      "disableBodyPruning": true
     }
    }
   ]
  },
  {
   "name": "version",
   "description": "",
   "item": [
    {
     "id": "df9aaa22-498a-43dc-860a-30b4ef426275",
     "name": "Running version",
     "request": {
      "name": "Running version",
      "description": {},
      "url": {
       "path": [
        "version"
       ],
       "host": [
        "{{baseUrl}}"
       ],
       "query": [],
       "variable": []
      },
      "header": [
       {
        "key": "Accept",
        "value": "application/json"
       }
      ],
      "method": "GET",
      "body": {},
      "auth": null
     },
     "response": [
      {
       "id": "c7bd6491-6f56-4cea-94c5-27269fa2b8b7",
       "name": "name + version from package.json",
       "originalRequest": {
        "url": {
         "path": [
          "version"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "application/json"
         }
        ],
        "method": "GET",
        "body": {}
       },
       "status": "OK",
       "code": 200,
       "header": [
        {
         "key": "Content-Type",
         "value": "application/json"
        }
       ],
       "body": "{\n  \"name\": \"<string>\",\n  \"version\": \"<string>\"\n}",
       "cookie": [],
       "_postman_previewlanguage": "json"
      },
      {
       "id": "dadbbea9-4ca5-4383-b945-f769b6786c9e",
       "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
       "originalRequest": {
        "url": {
         "path": [
          "version"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "method": "GET",
        "body": {}
       },
       "status": "Too Many Requests",
       "code": 429,
       "header": [],
       "cookie": [],
       "_postman_previewlanguage": "text"
      }
     ],
     "event": [],
     "protocolProfileBehavior": {
      "disableBodyPruning": true
     }
    }
   ]
  },
  {
   "name": "openapi.yaml",
   "description": "",
   "item": [
    {
     "id": "7085abd7-6088-43ef-9a88-f9d3256b94c1",
     "name": "This specification",
     "request": {
      "name": "This specification",
      "description": {},
      "url": {
       "path": [
        "openapi.yaml"
       ],
       "host": [
        "{{baseUrl}}"
       ],
       "query": [],
       "variable": []
      },
      "header": [
       {
        "key": "Accept",
        "value": "text/yaml"
       }
      ],
      "method": "GET",
      "body": {},
      "auth": null
     },
     "response": [
      {
       "id": "1dcf9a74-2e4a-476f-833d-71b162927523",
       "name": "OpenAPI 3.1 document",
       "originalRequest": {
        "url": {
         "path": [
          "openapi.yaml"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/yaml"
         }
        ],
        "method": "GET",
        "body": {}
       },
       "status": "OK",
       "code": 200,
       "header": [
        {
         "key": "Content-Type",
         "value": "text/yaml"
        }
       ],
       "body": "<string>",
       "cookie": [],
       "_postman_previewlanguage": "text"
      },
      {
       "id": "fa2023d4-b1e5-4022-b69c-1604788a5855",
       "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
       "originalRequest": {
        "url": {
         "path": [
          "openapi.yaml"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "method": "GET",
        "body": {}
       },
       "status": "Too Many Requests",
       "code": 429,
       "header": [],
       "cookie": [],
       "_postman_previewlanguage": "text"
      }
     ],
     "event": [],
     "protocolProfileBehavior": {
      "disableBodyPruning": true
     }
    }
   ]
  },
  {
   "name": "postman_collection.json",
   "description": "",
   "item": [
    {
     "id": "43400733-0513-44d3-8fe0-bfa0d9214fc4",
     "name": "Postman collection (v2.1) generated from this spec",
     "request": {
      "name": "Postman collection (v2.1) generated from this spec",
      "description": {},
      "url": {
       "path": [
        "postman_collection.json"
       ],
       "host": [
        "{{baseUrl}}"
       ],
       "query": [],
       "variable": []
      },
      "header": [
       {
        "key": "Accept",
        "value": "application/json"
       }
      ],
      "method": "GET",
      "body": {},
      "auth": null
     },
     "response": [
      {
       "id": "db34e9a8-1e69-4a01-9934-86d8e08f83c0",
       "name": "Postman collection with `baseUrl` and `adminKey` variables",
       "originalRequest": {
        "url": {
         "path": [
          "postman_collection.json"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "application/json"
         }
        ],
        "method": "GET",
        "body": {}
       },
       "status": "OK",
       "code": 200,
       "header": [
        {
         "key": "Content-Type",
         "value": "application/json"
        }
       ],
       "body": "{}",
       "cookie": [],
       "_postman_previewlanguage": "json"
      },
      {
       "id": "3e6dfcd5-8432-4e7d-a88f-f70fb9a51135",
       "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
       "originalRequest": {
        "url": {
         "path": [
          "postman_collection.json"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "method": "GET",
        "body": {}
       },
       "status": "Too Many Requests",
       "code": 429,
       "header": [],
       "cookie": [],
       "_postman_previewlanguage": "text"
      }
     ],
     "event": [],
     "protocolProfileBehavior": {
      "disableBodyPruning": true
     }
    }
   ]
  },
  {
   "name": "pay",
   "description": "",
   "item": [
    {
     "name": "{orderId}",
     "description": "",
     "item": [
      {
       "id": "2560e500-dbc8-40a0-b736-47e5f32d4e2e",
       "name": "Start a payment for a pending Shopify order",
       "request": {
        "name": "Start a payment for a pending Shopify order",
        "description": {
         "content": "Creates (or reuses) the PSP invoice and redirects (302) to the hosted payment page. The order must be `PENDING`\nor `PARTIALLY_PAID` and use a mapped manual payment method (`GATEWAY_MAP`). Prepayment rules, phone rules and failover apply.\nRate limit `RL_PAY_PER_5MIN` (30 per 5 min per IP).\n",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "pay",
          ":orderId"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
            "type": "text/plain"
           },
           "key": "c",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "provider key override (`mono`, `monoparts`, `privatparts`, `liqpay`, `wayforpay`, `novapay`, `p24`, `payu`, `stripe`, `tranzzo`, `rozetkapay`, `portmone`, `fondy`)",
            "type": "text/plain"
           },
           "key": "p",
           "value": "yn1rqwfwpxgr"
          },
          {
           "disabled": false,
           "description": {
            "content": "buyer language for the PSP page",
            "type": "text/plain"
           },
           "key": "lang",
           "value": "pl"
          },
          {
           "disabled": false,
           "description": {
            "content": "wallet hint from the Thank-you block (analytics only)",
            "type": "text/plain"
           },
           "key": "w",
           "value": "wallet"
          }
         ],
         "variable": [
          {
           "type": "any",
           "value": "8",
           "key": "orderId",
           "disabled": false,
           "description": {
            "content": "(Required) numeric Shopify order id",
            "type": "text/plain"
           }
          }
         ]
        },
        "method": "GET",
        "body": {},
        "auth": null
       },
       "response": [
        {
         "id": "15545eec-2f72-420d-80d7-412ba9c40327",
         "name": "redirect to the PSP payment page, or back to the Shopify order status page when nothing is payable",
         "originalRequest": {
          "url": {
           "path": [
            "pay",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key override (`mono`, `monoparts`, `privatparts`, `liqpay`, `wayforpay`, `novapay`, `p24`, `payu`, `stripe`, `tranzzo`, `rozetkapay`, `portmone`, `fondy`)",
              "type": "text/plain"
             },
             "key": "p",
             "value": "yn1rqwfwpxgr"
            },
            {
             "disabled": false,
             "description": {
              "content": "buyer language for the PSP page",
              "type": "text/plain"
             },
             "key": "lang",
             "value": "pl"
            },
            {
             "disabled": false,
             "description": {
              "content": "wallet hint from the Thank-you block (analytics only)",
              "type": "text/plain"
             },
             "key": "w",
             "value": "wallet"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Found",
         "code": 302,
         "header": [
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "Location",
           "value": "<uri>"
          }
         ],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "1977b641-7c56-4c43-b671-dcde52c8b95b",
         "name": "wrong confirmation number (`REQUIRE_CONFIRMATION=true`)",
         "originalRequest": {
          "url": {
           "path": [
            "pay",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key override (`mono`, `monoparts`, `privatparts`, `liqpay`, `wayforpay`, `novapay`, `p24`, `payu`, `stripe`, `tranzzo`, `rozetkapay`, `portmone`, `fondy`)",
              "type": "text/plain"
             },
             "key": "p",
             "value": "yn1rqwfwpxgr"
            },
            {
             "disabled": false,
             "description": {
              "content": "buyer language for the PSP page",
              "type": "text/plain"
             },
             "key": "lang",
             "value": "pl"
            },
            {
             "disabled": false,
             "description": {
              "content": "wallet hint from the Thank-you block (analytics only)",
              "type": "text/plain"
             },
             "key": "w",
             "value": "wallet"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "5fb86aa1-84ac-4f44-ac5f-dca51b368f21",
         "name": "unknown order",
         "originalRequest": {
          "url": {
           "path": [
            "pay",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key override (`mono`, `monoparts`, `privatparts`, `liqpay`, `wayforpay`, `novapay`, `p24`, `payu`, `stripe`, `tranzzo`, `rozetkapay`, `portmone`, `fondy`)",
              "type": "text/plain"
             },
             "key": "p",
             "value": "yn1rqwfwpxgr"
            },
            {
             "disabled": false,
             "description": {
              "content": "buyer language for the PSP page",
              "type": "text/plain"
             },
             "key": "lang",
             "value": "pl"
            },
            {
             "disabled": false,
             "description": {
              "content": "wallet hint from the Thank-you block (analytics only)",
              "type": "text/plain"
             },
             "key": "w",
             "value": "wallet"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "d4fd3d94-adb0-4095-9586-3ac66a66c54b",
         "name": "rate limited",
         "originalRequest": {
          "url": {
           "path": [
            "pay",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key override (`mono`, `monoparts`, `privatparts`, `liqpay`, `wayforpay`, `novapay`, `p24`, `payu`, `stripe`, `tranzzo`, `rozetkapay`, `portmone`, `fondy`)",
              "type": "text/plain"
             },
             "key": "p",
             "value": "yn1rqwfwpxgr"
            },
            {
             "disabled": false,
             "description": {
              "content": "buyer language for the PSP page",
              "type": "text/plain"
             },
             "key": "lang",
             "value": "pl"
            },
            {
             "disabled": false,
             "description": {
              "content": "wallet hint from the Thank-you block (analytics only)",
              "type": "text/plain"
             },
             "key": "w",
             "value": "wallet"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Too Many Requests",
         "code": 429,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "b0ef69cc-9029-443b-a697-0acfaa60c1c8",
         "name": "provider or Shopify unavailable",
         "originalRequest": {
          "url": {
           "path": [
            "pay",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key override (`mono`, `monoparts`, `privatparts`, `liqpay`, `wayforpay`, `novapay`, `p24`, `payu`, `stripe`, `tranzzo`, `rozetkapay`, `portmone`, `fondy`)",
              "type": "text/plain"
             },
             "key": "p",
             "value": "yn1rqwfwpxgr"
            },
            {
             "disabled": false,
             "description": {
              "content": "buyer language for the PSP page",
              "type": "text/plain"
             },
             "key": "lang",
             "value": "pl"
            },
            {
             "disabled": false,
             "description": {
              "content": "wallet hint from the Thank-you block (analytics only)",
              "type": "text/plain"
             },
             "key": "w",
             "value": "wallet"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Bad Gateway",
         "code": 502,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    }
   ]
  },
  {
   "name": "l",
   "description": "",
   "item": [
    {
     "name": "{token}",
     "description": "",
     "item": [
      {
       "id": "4a4845d5-07c1-41ec-991c-c0e18bcd6b99",
       "name": "Payment link for a draft order (Instagram / Telegram sales)",
       "request": {
        "name": "Payment link for a draft order (Instagram / Telegram sales)",
        "description": {
         "content": "Created in the admin (`POST /admin/links`) or by the Telegram bot `/link`. 96-bit token. Redirects to the PSP page.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "l",
          ":token"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": [
          {
           "type": "any",
           "value": "hqX3MriArDyTIp_Gg5kb63r",
           "key": "token",
           "disabled": false,
           "description": {
            "content": "(Required) ",
            "type": "text/plain"
           }
          }
         ]
        },
        "method": "GET",
        "body": {},
        "auth": null
       },
       "response": [
        {
         "id": "0995f369-12e7-44ce-ab71-8d62a1bbb741",
         "name": "redirect to the PSP page",
         "originalRequest": {
          "url": {
           "path": [
            "l",
            ":token"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "a698d9ad-4901-468c-b64a-77a242d78289",
         "name": "unknown, used or expired link",
         "originalRequest": {
          "url": {
           "path": [
            "l",
            ":token"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    }
   ]
  },
  {
   "name": "return",
   "description": "",
   "item": [
    {
     "name": "{orderId}",
     "description": "",
     "item": [
      {
       "id": "4d3b1bc2-b350-4635-b352-eb9297903186",
       "name": "Buyer returns from the PSP",
       "request": {
        "name": "Buyer returns from the PSP",
        "description": {
         "content": "Syncs the invoice status with the provider and redirects to the Shopify Order status page. For mono installments an HTML waiting page is shown while the bank decides.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "return",
          ":orderId"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
            "type": "text/plain"
           },
           "key": "c",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "lang",
           "value": "<string>"
          }
         ],
         "variable": [
          {
           "type": "any",
           "value": "4",
           "key": "orderId",
           "disabled": false,
           "description": {
            "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
            "type": "text/plain"
           }
          }
         ]
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": null
       },
       "response": [
        {
         "id": "fcab9b2d-534b-4ba5-9de0-71344e2482c9",
         "name": "waiting page (mono installments)",
         "originalRequest": {
          "url": {
           "path": [
            "return",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "lang",
             "value": "<string>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "b5eaf39e-d917-4a2a-9ca0-31ff126a1628",
         "name": "redirect to the Shopify order status page",
         "originalRequest": {
          "url": {
           "path": [
            "return",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "lang",
             "value": "<string>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "7e608171-5297-4978-ae70-4ac5e32ecaca",
         "name": "unknown order",
         "originalRequest": {
          "url": {
           "path": [
            "return",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "lang",
             "value": "<string>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "id": "c9d62766-499e-4300-adb2-439498e3e48a",
       "name": "Same as GET (some banks POST the buyer back)",
       "request": {
        "name": "Same as GET (some banks POST the buyer back)",
        "description": {},
        "url": {
         "path": [
          "return",
          ":orderId"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
            "type": "text/plain"
           },
           "key": "c",
           "value": "<string>"
          }
         ],
         "variable": [
          {
           "type": "any",
           "value": "4",
           "key": "orderId",
           "disabled": false,
           "description": {
            "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
            "type": "text/plain"
           }
          }
         ]
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/x-www-form-urlencoded"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "urlencoded",
         "urlencoded": [
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "key_0",
           "value": "8623"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "key_1",
           "value": "2507"
          }
         ]
        },
        "auth": null
       },
       "response": [
        {
         "id": "48c670ad-fd01-4d14-80ca-07ce9c222798",
         "name": "redirect to the Shopify order status page",
         "originalRequest": {
          "url": {
           "path": [
            "return",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_0",
             "value": "8623"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_1",
             "value": "2507"
            }
           ]
          }
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "105622b8-9022-4176-9ff5-8e35497825a4",
         "name": "unknown order",
         "originalRequest": {
          "url": {
           "path": [
            "return",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_0",
             "value": "8623"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_1",
             "value": "2507"
            }
           ]
          }
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    }
   ]
  },
  {
   "name": "api",
   "description": "",
   "item": [
    {
     "name": "order",
     "description": "",
     "item": [
      {
       "name": "{orderId}",
       "description": "",
       "item": [
        {
         "id": "0649ad27-d4c6-4981-99ca-56fef1358800",
         "name": "Payment status JSON for the Order-status extension",
         "request": {
          "name": "Payment status JSON for the Order-status extension",
          "description": {
           "content": "CORS `*`, read-only. Open invoices are re-synced with the PSP unless `sync=0`.",
           "type": "text/plain"
          },
          "url": {
           "path": [
            "api",
            "order",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
              "type": "text/plain"
             },
             "key": "c",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "`0` = do not call the PSP, return the stored state",
              "type": "text/plain"
             },
             "key": "sync",
             "value": "0"
            }
           ],
           "variable": [
            {
             "type": "any",
             "value": "4",
             "key": "orderId",
             "disabled": false,
             "description": {
              "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
              "type": "text/plain"
             }
            }
           ]
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": null
         },
         "response": [
          {
           "id": "adce9344-a375-47dc-88d2-4b172ef88ce8",
           "name": "status",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "order",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
                "type": "text/plain"
               },
               "key": "c",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "`0` = do not call the PSP, return the stored state",
                "type": "text/plain"
               },
               "key": "sync",
               "value": "0"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"orderName\": \"<string>\",\n  \"provider\": \"<string>\",\n  \"status\": \"<string>\",\n  \"prepay\": \"<boolean>\",\n  \"amount\": \"<integer>\",\n  \"currency\": \"<string>\",\n  \"fiscalUrl\": \"<string,null>\",\n  \"payUrl\": \"<string,null>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "14e875e7-534c-402e-91ea-fa7133c19c71",
           "name": "unknown order or wrong confirmation",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "order",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "order confirmation number (required when `REQUIRE_CONFIRMATION=true`); for draft returns — the link token",
                "type": "text/plain"
               },
               "key": "c",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "`0` = do not call the PSP, return the stored state",
                "type": "text/plain"
               },
               "key": "sync",
               "value": "0"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"error\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        },
        {
         "id": "d420106a-52c5-4d6a-956e-39906cf4138d",
         "name": "CORS preflight",
         "request": {
          "name": "CORS preflight",
          "description": {},
          "url": {
           "path": [
            "api",
            "order",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": [
            {
             "type": "any",
             "value": "4",
             "key": "orderId",
             "disabled": false,
             "description": {
              "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
              "type": "text/plain"
             }
            }
           ]
          },
          "method": "OPTIONS",
          "body": {},
          "auth": null
         },
         "response": [
          {
           "id": "6b1cbe5d-3a6b-4d06-9461-558ecd22f152",
           "name": "no content",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "order",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "method": "OPTIONS",
            "body": {}
           },
           "status": "No Content",
           "code": 204,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "f74a8a12-6a66-475b-8ec6-a51704227cf6",
           "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "order",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "method": "OPTIONS",
            "body": {}
           },
           "status": "Too Many Requests",
           "code": 429,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        },
        {
         "name": "np",
         "description": "",
         "item": [
          {
           "id": "d1cf455c-73bf-4c16-bf7a-4461291d774b",
           "name": "Save the Nova Poshta branch chosen on the Thank-you page",
           "request": {
            "name": "Save the Nova Poshta branch chosen on the Thank-you page",
            "description": {
             "content": "Writes custom attributes, tag `np-branch`, a note and the `np_branch` analytics event onto the Shopify order. Needs the order confirmation code in `c`.",
             "type": "text/plain"
            },
            "url": {
             "path": [
              "api",
              "order",
              ":orderId",
              "np"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": [
              {
               "type": "any",
               "value": "8",
               "key": "orderId",
               "disabled": false,
               "description": {
                "content": "(Required) numeric Shopify order id",
                "type": "text/plain"
               }
              }
             ]
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/json"
             },
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "raw",
             "raw": "{\n  \"c\": \"<string>\",\n  \"cityRef\": \"<string>\",\n  \"cityName\": \"<string>\",\n  \"warehouseRef\": \"<string>\",\n  \"warehouseName\": \"<string>\",\n  \"type\": \"branch\"\n}",
             "options": {
              "raw": {
               "headerFamily": "json",
               "language": "json"
              }
             }
            },
            "auth": null
           },
           "response": [
            {
             "id": "abf869f0-0656-4600-bf45-9775318d8ac7",
             "name": "saved",
             "originalRequest": {
              "url": {
               "path": [
                "api",
                "order",
                ":orderId",
                "np"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/json"
               },
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "raw",
               "raw": "{\n  \"c\": \"<string>\",\n  \"cityRef\": \"<string>\",\n  \"cityName\": \"<string>\",\n  \"warehouseRef\": \"<string>\",\n  \"warehouseName\": \"<string>\",\n  \"type\": \"branch\"\n}",
               "options": {
                "raw": {
                 "headerFamily": "json",
                 "language": "json"
                }
               }
              }
             },
             "status": "OK",
             "code": 200,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            },
            {
             "id": "852dc2b5-22dd-4744-aeed-68e9a017e982",
             "name": "bad input",
             "originalRequest": {
              "url": {
               "path": [
                "api",
                "order",
                ":orderId",
                "np"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/json"
               },
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "raw",
               "raw": "{\n  \"c\": \"<string>\",\n  \"cityRef\": \"<string>\",\n  \"cityName\": \"<string>\",\n  \"warehouseRef\": \"<string>\",\n  \"warehouseName\": \"<string>\",\n  \"type\": \"branch\"\n}",
               "options": {
                "raw": {
                 "headerFamily": "json",
                 "language": "json"
                }
               }
              }
             },
             "status": "Bad Request",
             "code": 400,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"error\": \"<string>\"\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            },
            {
             "id": "8618aa39-6830-4e1c-a31b-854fefa56f1a",
             "name": "wrong confirmation",
             "originalRequest": {
              "url": {
               "path": [
                "api",
                "order",
                ":orderId",
                "np"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "raw",
               "raw": "{\n  \"c\": \"<string>\",\n  \"cityRef\": \"<string>\",\n  \"cityName\": \"<string>\",\n  \"warehouseRef\": \"<string>\",\n  \"warehouseName\": \"<string>\",\n  \"type\": \"branch\"\n}",
               "options": {
                "raw": {
                 "headerFamily": "json",
                 "language": "json"
                }
               }
              }
             },
             "status": "Forbidden",
             "code": 403,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "7a46d58f-8437-49c4-9348-92169975cebd",
             "name": "unknown order or NP disabled",
             "originalRequest": {
              "url": {
               "path": [
                "api",
                "order",
                ":orderId",
                "np"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "raw",
               "raw": "{\n  \"c\": \"<string>\",\n  \"cityRef\": \"<string>\",\n  \"cityName\": \"<string>\",\n  \"warehouseRef\": \"<string>\",\n  \"warehouseName\": \"<string>\",\n  \"type\": \"branch\"\n}",
               "options": {
                "raw": {
                 "headerFamily": "json",
                 "language": "json"
                }
               }
              }
             },
             "status": "Not Found",
             "code": 404,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          },
          {
           "id": "fde6547e-c7b1-4a78-be6e-5aaaa1139c08",
           "name": "CORS preflight",
           "request": {
            "name": "CORS preflight",
            "description": {},
            "url": {
             "path": [
              "api",
              "order",
              ":orderId",
              "np"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": [
              {
               "type": "any",
               "value": "8",
               "key": "orderId",
               "disabled": false,
               "description": {
                "content": "(Required) numeric Shopify order id",
                "type": "text/plain"
               }
              }
             ]
            },
            "method": "OPTIONS",
            "body": {},
            "auth": null
           },
           "response": [
            {
             "id": "f21eba33-c1a3-4a75-a571-1c0abcc591f1",
             "name": "no content",
             "originalRequest": {
              "url": {
               "path": [
                "api",
                "order",
                ":orderId",
                "np"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [],
               "variable": []
              },
              "method": "OPTIONS",
              "body": {}
             },
             "status": "No Content",
             "code": 204,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "e6050597-ab67-42ff-8e60-0ff51e6ef207",
             "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
             "originalRequest": {
              "url": {
               "path": [
                "api",
                "order",
                ":orderId",
                "np"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [],
               "variable": []
              },
              "method": "OPTIONS",
              "body": {}
             },
             "status": "Too Many Requests",
             "code": 429,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        }
       ]
      }
     ]
    },
    {
     "name": "np",
     "description": "",
     "item": [
      {
       "name": "cities",
       "description": "",
       "item": [
        {
         "id": "f819286c-7f84-47a7-afe7-8df132229289",
         "name": "Nova Poshta settlement search",
         "request": {
          "name": "Nova Poshta settlement search",
          "description": {
           "content": "`Address.searchSettlements`, cached 10 min. 404 when `NP_API_KEY` is not set. Limit `RL_NP_PER_MIN` (60/min per IP).",
           "type": "text/plain"
          },
          "url": {
           "path": [
            "api",
            "np",
            "cities"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) 2–60 characters",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": null
         },
         "response": [
          {
           "id": "ac2febf6-3b7b-432a-baa3-52a8061f5716",
           "name": "matches",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "np",
              "cities"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) 2–60 characters",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"cities\": [\n    {\n      \"ref\": \"<string>\",\n      \"name\": \"<string>\",\n      \"area\": \"<string>\",\n      \"key_0\": 9221,\n      \"key_1\": 9590\n    },\n    {\n      \"ref\": \"<string>\",\n      \"name\": \"<string>\",\n      \"area\": \"<string>\"\n    }\n  ]\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "98c70095-584d-4019-a2ee-8c7ac158280d",
           "name": "np_disabled",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "np",
              "cities"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) 2–60 characters",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "warehouses",
       "description": "",
       "item": [
        {
         "id": "59fcf176-170f-4f6f-8d74-44fc4defbac9",
         "name": "Nova Poshta branches and parcel lockers of a settlement",
         "request": {
          "name": "Nova Poshta branches and parcel lockers of a settlement",
          "description": {},
          "url": {
           "path": [
            "api",
            "np",
            "warehouses"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) settlement ref from `/api/np/cities`",
              "type": "text/plain"
             },
             "key": "city",
             "value": "Nrgfa9RhOpccCNnZ44glGbXBgYk2YLfwR"
            },
            {
             "disabled": false,
             "description": {
              "content": "filter by number or street",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": null
         },
         "response": [
          {
           "id": "a7c816f8-b698-4e0b-b0f9-013cc8bb6a75",
           "name": "warehouses",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "np",
              "warehouses"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) settlement ref from `/api/np/cities`",
                "type": "text/plain"
               },
               "key": "city",
               "value": "Nrgfa9RhOpccCNnZ44glGbXBgYk2YLfwR"
              },
              {
               "disabled": false,
               "description": {
                "content": "filter by number or street",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"warehouses\": [\n    {\n      \"ref\": \"<string>\",\n      \"name\": \"<string>\",\n      \"number\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"ref\": \"<string>\",\n      \"name\": \"<string>\",\n      \"number\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "95394e6c-0edb-40ac-9a2e-963bcb35f07d",
           "name": "bad_city",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "np",
              "warehouses"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) settlement ref from `/api/np/cities`",
                "type": "text/plain"
               },
               "key": "city",
               "value": "Nrgfa9RhOpccCNnZ44glGbXBgYk2YLfwR"
              },
              {
               "disabled": false,
               "description": {
                "content": "filter by number or street",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Bad Request",
           "code": 400,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "ced0988e-24bb-46e7-8177-bdad7e6d967e",
           "name": "np_disabled",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "np",
              "warehouses"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) settlement ref from `/api/np/cities`",
                "type": "text/plain"
               },
               "key": "city",
               "value": "Nrgfa9RhOpccCNnZ44glGbXBgYk2YLfwR"
              },
              {
               "disabled": false,
               "description": {
                "content": "filter by number or street",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "installments",
     "description": "",
     "item": [
      {
       "name": "quote",
       "description": "",
       "item": [
        {
         "id": "ce7af39d-9805-477d-8e0e-83d3e5d640aa",
         "name": "Installment offers for the product-page badge",
         "request": {
          "name": "Installment offers for the product-page badge",
          "description": {
           "content": "CORS `*`, `Cache-Control public, max-age=300`, limit `RL_QUOTE_PER_MIN` (240/min per IP). Offers only from configured providers within bank limits.",
           "type": "text/plain"
          },
          "url": {
           "path": [
            "api",
            "installments",
            "quote"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) price in minor units (kopecks)",
              "type": "text/plain"
             },
             "key": "amount",
             "value": "<integer>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "currency",
             "value": "UAH"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": null
         },
         "response": [
          {
           "id": "89278238-ece4-4b7d-863f-b77e7495816e",
           "name": "quote",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "installments",
              "quote"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) price in minor units (kopecks)",
                "type": "text/plain"
               },
               "key": "amount",
               "value": "<integer>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "currency",
               "value": "UAH"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"enabled\": \"<boolean>\",\n  \"currency\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"offers\": [\n    {\n      \"provider\": \"<string>\",\n      \"brand\": \"<string>\",\n      \"label\": \"<string>\",\n      \"parts\": \"<integer>\",\n      \"monthly\": \"<integer>\",\n      \"first\": \"<integer>\",\n      \"last\": \"<integer>\",\n      \"total\": \"<integer>\",\n      \"feePayer\": \"buyer\"\n    },\n    {\n      \"provider\": \"<string>\",\n      \"brand\": \"<string>\",\n      \"label\": \"<string>\",\n      \"parts\": \"<integer>\",\n      \"monthly\": \"<integer>\",\n      \"first\": \"<integer>\",\n      \"last\": \"<integer>\",\n      \"total\": \"<integer>\",\n      \"feePayer\": \"merchant\"\n    }\n  ],\n  \"providers\": [\n    {\n      \"provider\": \"<string>\",\n      \"brand\": \"<string>\",\n      \"label\": \"<string>\",\n      \"parts\": [\n        \"<integer>\",\n        \"<integer>\"\n      ],\n      \"min\": \"<integer>\",\n      \"max\": \"<integer>\",\n      \"feePayer\": \"<string>\"\n    },\n    {\n      \"provider\": \"<string>\",\n      \"brand\": \"<string>\",\n      \"label\": \"<string>\",\n      \"parts\": [\n        \"<integer>\",\n        \"<integer>\"\n      ],\n      \"min\": \"<integer>\",\n      \"max\": \"<integer>\",\n      \"feePayer\": \"<string>\"\n    }\n  ],\n  \"best\": {\n    \"provider\": \"<string>\",\n    \"brand\": \"<string>\",\n    \"label\": \"<string>\",\n    \"parts\": \"<integer>\",\n    \"monthly\": \"<integer>\",\n    \"first\": \"<integer>\",\n    \"last\": \"<integer>\",\n    \"total\": \"<integer>\",\n    \"feePayer\": \"merchant\"\n  }\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "e553aba5-77ec-4680-9948-ce4d6a38b388",
           "name": "bad_amount",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "installments",
              "quote"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) price in minor units (kopecks)",
                "type": "text/plain"
               },
               "key": "amount",
               "value": "<integer>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "currency",
               "value": "UAH"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "Bad Request",
           "code": 400,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"error\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        },
        {
         "id": "9c1545d5-7cd7-4e53-9dfa-0524dbad6cb3",
         "name": "CORS preflight",
         "request": {
          "name": "CORS preflight",
          "description": {},
          "url": {
           "path": [
            "api",
            "installments",
            "quote"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "OPTIONS",
          "body": {},
          "auth": null
         },
         "response": [
          {
           "id": "a3fb18a8-3c06-41d7-9ae2-fffd1eecf0d8",
           "name": "no content",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "installments",
              "quote"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "method": "OPTIONS",
            "body": {}
           },
           "status": "No Content",
           "code": 204,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "3c61c224-693b-4f56-b4f2-271571d22c60",
           "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
           "originalRequest": {
            "url": {
             "path": [
              "api",
              "installments",
              "quote"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "method": "OPTIONS",
            "body": {}
           },
           "status": "Too Many Requests",
           "code": 429,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "lead",
     "description": "",
     "item": [
      {
       "id": "821c255f-ea1f-41f3-9f9b-a3553b99dd3e",
       "name": "Site request form (pricing / request pages)",
       "request": {
        "name": "Site request form (pricing / request pages)",
        "description": {
         "content": "Stored in `leads` and sent to the owner's Telegram. Honeypot field `website` — when filled the request is silently accepted. 5 per IP per 10 min.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "api",
          "lead"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "application/json"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"name\": \"<string>\",\n  \"shop\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"plan\": \"setup\",\n  \"message\": \"<string>\",\n  \"lang\": \"uk\",\n  \"page\": \"<string>\",\n  \"website\": \"<string>\"\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "ddddf005-b916-4cc9-94ee-ae7c0708ecb5",
         "name": "accepted",
         "originalRequest": {
          "url": {
           "path": [
            "api",
            "lead"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"name\": \"<string>\",\n  \"shop\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"plan\": \"setup\",\n  \"message\": \"<string>\",\n  \"lang\": \"uk\",\n  \"page\": \"<string>\",\n  \"website\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "application/json"
          }
         ],
         "body": "{\n  \"ok\": \"<boolean>\",\n  \"id\": \"<integer>\"\n}",
         "cookie": [],
         "_postman_previewlanguage": "json"
        },
        {
         "id": "6418113e-3f4a-46fc-ab65-ee79a9c424d0",
         "name": "contact_required | bad_email",
         "originalRequest": {
          "url": {
           "path": [
            "api",
            "lead"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"name\": \"<string>\",\n  \"shop\": \"<string>\",\n  \"email\": \"<string>\",\n  \"phone\": \"<string>\",\n  \"plan\": \"setup\",\n  \"message\": \"<string>\",\n  \"lang\": \"uk\",\n  \"page\": \"<string>\",\n  \"website\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "application/json"
          }
         ],
         "body": "{\n  \"ok\": \"<boolean>\",\n  \"error\": \"<string>\"\n}",
         "cookie": [],
         "_postman_previewlanguage": "json"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "id": "a3f5adc0-fab8-4ab3-8424-b19fd559e908",
       "name": "CORS preflight",
       "request": {
        "name": "CORS preflight",
        "description": {},
        "url": {
         "path": [
          "api",
          "lead"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "method": "OPTIONS",
        "body": {},
        "auth": null
       },
       "response": [
        {
         "id": "558631f1-be0f-4220-ad0b-418b6cb7d55f",
         "name": "no content",
         "originalRequest": {
          "url": {
           "path": [
            "api",
            "lead"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "OPTIONS",
          "body": {}
         },
         "status": "No Content",
         "code": 204,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "727e372e-94aa-4e4c-b981-e2df485c2758",
         "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
         "originalRequest": {
          "url": {
           "path": [
            "api",
            "lead"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "OPTIONS",
          "body": {}
         },
         "status": "Too Many Requests",
         "code": 429,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    }
   ]
  },
  {
   "name": "status",
   "description": "",
   "item": [
    {
     "name": "{orderId}",
     "description": "",
     "item": [
      {
       "id": "7f645da4-e072-4ae7-b8a7-4207e503e07f",
       "name": "Raw stored payment record (scripts)",
       "request": {
        "name": "Raw stored payment record (scripts)",
        "description": {
         "content": "Key only (`?key=ADMIN_KEY`); 404 for anything else.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "status",
          ":orderId"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": [
          {
           "type": "any",
           "value": "4",
           "key": "orderId",
           "disabled": false,
           "description": {
            "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
            "type": "text/plain"
           }
          }
         ]
        },
        "header": [
         {
          "key": "Accept",
          "value": "application/json"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "74a34c41-cd21-42fe-9300-c66fac252101",
         "name": "record or `null`",
         "originalRequest": {
          "url": {
           "path": [
            "status",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "application/json"
          }
         ],
         "body": "{\n  \"orderId\": \"<string>\",\n  \"orderGid\": \"<string>\",\n  \"orderName\": \"<string>\",\n  \"statusPageUrl\": \"<string>\",\n  \"provider\": \"<string>\",\n  \"invoiceId\": \"<string>\",\n  \"pageUrl\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer,null>\",\n  \"currency\": \"<string>\",\n  \"status\": \"hold\",\n  \"paidMarked\": \"<boolean>\",\n  \"paidAt\": \"<string,null>\",\n  \"buyerEmail\": \"<string,null>\",\n  \"buyerPhone\": \"<string,null>\",\n  \"confirmation\": \"<string,null>\",\n  \"prepay\": \"<boolean>\",\n  \"orderTotal\": \"<integer,null>\",\n  \"remindedAt\": \"<string,null>\",\n  \"reminderCount\": \"<integer>\",\n  \"fiscalUrl\": \"<string,null>\",\n  \"kind\": \"order\",\n  \"country\": \"<string,null>\",\n  \"region\": \"<string,null>\",\n  \"city\": \"<string,null>\",\n  \"device\": \"<string,null>\",\n  \"returnedAt\": \"<string,null>\",\n  \"failureReason\": \"<string,null>\",\n  \"qrId\": \"<string,null>\",\n  \"demo\": \"<boolean>\",\n  \"source\": \"<string,null>\",\n  \"campaign\": \"<string,null>\",\n  \"items\": [\n    {\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"qty\": \"<integer>\",\n      \"unitAmount\": \"<integer>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"qty\": \"<integer>\",\n      \"unitAmount\": \"<integer>\"\n    }\n  ],\n  \"buyerKey\": \"<string,null>\",\n  \"isRepeat\": \"<boolean>\",\n  \"fee\": \"<integer,null>\",\n  \"client\": {\n    \"os\": \"<string,null>\",\n    \"osVer\": \"<string,null>\",\n    \"browser\": \"<string,null>\",\n    \"browserVer\": \"<string,null>\",\n    \"ip\": \"<string,null>\",\n    \"ipCountry\": \"<string,null>\",\n    \"langs\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"referer\": \"<string,null>\",\n    \"ua\": \"<string,null>\"\n  },\n  \"discounts\": {\n    \"key_0\": 6054.786127234113\n  },\n  \"recordAmount\": \"<integer,null>\",\n  \"recordCurrency\": \"<string,null>\",\n  \"paidEmailAt\": \"<string,null>\",\n  \"receiptEmailAt\": \"<string,null>\",\n  \"createdAt\": \"<string>\",\n  \"updatedAt\": \"<string>\"\n}",
         "cookie": [],
         "_postman_previewlanguage": "json"
        },
        {
         "id": "4a0b225e-82e2-489d-95a2-4c86f12071f8",
         "name": "bad key or id",
         "originalRequest": {
          "url": {
           "path": [
            "status",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    }
   ]
  },
  {
   "name": "webhooks",
   "description": "",
   "item": [
    {
     "name": "mono",
     "description": "",
     "item": [
      {
       "id": "6d2de935-38aa-41e8-b123-bd05ef97f4d8",
       "name": "plata by mono invoice status",
       "request": {
        "name": "plata by mono invoice status",
        "description": {
         "content": "ECDSA signature in `X-Sign` verified against the public key from the mono API (re-fetched once on mismatch).",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "mono"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "disabled": false,
          "description": {
           "content": "(Required) ",
           "type": "text/plain"
          },
          "key": "X-Sign",
          "value": "<string>"
         },
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "c250a97a-b7ed-43a2-b889-244e37c6fb2f",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "mono"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Sign",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "ec00a3e5-20bf-4e22-9d43-0fd77d8bb6df",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "mono"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Sign",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "a669ae13-04f9-4709-8d4a-eb72447184ed",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "mono"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Sign",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "{secret}",
       "description": "",
       "item": [
        {
         "id": "e77d4dea-79c8-4dc2-a25c-f909c8955133",
         "name": "plata by mono (with MONO_WEBHOOK_SECRET in the path)",
         "request": {
          "name": "plata by mono (with MONO_WEBHOOK_SECRET in the path)",
          "description": {},
          "url": {
           "path": [
            "webhooks",
            "mono",
            ":secret"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": [
            {
             "type": "any",
             "value": "<string>",
             "key": "secret",
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             }
            }
           ]
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Sign",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          },
          "auth": null
         },
         "response": [
          {
           "id": "d8b2bfc4-85c4-46ef-8fe4-47b2ef18ff0f",
           "name": "accepted (`ok`, or the provider-specific acknowledgement)",
           "originalRequest": {
            "url": {
             "path": [
              "webhooks",
              "mono",
              ":secret"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "header": [
             {
              "disabled": false,
              "description": {
               "content": "(Required) ",
               "type": "text/plain"
              },
              "key": "X-Sign",
              "value": "<string>"
             },
             {
              "key": "Content-Type",
              "value": "application/json"
             },
             {
              "key": "Accept",
              "value": "text/html"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "raw",
             "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
             "options": {
              "raw": {
               "headerFamily": "json",
               "language": "json"
              }
             }
            }
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "text/html"
            }
           ],
           "body": "<string>",
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "17f06358-098e-4575-94ff-e5625f8a8966",
           "name": "bad signature / body — the provider must not retry",
           "originalRequest": {
            "url": {
             "path": [
              "webhooks",
              "mono",
              ":secret"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "header": [
             {
              "disabled": false,
              "description": {
               "content": "(Required) ",
               "type": "text/plain"
              },
              "key": "X-Sign",
              "value": "<string>"
             },
             {
              "key": "Content-Type",
              "value": "application/json"
             },
             {
              "key": "Accept",
              "value": "text/html"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "raw",
             "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
             "options": {
              "raw": {
               "headerFamily": "json",
               "language": "json"
              }
             }
            }
           },
           "status": "Bad Request",
           "code": 400,
           "header": [
            {
             "key": "Content-Type",
             "value": "text/html"
            }
           ],
           "body": "<string>",
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "d3ddd30d-c848-4df9-b920-c764a46bb238",
           "name": "wrong secret",
           "originalRequest": {
            "url": {
             "path": [
              "webhooks",
              "mono",
              ":secret"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "header": [
             {
              "disabled": false,
              "description": {
               "content": "(Required) ",
               "type": "text/plain"
              },
              "key": "X-Sign",
              "value": "<string>"
             },
             {
              "key": "Content-Type",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "raw",
             "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
             "options": {
              "raw": {
               "headerFamily": "json",
               "language": "json"
              }
             }
            }
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "9851cf5e-21ae-4871-8528-71e14816734f",
           "name": "temporary sync error — the provider should retry",
           "originalRequest": {
            "url": {
             "path": [
              "webhooks",
              "mono",
              ":secret"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "header": [
             {
              "disabled": false,
              "description": {
               "content": "(Required) ",
               "type": "text/plain"
              },
              "key": "X-Sign",
              "value": "<string>"
             },
             {
              "key": "Content-Type",
              "value": "application/json"
             },
             {
              "key": "Accept",
              "value": "text/html"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "raw",
             "raw": "{\n  \"invoiceId\": \"<string>\",\n  \"status\": \"created\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer>\",\n  \"reference\": \"<string>\",\n  \"failureReason\": \"<string>\",\n  \"modifiedDate\": \"<string>\"\n}",
             "options": {
              "raw": {
               "headerFamily": "json",
               "language": "json"
              }
             }
            }
           },
           "status": "Internal Server Error",
           "code": 500,
           "header": [
            {
             "key": "Content-Type",
             "value": "text/html"
            }
           ],
           "body": "<string>",
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "monoparts",
     "description": "",
     "item": [
      {
       "id": "23af03bd-58de-4608-8f76-2a9357a4c179",
       "name": "mono «Покупка частинами» order state",
       "request": {
        "name": "mono «Покупка частинами» order state",
        "description": {
         "content": "HMAC-SHA256 (base64, 44 chars) of the raw body with `MONOPARTS_SECRET_KEY` in the `signature` header.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "monoparts"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "disabled": false,
          "description": {
           "content": "(Required) ",
           "type": "text/plain"
          },
          "key": "signature",
          "value": "<string>"
         },
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"order_id\": \"<string>\",\n  \"state\": \"REJECTED\",\n  \"order_sub_state\": \"<string>\",\n  \"total_sum\": \"<number>\",\n  \"key_0\": true,\n  \"key_1\": 409.2819119080016,\n  \"key_2\": 7669\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "39a6b5c1-85cb-4a7b-a524-2cb5e783b0a2",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "monoparts"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order_id\": \"<string>\",\n  \"state\": \"REJECTED\",\n  \"order_sub_state\": \"<string>\",\n  \"total_sum\": \"<number>\",\n  \"key_0\": true,\n  \"key_1\": 409.2819119080016,\n  \"key_2\": 7669\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "07939e48-7436-403a-80af-4d167a5d0f2b",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "monoparts"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order_id\": \"<string>\",\n  \"state\": \"REJECTED\",\n  \"order_sub_state\": \"<string>\",\n  \"total_sum\": \"<number>\",\n  \"key_0\": true,\n  \"key_1\": 409.2819119080016,\n  \"key_2\": 7669\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "ac19ea6f-e6e9-4555-b6f8-1e38717234fd",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "monoparts"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order_id\": \"<string>\",\n  \"state\": \"REJECTED\",\n  \"order_sub_state\": \"<string>\",\n  \"total_sum\": \"<number>\",\n  \"key_0\": true,\n  \"key_1\": 409.2819119080016,\n  \"key_2\": 7669\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "privatparts",
     "description": "",
     "item": [
      {
       "id": "98f62ae8-3991-4da4-a78f-1e72b86a8ea2",
       "name": "PrivatBank «Оплата частинами» (PayParts) callback",
       "request": {
        "name": "PrivatBank «Оплата частинами» (PayParts) callback",
        "description": {
         "content": "`signature` inside the body = base64(SHA1(password + storeId + orderId + paymentState + message + password)).",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "privatparts"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"orderId\": \"<string>\",\n  \"paymentState\": \"LOCKED_WAIT\",\n  \"signature\": \"<string>\",\n  \"storeId\": \"<string>\",\n  \"message\": \"<string>\"\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "df2ac1e0-e1d0-429c-8622-8c8a3f7bdbd7",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "privatparts"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"orderId\": \"<string>\",\n  \"paymentState\": \"LOCKED_WAIT\",\n  \"signature\": \"<string>\",\n  \"storeId\": \"<string>\",\n  \"message\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "f9981f73-2b8b-417c-97f6-c9d26c95b3dc",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "privatparts"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"orderId\": \"<string>\",\n  \"paymentState\": \"LOCKED_WAIT\",\n  \"signature\": \"<string>\",\n  \"storeId\": \"<string>\",\n  \"message\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "50cfbfdf-a285-49ec-bf83-920f78171e51",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "privatparts"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"orderId\": \"<string>\",\n  \"paymentState\": \"LOCKED_WAIT\",\n  \"signature\": \"<string>\",\n  \"storeId\": \"<string>\",\n  \"message\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "liqpay",
     "description": "",
     "item": [
      {
       "id": "431fd50e-f77b-4a4a-9d8c-2e081c301eab",
       "name": "LiqPay server callback",
       "request": {
        "name": "LiqPay server callback",
        "description": {
         "content": "Form fields `data` (base64 JSON) + `signature` = base64(SHA1(private_key + data + private_key)); JSON body with the same two fields is accepted too.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "liqpay"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/x-www-form-urlencoded"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "urlencoded",
         "urlencoded": [
          {
           "disabled": false,
           "description": {
            "content": "(Required) base64-encoded JSON",
            "type": "text/plain"
           },
           "key": "data",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "(Required) ",
            "type": "text/plain"
           },
           "key": "signature",
           "value": "<string>"
          }
         ]
        },
        "auth": null
       },
       "response": [
        {
         "id": "b3b5abbd-2a4c-4376-a1ea-9b78f3e64d17",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "liqpay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) base64-encoded JSON",
              "type": "text/plain"
             },
             "key": "data",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "signature",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "0228303d-b300-474a-8190-e7cc77810d99",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "liqpay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) base64-encoded JSON",
              "type": "text/plain"
             },
             "key": "data",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "signature",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "0239217e-0264-4df7-b68b-bcd00205cc36",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "liqpay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) base64-encoded JSON",
              "type": "text/plain"
             },
             "key": "data",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "signature",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "wayforpay",
     "description": "",
     "item": [
      {
       "id": "d1f4f587-bd07-48bf-b561-2319944d1639",
       "name": "WayForPay serviceUrl callback",
       "request": {
        "name": "WayForPay serviceUrl callback",
        "description": {
         "content": "JSON (or the JSON document as the sole key of a form body) with `merchantSignature` = HMAC-MD5. Reply is the signed `{orderReference, status accept, time, signature}` JSON.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "wayforpay"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "application/json"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"orderReference\": \"<string>\",\n  \"merchantSignature\": \"<string>\",\n  \"transactionStatus\": \"<string>\"\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "ec591a30-b51f-4c87-bcd9-4ad007e524b4",
         "name": "signed accept reply",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "wayforpay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"orderReference\": \"<string>\",\n  \"merchantSignature\": \"<string>\",\n  \"transactionStatus\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "application/json"
          }
         ],
         "body": "{\n  \"orderReference\": \"<string>\",\n  \"status\": \"<string>\",\n  \"time\": \"<integer>\",\n  \"signature\": \"<string>\"\n}",
         "cookie": [],
         "_postman_previewlanguage": "json"
        },
        {
         "id": "a978991b-215b-4046-9096-2daa19212c54",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "wayforpay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"orderReference\": \"<string>\",\n  \"merchantSignature\": \"<string>\",\n  \"transactionStatus\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "8e43bae0-7e61-4d9f-b0fb-330b9d4fb085",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "wayforpay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"orderReference\": \"<string>\",\n  \"merchantSignature\": \"<string>\",\n  \"transactionStatus\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "novapay",
     "description": "",
     "item": [
      {
       "id": "0d545a39-a494-47b0-86a8-e5805cd27fb4",
       "name": "NovaPay postback",
       "request": {
        "name": "NovaPay postback",
        "description": {
         "content": "RSA signature of the raw body in `x-sign-v2`, verified with `NOVAPAY_PUBLIC_KEY`.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "novapay"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "disabled": false,
          "description": {
           "content": "(Required) ",
           "type": "text/plain"
          },
          "key": "x-sign-v2",
          "value": "<string>"
         },
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "2871c7a0-fc4e-4dc0-b066-4953c96fcfdc",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "novapay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "x-sign-v2",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "07b1c3e8-eb68-4a6b-aff4-b55e1da53e20",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "novapay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "x-sign-v2",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "9dc6048f-bc5d-49cf-86d0-776d3a099836",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "novapay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "x-sign-v2",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "p24",
     "description": "",
     "item": [
      {
       "id": "ebc2284b-c729-47c0-aca4-0715c287980e",
       "name": "Przelewy24 transaction notification",
       "request": {
        "name": "Przelewy24 transaction notification",
        "description": {
         "content": "JSON with `sign` = SHA-384 of the notification fields + CRC (96 hex chars). The transaction is then verified with `PUT /api/v1/transaction/verify`.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "p24"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"sessionId\": \"<string>\",\n  \"sign\": \"<string>\",\n  \"merchantId\": \"<integer>\",\n  \"posId\": \"<integer>\",\n  \"amount\": \"<integer>\",\n  \"originAmount\": \"<integer>\",\n  \"currency\": \"<string>\",\n  \"orderId\": \"<integer>\",\n  \"methodId\": \"<integer>\",\n  \"statement\": \"<string>\"\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "4ad93404-b4c8-457b-8463-8b804f0e7091",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "p24"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"sessionId\": \"<string>\",\n  \"sign\": \"<string>\",\n  \"merchantId\": \"<integer>\",\n  \"posId\": \"<integer>\",\n  \"amount\": \"<integer>\",\n  \"originAmount\": \"<integer>\",\n  \"currency\": \"<string>\",\n  \"orderId\": \"<integer>\",\n  \"methodId\": \"<integer>\",\n  \"statement\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "5cc2a551-3cd1-44e7-977d-5cc3039e5639",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "p24"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"sessionId\": \"<string>\",\n  \"sign\": \"<string>\",\n  \"merchantId\": \"<integer>\",\n  \"posId\": \"<integer>\",\n  \"amount\": \"<integer>\",\n  \"originAmount\": \"<integer>\",\n  \"currency\": \"<string>\",\n  \"orderId\": \"<integer>\",\n  \"methodId\": \"<integer>\",\n  \"statement\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "e88f1f2a-a821-47c3-b98d-eb7e04db0419",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "p24"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"sessionId\": \"<string>\",\n  \"sign\": \"<string>\",\n  \"merchantId\": \"<integer>\",\n  \"posId\": \"<integer>\",\n  \"amount\": \"<integer>\",\n  \"originAmount\": \"<integer>\",\n  \"currency\": \"<string>\",\n  \"orderId\": \"<integer>\",\n  \"methodId\": \"<integer>\",\n  \"statement\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "payu",
     "description": "",
     "item": [
      {
       "id": "f7420622-46e0-471c-8b95-daa38fe7c91d",
       "name": "PayU order notification",
       "request": {
        "name": "PayU order notification",
        "description": {
         "content": "`OpenPayu-Signature: sender=…;signature=<hex>;algorithm=MD5|SHA-256` over body + second key.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "payu"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "disabled": false,
          "description": {
           "content": "(Required) ",
           "type": "text/plain"
          },
          "key": "OpenPayu-Signature",
          "value": "<string>"
         },
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"order\": {\n    \"key_0\": false,\n    \"key_1\": \"string\",\n    \"key_2\": false\n  },\n  \"refund\": {\n    \"key_0\": false,\n    \"key_1\": false\n  }\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "bbd3f140-fa24-4d9f-b22d-429725559212",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "payu"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "OpenPayu-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order\": {\n    \"key_0\": false,\n    \"key_1\": \"string\",\n    \"key_2\": false\n  },\n  \"refund\": {\n    \"key_0\": false,\n    \"key_1\": false\n  }\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "0d227e41-3dd0-4800-9370-abea82bd3a85",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "payu"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "OpenPayu-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order\": {\n    \"key_0\": false,\n    \"key_1\": \"string\",\n    \"key_2\": false\n  },\n  \"refund\": {\n    \"key_0\": false,\n    \"key_1\": false\n  }\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "2439e222-6cba-410d-9882-1f3d9525ccd7",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "payu"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "OpenPayu-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order\": {\n    \"key_0\": false,\n    \"key_1\": \"string\",\n    \"key_2\": false\n  },\n  \"refund\": {\n    \"key_0\": false,\n    \"key_1\": false\n  }\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "stripe",
     "description": "",
     "item": [
      {
       "id": "5b0f189a-5bab-431e-b002-40a948ee5b0c",
       "name": "Stripe event",
       "request": {
        "name": "Stripe event",
        "description": {
         "content": "`Stripe-Signature: t=…,v1=<hex HMAC-SHA256 of t.body with STRIPE_WEBHOOK_SECRET>`; events checkout.session.*, charge.refunded.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "stripe"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "disabled": false,
          "description": {
           "content": "(Required) ",
           "type": "text/plain"
          },
          "key": "Stripe-Signature",
          "value": "<string>"
         },
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"id\": \"<string>\",\n  \"type\": \"<string>\",\n  \"data\": {\n    \"key_0\": 166,\n    \"key_1\": true\n  },\n  \"key_0\": 5626.908058171418,\n  \"key_1\": true\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "ce0ac03c-b778-4586-9195-bfa04fd833c1",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "stripe"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "Stripe-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"id\": \"<string>\",\n  \"type\": \"<string>\",\n  \"data\": {\n    \"key_0\": 166,\n    \"key_1\": true\n  },\n  \"key_0\": 5626.908058171418,\n  \"key_1\": true\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "5afab0e6-fe6f-404f-8d99-14206e1ebeaa",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "stripe"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "Stripe-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"id\": \"<string>\",\n  \"type\": \"<string>\",\n  \"data\": {\n    \"key_0\": 166,\n    \"key_1\": true\n  },\n  \"key_0\": 5626.908058171418,\n  \"key_1\": true\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "3dd9e46e-7b5d-4213-98b7-7e4d943664b9",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "stripe"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "Stripe-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"id\": \"<string>\",\n  \"type\": \"<string>\",\n  \"data\": {\n    \"key_0\": 166,\n    \"key_1\": true\n  },\n  \"key_0\": 5626.908058171418,\n  \"key_1\": true\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "tranzzo",
     "description": "",
     "item": [
      {
       "id": "112ef3b8-58aa-492e-9d47-c53e3e1161c1",
       "name": "Tranzzo callback",
       "request": {
        "name": "Tranzzo callback",
        "description": {
         "content": "`data` (base64 JSON) + `signature` (base64 SHA1 of secret+data+secret), JSON or form body.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "tranzzo"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"data\": \"<string>\",\n  \"signature\": \"<string>\"\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "ac5ba470-ce30-429d-8d42-0fd5585f49c4",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "tranzzo"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"data\": \"<string>\",\n  \"signature\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "a4fc3ed5-3792-43c6-96d9-b1b882c0d9f7",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "tranzzo"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"data\": \"<string>\",\n  \"signature\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "f3693225-f871-4b33-b695-f09393d66023",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "tranzzo"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"data\": \"<string>\",\n  \"signature\": \"<string>\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "rozetkapay",
     "description": "",
     "item": [
      {
       "id": "abd2d5e0-4c48-4b0d-a090-8bb899538058",
       "name": "RozetkaPay callback",
       "request": {
        "name": "RozetkaPay callback",
        "description": {
         "content": "`X-Rozetkapay-Signature` = base64 HMAC-SHA256 of the raw body with the merchant password.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "rozetkapay"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "disabled": false,
          "description": {
           "content": "(Required) ",
           "type": "text/plain"
          },
          "key": "X-Rozetkapay-Signature",
          "value": "<string>"
         },
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "55384298-9e0f-4383-8403-558580f1530a",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "rozetkapay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Rozetkapay-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "3401e760-edf3-4a8a-95b7-0dbb17139b43",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "rozetkapay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Rozetkapay-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "6cbde7de-e3a0-4433-beda-c0252cfb9532",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "rozetkapay"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Rozetkapay-Signature",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "portmone",
     "description": "",
     "item": [
      {
       "id": "4adf8106-cac5-46cc-a195-631b90c333d1",
       "name": "Portmone callback",
       "request": {
        "name": "Portmone callback",
        "description": {
         "content": "JSON or form body signed with the Portmone key; reply `{errorCode \"0\"}` for JSON callers or `OK`.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "portmone"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "ddce037f-e1fa-4576-9c25-c98aed120558",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "portmone"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "b97523ab-df3b-4688-8e1d-1b29f96cd838",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "portmone"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "039f9751-3552-4c80-8ebd-00860c895a3a",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "portmone"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 8623,\n  \"key_1\": 2507\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "fondy",
     "description": "",
     "item": [
      {
       "id": "50208751-3967-48ae-8bac-ab2f1c293eca",
       "name": "Fondy / Flitt callback",
       "request": {
        "name": "Fondy / Flitt callback",
        "description": {
         "content": "JSON (`response` object or flat) with `signature` = SHA1 of the sorted non-empty fields joined with `|` and the secret key.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "fondy"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"order_id\": \"<string>\",\n  \"order_status\": \"<string>\",\n  \"signature\": \"<string>\",\n  \"response\": {\n    \"key_0\": true\n  },\n  \"key_0\": 5745,\n  \"key_1\": \"string\"\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "3a11e8c7-5fe1-4ab4-835c-57e3f489a401",
         "name": "accepted (`ok`, or the provider-specific acknowledgement)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "fondy"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order_id\": \"<string>\",\n  \"order_status\": \"<string>\",\n  \"signature\": \"<string>\",\n  \"response\": {\n    \"key_0\": true\n  },\n  \"key_0\": 5745,\n  \"key_1\": \"string\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "cffe29c6-87a2-4781-a11a-5946eae93d0c",
         "name": "bad signature / body — the provider must not retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "fondy"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order_id\": \"<string>\",\n  \"order_status\": \"<string>\",\n  \"signature\": \"<string>\",\n  \"response\": {\n    \"key_0\": true\n  },\n  \"key_0\": 5745,\n  \"key_1\": \"string\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "6c460c35-a761-4834-a94a-3abb08f07876",
         "name": "temporary sync error — the provider should retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "fondy"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"order_id\": \"<string>\",\n  \"order_status\": \"<string>\",\n  \"signature\": \"<string>\",\n  \"response\": {\n    \"key_0\": true\n  },\n  \"key_0\": 5745,\n  \"key_1\": \"string\"\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "shopify",
     "description": "",
     "item": [
      {
       "id": "85735dd2-6ed3-46a7-b882-818a27c8983f",
       "name": "Shopify order webhooks",
       "request": {
        "name": "Shopify order webhooks",
        "description": {
         "content": "HMAC-SHA256 (base64) of the raw body with `SHOPIFY_API_SECRET` in `X-Shopify-Hmac-Sha256`; deduplicated by `X-Shopify-Webhook-Id`. Topics orders/create, refunds/create, orders/cancelled, orders/edited, orders/fulfilled, orders/paid.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "webhooks",
          "shopify"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "disabled": false,
          "description": {
           "content": "(Required) ",
           "type": "text/plain"
          },
          "key": "X-Shopify-Hmac-Sha256",
          "value": "<string>"
         },
         {
          "disabled": false,
          "description": {
           "content": "(Required) ",
           "type": "text/plain"
          },
          "key": "X-Shopify-Topic",
          "value": "orders/fulfilled"
         },
         {
          "disabled": false,
          "description": {
           "content": "",
           "type": "text/plain"
          },
          "key": "X-Shopify-Webhook-Id",
          "value": "<string>"
         },
         {
          "key": "Content-Type",
          "value": "application/json"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "raw",
         "raw": "{\n  \"key_0\": 6986\n}",
         "options": {
          "raw": {
           "headerFamily": "json",
           "language": "json"
          }
         }
        },
        "auth": null
       },
       "response": [
        {
         "id": "40e02d67-605e-4c7f-9072-27c1d9bd4dc0",
         "name": "ok | dup (already processed) | noted (permanent error, do not retry)",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "shopify"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Shopify-Hmac-Sha256",
            "value": "<string>"
           },
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Shopify-Topic",
            "value": "orders/fulfilled"
           },
           {
            "disabled": false,
            "description": {
             "content": "",
             "type": "text/plain"
            },
            "key": "X-Shopify-Webhook-Id",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 6986\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "6092081a-6f94-4ed1-9846-fa8ab89b3017",
         "name": "bad json",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "shopify"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Shopify-Hmac-Sha256",
            "value": "<string>"
           },
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Shopify-Topic",
            "value": "orders/fulfilled"
           },
           {
            "disabled": false,
            "description": {
             "content": "",
             "type": "text/plain"
            },
            "key": "X-Shopify-Webhook-Id",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 6986\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "0c4aad28-c169-4be4-8e04-66e145d191e5",
         "name": "bad hmac",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "shopify"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Shopify-Hmac-Sha256",
            "value": "<string>"
           },
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Shopify-Topic",
            "value": "orders/fulfilled"
           },
           {
            "disabled": false,
            "description": {
             "content": "",
             "type": "text/plain"
            },
            "key": "X-Shopify-Webhook-Id",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 6986\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Unauthorized",
         "code": 401,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "8a2aa2f0-69dc-424c-a8bb-9cae2cdc4982",
         "name": "retry",
         "originalRequest": {
          "url": {
           "path": [
            "webhooks",
            "shopify"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Shopify-Hmac-Sha256",
            "value": "<string>"
           },
           {
            "disabled": false,
            "description": {
             "content": "(Required) ",
             "type": "text/plain"
            },
            "key": "X-Shopify-Topic",
            "value": "orders/fulfilled"
           },
           {
            "disabled": false,
            "description": {
             "content": "",
             "type": "text/plain"
            },
            "key": "X-Shopify-Webhook-Id",
            "value": "<string>"
           },
           {
            "key": "Content-Type",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "raw",
           "raw": "{\n  \"key_0\": 6986\n}",
           "options": {
            "raw": {
             "headerFamily": "json",
             "language": "json"
            }
           }
          }
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    }
   ]
  },
  {
   "name": "admin",
   "description": "",
   "item": [
    {
     "name": "login",
     "description": "",
     "item": [
      {
       "id": "a472fcb6-28c3-4c2a-a28d-2721e45bad7b",
       "name": "Login page (404 when ADMIN_PASSWORD is empty and no users exist)",
       "request": {
        "name": "Login page (404 when ADMIN_PASSWORD is empty and no users exist)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "login"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": null
       },
       "response": [
        {
         "id": "2c10fb56-e18d-426e-ab1f-91a0b8d8cd68",
         "name": "HTML form",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "login"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "e0c728b6-1fc5-48de-ae35-b49a1e41fdfd",
         "name": "already logged in → /admin/dashboard",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "login"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "bf43e071-4699-427d-8a40-0d90c02e4ba9",
         "name": "login disabled (key-only setup)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "login"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "id": "41272a01-4a08-49c0-b02d-947cb8a8e2d0",
       "name": "Log in (password, optional Telegram 2FA code) → cookie mistok_admin",
       "request": {
        "name": "Log in (password, optional Telegram 2FA code) → cookie mistok_admin",
        "description": {},
        "url": {
         "path": [
          "admin",
          "login"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/x-www-form-urlencoded"
         },
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "urlencoded",
         "urlencoded": [
          {
           "disabled": false,
           "description": {
            "content": "user login; empty / `owner` = the .env ADMIN_PASSWORD account",
            "type": "text/plain"
           },
           "key": "login",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "password",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "6-digit Telegram code (second step when ADMIN_2FA=telegram)",
            "type": "text/plain"
           },
           "key": "code",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "challenge token returned by the first step",
            "type": "text/plain"
           },
           "key": "challenge",
           "value": "<string>"
          }
         ]
        },
        "auth": null
       },
       "response": [
        {
         "id": "11be79be-4304-4cda-a0ce-aee2e769ae0b",
         "name": "second step (2FA code form)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "login"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           },
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "user login; empty / `owner` = the .env ADMIN_PASSWORD account",
              "type": "text/plain"
             },
             "key": "login",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "password",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "6-digit Telegram code (second step when ADMIN_2FA=telegram)",
              "type": "text/plain"
             },
             "key": "code",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "challenge token returned by the first step",
              "type": "text/plain"
             },
             "key": "challenge",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "d92b5024-89db-40ee-b911-a33e42e8ee94",
         "name": "logged in → /admin/dashboard (Set-Cookie mistok_admin)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "login"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "user login; empty / `owner` = the .env ADMIN_PASSWORD account",
              "type": "text/plain"
             },
             "key": "login",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "password",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "6-digit Telegram code (second step when ADMIN_2FA=telegram)",
              "type": "text/plain"
             },
             "key": "code",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "challenge token returned by the first step",
              "type": "text/plain"
             },
             "key": "challenge",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Found",
         "code": 302,
         "header": [
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "Set-Cookie",
           "value": "<string>"
          }
         ],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "38d1cc0c-94f4-4754-a952-c8abe3b08bac",
         "name": "wrong password / code (5 failures → 15 min lockout per IP)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "login"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "user login; empty / `owner` = the .env ADMIN_PASSWORD account",
              "type": "text/plain"
             },
             "key": "login",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "password",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "6-digit Telegram code (second step when ADMIN_2FA=telegram)",
              "type": "text/plain"
             },
             "key": "code",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "challenge token returned by the first step",
              "type": "text/plain"
             },
             "key": "challenge",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Unauthorized",
         "code": 401,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "logout",
     "description": "",
     "item": [
      {
       "id": "1133fcf1-aee0-4882-a6db-22d064ea3960",
       "name": "Log out (revokes the session)",
       "request": {
        "name": "Log out (revokes the session)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "logout"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "mistok_admin"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "header"
          }
         ]
        }
       },
       "response": [
        {
         "id": "1856674a-6791-46f0-89b3-4d6989407bea",
         "name": "→ /admin/login or BASE_URL",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "logout"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "description": {
             "content": "Added as a part of security scheme: apikey",
             "type": "text/plain"
            },
            "key": "mistok_admin",
            "value": "<API Key>"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "fe4fb956-ddfb-44ea-b5ea-c000f6300bf3",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "logout"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "description": {
             "content": "Added as a part of security scheme: apikey",
             "type": "text/plain"
            },
            "key": "mistok_admin",
            "value": "<API Key>"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "lang",
     "description": "",
     "item": [
      {
       "name": "{lang}",
       "description": "",
       "item": [
        {
         "id": "b5de363a-cbdb-4e69-9508-3f44e06828fe",
         "name": "Switch admin UI language (cookie mistok_lang)",
         "request": {
          "name": "Switch admin UI language (cookie mistok_lang)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "lang",
            ":lang"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "back",
             "value": "<string>"
            }
           ],
           "variable": [
            {
             "type": "any",
             "value": "ru",
             "key": "lang",
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             }
            }
           ]
          },
          "method": "GET",
          "body": {},
          "auth": null
         },
         "response": [
          {
           "id": "6dcb803b-e7db-477a-ac77-096020fb813d",
           "name": "back to `back` (must start with /admin) or the dashboard",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "lang",
              ":lang"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "a2547474-e3ab-4885-90b1-6d9569f39c6d",
           "name": "rate limited (RL_GLOBAL_PER_MIN, draft-8 RateLimit headers)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "lang",
              ":lang"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Too Many Requests",
           "code": 429,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "id": "6f3eda86-12a2-457c-be43-19113aec08d4",
     "name": "Redirect to the dashboard",
     "request": {
      "name": "Redirect to the dashboard",
      "description": {},
      "url": {
       "path": [
        "admin"
       ],
       "host": [
        "{{baseUrl}}"
       ],
       "query": [],
       "variable": []
      },
      "method": "GET",
      "body": {},
      "auth": {
       "type": "apikey",
       "apikey": [
        {
         "key": "key",
         "value": "key"
        },
        {
         "key": "value",
         "value": "{{adminKey}}"
        },
        {
         "key": "in",
         "value": "query"
        }
       ]
      }
     },
     "response": [
      {
       "id": "193db27f-67e1-44a7-8c89-aaff5a58c46a",
       "name": "→ /admin/dashboard",
       "originalRequest": {
        "url": {
         "path": [
          "admin"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "description": {
            "content": "Added as a part of security scheme: apikey",
            "type": "text/plain"
           },
           "key": "key",
           "value": "<API Key>"
          }
         ],
         "variable": []
        },
        "method": "GET",
        "body": {}
       },
       "status": "Found",
       "code": 302,
       "header": [],
       "cookie": [],
       "_postman_previewlanguage": "text"
      },
      {
       "id": "bf72fafb-e94e-42c2-be15-8133167da29d",
       "name": "not authenticated",
       "originalRequest": {
        "url": {
         "path": [
          "admin"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "description": {
            "content": "Added as a part of security scheme: apikey",
            "type": "text/plain"
           },
           "key": "key",
           "value": "<API Key>"
          }
         ],
         "variable": []
        },
        "method": "GET",
        "body": {}
       },
       "status": "Not Found",
       "code": 404,
       "header": [],
       "cookie": [],
       "_postman_previewlanguage": "text"
      }
     ],
     "event": [],
     "protocolProfileBehavior": {
      "disableBodyPruning": true
     }
    },
    {
     "name": "dashboard",
     "description": "",
     "item": [
      {
       "id": "e2886c32-0b6e-4214-954c-bee0a8f9ee23",
       "name": "Dashboard (HTML)",
       "request": {
        "name": "Dashboard (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "dashboard"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "period",
            "type": "text/plain"
           },
           "key": "days",
           "value": "30"
          },
          {
           "disabled": false,
           "description": {
            "content": "show the self-test report of this order id",
            "type": "text/plain"
           },
           "key": "selftest",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "`1` = show the last reconciliation report",
            "type": "text/plain"
           },
           "key": "reconcile",
           "value": "<string>"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "84f7ddaf-b4e7-4176-8415-a2397a662c71",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "dashboard"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "period",
              "type": "text/plain"
             },
             "key": "days",
             "value": "30"
            },
            {
             "disabled": false,
             "description": {
              "content": "show the self-test report of this order id",
              "type": "text/plain"
             },
             "key": "selftest",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = show the last reconciliation report",
              "type": "text/plain"
             },
             "key": "reconcile",
             "value": "<string>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "d5738ab6-69ae-44a0-a7f4-adc57cb4756b",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "dashboard"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "period",
              "type": "text/plain"
             },
             "key": "days",
             "value": "30"
            },
            {
             "disabled": false,
             "description": {
              "content": "show the self-test report of this order id",
              "type": "text/plain"
             },
             "key": "selftest",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = show the last reconciliation report",
              "type": "text/plain"
             },
             "key": "reconcile",
             "value": "<string>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "analytics",
     "description": "",
     "item": [
      {
       "id": "23f40bd9-ba6e-4b01-9e92-c3e5367c0757",
       "name": "Analytics module (HTML)",
       "request": {
        "name": "Analytics module (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "analytics"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "period",
            "type": "text/plain"
           },
           "key": "days",
           "value": "30"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "05bef4ef-085e-4746-973f-0e3c4cf592d8",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "analytics"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "period",
              "type": "text/plain"
             },
             "key": "days",
             "value": "30"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "883adb06-5e20-47e0-887f-7289397f6c0d",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "analytics"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "period",
              "type": "text/plain"
             },
             "key": "days",
             "value": "30"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "payments",
     "description": "",
     "item": [
      {
       "id": "546e34e5-eb9c-4a9e-8518-835d688286b7",
       "name": "Payments list (HTML, 50 per page)",
       "request": {
        "name": "Payments list (HTML, 50 per page)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "payments"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "free text (order name, phone, email, invoice id …)",
            "type": "text/plain"
           },
           "key": "q",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "PSP status",
            "type": "text/plain"
           },
           "key": "status",
           "value": "hold"
          },
          {
           "disabled": false,
           "description": {
            "content": "`1` = marked paid in Shopify, `0` = not",
            "type": "text/plain"
           },
           "key": "paid",
           "value": "0"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "provider",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "ISO-3166 alpha-2",
            "type": "text/plain"
           },
           "key": "country",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "YYYY-MM-DD",
            "type": "text/plain"
           },
           "key": "from",
           "value": "<date>"
          },
          {
           "disabled": false,
           "description": {
            "content": "YYYY-MM-DD",
            "type": "text/plain"
           },
           "key": "to",
           "value": "<date>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "kind",
           "value": "draft"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "page",
           "value": "1"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "d417fe67-5ece-4fd8-85a0-3c5fb7dbcc56",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "payments"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "PSP status",
              "type": "text/plain"
             },
             "key": "status",
             "value": "hold"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = marked paid in Shopify, `0` = not",
              "type": "text/plain"
             },
             "key": "paid",
             "value": "0"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "ISO-3166 alpha-2",
              "type": "text/plain"
             },
             "key": "country",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "kind",
             "value": "draft"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "page",
             "value": "1"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "61c9f976-f100-4789-939d-ef0d3dd7c43c",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "payments"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "PSP status",
              "type": "text/plain"
             },
             "key": "status",
             "value": "hold"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = marked paid in Shopify, `0` = not",
              "type": "text/plain"
             },
             "key": "paid",
             "value": "0"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "ISO-3166 alpha-2",
              "type": "text/plain"
             },
             "key": "country",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "kind",
             "value": "draft"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "page",
             "value": "1"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "order",
     "description": "",
     "item": [
      {
       "name": "{orderId}",
       "description": "",
       "item": [
        {
         "id": "99b52710-414b-4c4c-ae28-516175335092",
         "name": "Order card (HTML)",
         "request": {
          "name": "Order card (HTML)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "order",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": [
            {
             "type": "any",
             "value": "4",
             "key": "orderId",
             "disabled": false,
             "description": {
              "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
              "type": "text/plain"
             }
            }
           ]
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "e4004c39-3376-4dbd-97d1-6ee9a92d122f",
           "name": "HTML page",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "order",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "text/html"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "text/html"
            }
           ],
           "body": "<string>",
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "3e33beb8-a79b-45b1-924c-3df9fbcb6f81",
           "name": "no payment for this order (HTML) or not authenticated",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "order",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "links",
     "description": "",
     "item": [
      {
       "id": "7f3b6bd4-e8d5-4d52-a0d7-2bd6b1090cf7",
       "name": "Pay links (HTML)",
       "request": {
        "name": "Pay links (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "links"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "55138923-63aa-40f7-96ea-e50e423dfb0f",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "links"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "8bd3946e-cd6b-48db-83d8-4a51a3920972",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "links"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "id": "70e8d824-6b18-4a43-8dd3-a7361e212242",
       "name": "Create a payment link (draft order)",
       "request": {
        "name": "Create a payment link (draft order)",
        "description": {
         "content": "Either `draftId` of an existing Shopify draft, or `title` + `amount` (major units, e.g. `1250.50`) to create one. With `Accept: application/json` the link is returned as JSON, otherwise redirect to /admin/links.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "admin",
          "links"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/x-www-form-urlencoded"
         },
         {
          "key": "Accept",
          "value": "application/json"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "urlencoded",
         "urlencoded": [
          {
           "disabled": false,
           "description": {
            "content": "existing Shopify draft order id (then title/amount are ignored)",
            "type": "text/plain"
           },
           "key": "draftId",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "title",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "major units, `.` or `,` decimal (e.g. `1250.50`)",
            "type": "text/plain"
           },
           "key": "amount",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "email",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "phone",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "provider key, default LINK_PROVIDER",
            "type": "text/plain"
           },
           "key": "provider",
           "value": "<string>"
          }
         ]
        },
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "5cf61324-c0a8-4e29-b9f1-0faf6019e74b",
         "name": "created (Accept json)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "links"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           },
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "existing Shopify draft order id (then title/amount are ignored)",
              "type": "text/plain"
             },
             "key": "draftId",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "title",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "major units, `.` or `,` decimal (e.g. `1250.50`)",
              "type": "text/plain"
             },
             "key": "amount",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "email",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key, default LINK_PROVIDER",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "application/json"
          }
         ],
         "body": "{\n  \"url\": \"<uri>\",\n  \"token\": \"<string>\",\n  \"draft\": \"<string>\",\n  \"amount\": \"<integer>\"\n}",
         "cookie": [],
         "_postman_previewlanguage": "json"
        },
        {
         "id": "c97e37a1-8333-4f5b-b4f1-c5a50f158ad2",
         "name": "→ /admin/links",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "links"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "existing Shopify draft order id (then title/amount are ignored)",
              "type": "text/plain"
             },
             "key": "draftId",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "title",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "major units, `.` or `,` decimal (e.g. `1250.50`)",
              "type": "text/plain"
             },
             "key": "amount",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "email",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key, default LINK_PROVIDER",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "9ebbbc87-1310-41c1-a1db-d7a8531b9108",
         "name": "Shopify / provider error text",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "links"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "existing Shopify draft order id (then title/amount are ignored)",
              "type": "text/plain"
             },
             "key": "draftId",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "title",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "major units, `.` or `,` decimal (e.g. `1250.50`)",
              "type": "text/plain"
             },
             "key": "amount",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "email",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key, default LINK_PROVIDER",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "3b6831c3-5297-455d-87c2-65f11e4250ba",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "links"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "existing Shopify draft order id (then title/amount are ignored)",
              "type": "text/plain"
             },
             "key": "draftId",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "title",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "major units, `.` or `,` decimal (e.g. `1250.50`)",
              "type": "text/plain"
             },
             "key": "amount",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "email",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key, default LINK_PROVIDER",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "phones",
     "description": "",
     "item": [
      {
       "id": "821a8402-f168-4b8a-b29e-1d6a0a432c28",
       "name": "Phone rules (HTML)",
       "request": {
        "name": "Phone rules (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "phones"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "prefill the form",
            "type": "text/plain"
           },
           "key": "phone",
           "value": "<string>"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "489ee608-acde-4511-ab1f-50bdc9c988c3",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "phones"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "prefill the form",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "9ba6ccb9-1d1b-4332-8e17-18f5e86f844a",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "phones"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "prefill the form",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "phone-rules",
     "description": "",
     "item": [
      {
       "id": "1d5ef546-e520-4ab6-a877-507d3aa5d48c",
       "name": "Add / change / delete a phone rule",
       "request": {
        "name": "Add / change / delete a phone rule",
        "description": {},
        "url": {
         "path": [
          "admin",
          "phone-rules"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/x-www-form-urlencoded"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "urlencoded",
         "urlencoded": [
          {
           "disabled": false,
           "description": {
            "content": "(Required) any format, normalised to E.164",
            "type": "text/plain"
           },
           "key": "phone",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "(Required) ",
            "type": "text/plain"
           },
           "key": "mode",
           "value": "prepay"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "note",
           "value": "<string>"
          }
         ]
        },
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "2a58a368-6cc4-4c04-9501-8d2b5b1f4fdb",
         "name": "→ /admin/phones",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "phone-rules"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) any format, normalised to E.164",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "mode",
             "value": "prepay"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "note",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "b00d1ba4-3a3d-42b7-87bf-29dc86d28493",
         "name": "bad phone | bad mode",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "phone-rules"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) any format, normalised to E.164",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "mode",
             "value": "prepay"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "note",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "462a3da2-22e8-444b-bfb0-09f2b4f689b6",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "phone-rules"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) any format, normalised to E.164",
              "type": "text/plain"
             },
             "key": "phone",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "mode",
             "value": "prepay"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "note",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "events",
     "description": "",
     "item": [
      {
       "id": "8682afdd-4a1d-4693-8019-548c33c62246",
       "name": "Outgoing event deliveries (HTML)",
       "request": {
        "name": "Outgoing event deliveries (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "events"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "b17ab67c-4472-4034-8005-f1a53aaaad62",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "events"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "29e32f1e-22e5-497a-9edd-6b832a0ee6a3",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "events"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "{id}",
       "description": "",
       "item": [
        {
         "name": "redeliver",
         "description": "",
         "item": [
          {
           "id": "78972219-7cff-4b7b-93fd-12941d6713cc",
           "name": "Re-send an outgoing event delivery",
           "request": {
            "name": "Re-send an outgoing event delivery",
            "description": {},
            "url": {
             "path": [
              "admin",
              "events",
              ":id",
              "redeliver"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "`order:<id>` = redirect to that order card after the action",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              }
             ],
             "variable": [
              {
               "type": "any",
               "value": "<uuid>",
               "key": "id",
               "disabled": false,
               "description": {
                "content": "(Required) delivery uuid",
                "type": "text/plain"
               }
              }
             ]
            },
            "method": "POST",
            "body": {},
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "1c7952b0-88d1-4d2c-8938-0055f9fe03d8",
             "name": "→ /admin/events (or the order card)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "events",
                ":id",
                "redeliver"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "disabled": false,
                 "description": {
                  "content": "`order:<id>` = redirect to that order card after the action",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "<string>"
                },
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Found",
             "code": 302,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "3fccf391-47bf-4e39-b47d-1dfd16915953",
             "name": "unknown delivery",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "events",
                ":id",
                "redeliver"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "disabled": false,
                 "description": {
                  "content": "`order:<id>` = redirect to that order card after the action",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "<string>"
                },
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Not Found",
             "code": 404,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        }
       ]
      }
     ]
    },
    {
     "name": "qr",
     "description": "",
     "item": [
      {
       "id": "f6574de7-0a60-4510-8708-0b4bd43c1e3d",
       "name": "mono QR cash registers (HTML)",
       "request": {
        "name": "mono QR cash registers (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "qr"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "67fb62bb-ddd1-489c-8266-385f731f478a",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "qr"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "9621181d-e06b-45ca-8de9-2e05780b7984",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "qr"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "{qrId}",
       "description": "",
       "item": [
        {
         "name": "show",
         "description": "",
         "item": [
          {
           "id": "46801b6a-982c-4e4f-a467-7a0f241c6108",
           "name": "Put an order's amount on a physical QR cash register",
           "request": {
            "name": "Put an order's amount on a physical QR cash register",
            "description": {},
            "url": {
             "path": [
              "admin",
              "qr",
              ":qrId",
              "show"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": [
              {
               "type": "any",
               "value": "FyME-5L476RhFvT32zNsJuvX",
               "key": "qrId",
               "disabled": false,
               "description": {
                "content": "(Required) ",
                "type": "text/plain"
               }
              }
             ]
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             },
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) ",
                "type": "text/plain"
               },
               "key": "orderId",
               "value": "7"
              },
              {
               "disabled": false,
               "description": {
                "content": "overrides the path id (select in the order card)",
                "type": "text/plain"
               },
               "key": "qrId",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "back",
               "value": "order"
              }
             ]
            },
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "fdf8111c-ae7e-4c54-ac10-336f4a94e6e1",
             "name": "the invoice record (Accept json)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "qr",
                ":qrId",
                "show"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               },
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "(Required) ",
                  "type": "text/plain"
                 },
                 "key": "orderId",
                 "value": "7"
                },
                {
                 "disabled": false,
                 "description": {
                  "content": "overrides the path id (select in the order card)",
                  "type": "text/plain"
                 },
                 "key": "qrId",
                 "value": "<string>"
                },
                {
                 "disabled": false,
                 "description": {
                  "content": "",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "order"
                }
               ]
              }
             },
             "status": "OK",
             "code": 200,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"orderId\": \"<string>\",\n  \"orderGid\": \"<string>\",\n  \"orderName\": \"<string>\",\n  \"statusPageUrl\": \"<string>\",\n  \"provider\": \"<string>\",\n  \"invoiceId\": \"<string>\",\n  \"pageUrl\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"ccy\": \"<integer,null>\",\n  \"currency\": \"<string>\",\n  \"status\": \"hold\",\n  \"paidMarked\": \"<boolean>\",\n  \"paidAt\": \"<string,null>\",\n  \"buyerEmail\": \"<string,null>\",\n  \"buyerPhone\": \"<string,null>\",\n  \"confirmation\": \"<string,null>\",\n  \"prepay\": \"<boolean>\",\n  \"orderTotal\": \"<integer,null>\",\n  \"remindedAt\": \"<string,null>\",\n  \"reminderCount\": \"<integer>\",\n  \"fiscalUrl\": \"<string,null>\",\n  \"kind\": \"order\",\n  \"country\": \"<string,null>\",\n  \"region\": \"<string,null>\",\n  \"city\": \"<string,null>\",\n  \"device\": \"<string,null>\",\n  \"returnedAt\": \"<string,null>\",\n  \"failureReason\": \"<string,null>\",\n  \"qrId\": \"<string,null>\",\n  \"demo\": \"<boolean>\",\n  \"source\": \"<string,null>\",\n  \"campaign\": \"<string,null>\",\n  \"items\": [\n    {\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"qty\": \"<integer>\",\n      \"unitAmount\": \"<integer>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"code\": \"<string>\",\n      \"qty\": \"<integer>\",\n      \"unitAmount\": \"<integer>\"\n    }\n  ],\n  \"buyerKey\": \"<string,null>\",\n  \"isRepeat\": \"<boolean>\",\n  \"fee\": \"<integer,null>\",\n  \"client\": {\n    \"os\": \"<string,null>\",\n    \"osVer\": \"<string,null>\",\n    \"browser\": \"<string,null>\",\n    \"browserVer\": \"<string,null>\",\n    \"ip\": \"<string,null>\",\n    \"ipCountry\": \"<string,null>\",\n    \"langs\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"referer\": \"<string,null>\",\n    \"ua\": \"<string,null>\"\n  },\n  \"discounts\": {\n    \"key_0\": 6054.786127234113\n  },\n  \"recordAmount\": \"<integer,null>\",\n  \"recordCurrency\": \"<string,null>\",\n  \"paidEmailAt\": \"<string,null>\",\n  \"receiptEmailAt\": \"<string,null>\",\n  \"createdAt\": \"<string>\",\n  \"updatedAt\": \"<string>\"\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            },
            {
             "id": "5f57eef9-8155-43c5-85b4-51ecee23ee6a",
             "name": "→ /admin/qr or the order card",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "qr",
                ":qrId",
                "show"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "(Required) ",
                  "type": "text/plain"
                 },
                 "key": "orderId",
                 "value": "7"
                },
                {
                 "disabled": false,
                 "description": {
                  "content": "overrides the path id (select in the order card)",
                  "type": "text/plain"
                 },
                 "key": "qrId",
                 "value": "<string>"
                },
                {
                 "disabled": false,
                 "description": {
                  "content": "",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "order"
                }
               ]
              }
             },
             "status": "Found",
             "code": 302,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "b5c79744-0c96-4ef7-bcfc-008b17ed8025",
             "name": "bad qrId or orderId",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "qr",
                ":qrId",
                "show"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "(Required) ",
                  "type": "text/plain"
                 },
                 "key": "orderId",
                 "value": "7"
                },
                {
                 "disabled": false,
                 "description": {
                  "content": "overrides the path id (select in the order card)",
                  "type": "text/plain"
                 },
                 "key": "qrId",
                 "value": "<string>"
                },
                {
                 "disabled": false,
                 "description": {
                  "content": "",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "order"
                }
               ]
              }
             },
             "status": "Bad Request",
             "code": 400,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "85a50801-fbe3-4d0a-bc7b-9098fcd6a300",
             "name": "mono error",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "qr",
                ":qrId",
                "show"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "(Required) ",
                  "type": "text/plain"
                 },
                 "key": "orderId",
                 "value": "7"
                },
                {
                 "disabled": false,
                 "description": {
                  "content": "overrides the path id (select in the order card)",
                  "type": "text/plain"
                 },
                 "key": "qrId",
                 "value": "<string>"
                },
                {
                 "disabled": false,
                 "description": {
                  "content": "",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "order"
                }
               ]
              }
             },
             "status": "Bad Gateway",
             "code": 502,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        },
        {
         "name": "clear",
         "description": "",
         "item": [
          {
           "id": "9c899eb6-cd4b-4e4b-83d0-686ad8be0248",
           "name": "Remove the amount from a QR cash register",
           "request": {
            "name": "Remove the amount from a QR cash register",
            "description": {},
            "url": {
             "path": [
              "admin",
              "qr",
              ":qrId",
              "clear"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": [
              {
               "type": "any",
               "value": "FyME-5L476RhFvT32zNsJuvX",
               "key": "qrId",
               "disabled": false,
               "description": {
                "content": "(Required) ",
                "type": "text/plain"
               }
              }
             ]
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {},
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "9174c5c9-e3f5-4a93-80c3-56b8abb16b74",
             "name": "ok (Accept json)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "qr",
                ":qrId",
                "clear"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {}
             },
             "status": "OK",
             "code": 200,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"ok\": \"<boolean>\"\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            },
            {
             "id": "8c63a409-2d4d-47ad-8b26-9f3ea755bad3",
             "name": "→ /admin/qr",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "qr",
                ":qrId",
                "clear"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Found",
             "code": 302,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "750781a3-73c3-4387-a7bd-3901d4887b38",
             "name": "bad qrId",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "qr",
                ":qrId",
                "clear"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Bad Request",
             "code": 400,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "0349d06f-dcaf-4e57-9fcc-9c3b62f3d3bc",
             "name": "mono error",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "qr",
                ":qrId",
                "clear"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Bad Gateway",
             "code": 502,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        }
       ]
      }
     ]
    },
    {
     "name": "settings",
     "description": "",
     "item": [
      {
       "id": "cd33cfb5-a481-4871-9748-98931ead17d5",
       "name": "Settings overview + overrides form (HTML)",
       "request": {
        "name": "Settings overview + overrides form (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "settings"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "saved",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "imported",
           "value": "<string>"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "174b4d8d-433b-4fc2-b5e4-ffed1606e465",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "settings"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "saved",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "imported",
             "value": "<string>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "aab29314-961a-433d-8da7-47fe75668f75",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "settings"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "saved",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "imported",
             "value": "<string>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "id": "a30d2c53-37a0-4ce3-98e3-5fad68aab2ba",
       "name": "Save admin overrides of .env keys (owner)",
       "request": {
        "name": "Save admin overrides of .env keys (owner)",
        "description": {
         "content": "Every submitted `CONFIG_KEY` is validated (JSON for GATEWAY_MAP / PROVIDER_FALLBACK / PREPAY_RULES, numbers, regex, provider names). `reset=<KEY>` drops one override. Values equal to .env are not stored.",
         "type": "text/plain"
        },
        "url": {
         "path": [
          "admin",
          "settings"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/x-www-form-urlencoded"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "urlencoded",
         "urlencoded": [
          {
           "disabled": false,
           "description": {
            "content": "key to reset to .env",
            "type": "text/plain"
           },
           "key": "reset",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "GATEWAY_MAP",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "PROVIDER_FALLBACK",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "PREPAY_RULES",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "REMINDER_AFTER_HOURS",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "REMINDER_GAP_HOURS",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "REMINDER_MAX",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "COD_GATEWAY_REGEX",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "LINK_PROVIDER",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "LINK_CURRENCY",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "key_0",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "key_1",
           "value": "<string>"
          }
         ]
        },
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "28fabf1f-8144-4473-bc88-a6e092ea2b16",
         "name": "→ /admin/settings?saved=1",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "settings"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "key to reset to .env",
              "type": "text/plain"
             },
             "key": "reset",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "GATEWAY_MAP",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "PROVIDER_FALLBACK",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "PREPAY_RULES",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_AFTER_HOURS",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_GAP_HOURS",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_MAX",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "COD_GATEWAY_REGEX",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "LINK_PROVIDER",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "LINK_CURRENCY",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_0",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_1",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "204ef326-cb4f-44a4-927d-b80b49160cb0",
         "name": "validation error (settings page with the message)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "settings"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "key to reset to .env",
              "type": "text/plain"
             },
             "key": "reset",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "GATEWAY_MAP",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "PROVIDER_FALLBACK",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "PREPAY_RULES",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_AFTER_HOURS",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_GAP_HOURS",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_MAX",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "COD_GATEWAY_REGEX",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "LINK_PROVIDER",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "LINK_CURRENCY",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_0",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_1",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "9a44939f-249e-4ebb-a58a-7c5ec1261991",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "settings"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "key to reset to .env",
              "type": "text/plain"
             },
             "key": "reset",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "GATEWAY_MAP",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "PROVIDER_FALLBACK",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "PREPAY_RULES",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_AFTER_HOURS",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_GAP_HOURS",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "REMINDER_MAX",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "COD_GATEWAY_REGEX",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "LINK_PROVIDER",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "LINK_CURRENCY",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_0",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "key_1",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "export.json",
       "description": "",
       "item": [
        {
         "id": "6549bdeb-ba0d-4bca-bd97-570aff1f40e1",
         "name": "Export overrides + phone rules as JSON (owner; secrets never included)",
         "request": {
          "name": "Export overrides + phone rules as JSON (owner; secrets never included)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "settings",
            "export.json"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "d429bfaf-ae94-40b7-bc0a-476c0342ace5",
           "name": "attachment mistok-settings-<shop>-<date>.json",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "settings",
              "export.json"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"version\": \"<string>\",\n  \"exportedAt\": \"<string>\",\n  \"shop\": \"<string,null>\",\n  \"settings\": {\n    \"key_0\": \"<string>\"\n  },\n  \"phoneRules\": [\n    {\n      \"phone\": \"<string>\",\n      \"mode\": \"trusted\",\n      \"note\": \"<string>\"\n    },\n    {\n      \"phone\": \"<string>\",\n      \"mode\": \"trusted\",\n      \"note\": \"<string>\"\n    }\n  ],\n  \"gatewayMapEffective\": {\n    \"key_0\": {\n      \"provider\": \"<string>\",\n      \"prepay\": \"<integer>\",\n      \"prepayPercent\": \"<number>\"\n    }\n  }\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "6c93aac2-b081-4674-993a-d6979c3e30cc",
           "name": "role does not allow this",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "settings",
              "export.json"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"error\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "import",
       "description": "",
       "item": [
        {
         "id": "5b05b5b3-73bd-4d5b-902a-3c485f7e76e6",
         "name": "Import an export file or a bare {KEY value} patch (owner)",
         "request": {
          "name": "Import an export file or a bare {KEY value} patch (owner)",
          "description": {
           "content": "Unknown keys reject the whole import; nothing is applied on error.",
           "type": "text/plain"
          },
          "url": {
           "path": [
            "admin",
            "settings",
            "import"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) the JSON document (textarea)",
              "type": "text/plain"
             },
             "key": "json",
             "value": "<string>"
            }
           ]
          },
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "e446e3e6-2924-4d00-8e3c-a5248170331f",
           "name": "→ /admin/settings?saved=1&imported=<keys>+<rules>",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "settings",
              "import"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) the JSON document (textarea)",
                "type": "text/plain"
               },
               "key": "json",
               "value": "<string>"
              }
             ]
            }
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "03bc0516-5a00-4f57-8ccf-d441c61b4ad8",
           "name": "invalid JSON / unknown keys",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "settings",
              "import"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) the JSON document (textarea)",
                "type": "text/plain"
               },
               "key": "json",
               "value": "<string>"
              }
             ]
            }
           },
           "status": "Bad Request",
           "code": 400,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "5a76e823-6dd6-4ed7-86db-7723ae51c1a0",
           "name": "role does not allow this (403)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "settings",
              "import"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) the JSON document (textarea)",
                "type": "text/plain"
               },
               "key": "json",
               "value": "<string>"
              }
             ]
            }
           },
           "status": "Forbidden",
           "code": 403,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "users",
     "description": "",
     "item": [
      {
       "id": "18fbaf21-cad1-496e-9ca5-2ebeb40e82b0",
       "name": "Users and roles (HTML, owner)",
       "request": {
        "name": "Users and roles (HTML, owner)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "users"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "492701e3-885a-4b73-9598-aaf14c29f6df",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "users"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "898485cf-9aad-48cc-9e43-7a8223865993",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "users"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "id": "dfc408c4-2eb6-4dcd-a89f-5a19d7797f76",
       "name": "Create a user (owner)",
       "request": {
        "name": "Create a user (owner)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "users"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Content-Type",
          "value": "application/x-www-form-urlencoded"
         }
        ],
        "method": "POST",
        "body": {
         "mode": "urlencoded",
         "urlencoded": [
          {
           "disabled": false,
           "description": {
            "content": "(Required) ",
            "type": "text/plain"
           },
           "key": "login",
           "value": "envwe-p05kbp9p9_llz67z.xd.tyx6"
          },
          {
           "disabled": false,
           "description": {
            "content": "(Required) min 10 characters, letters and digits",
            "type": "text/plain"
           },
           "key": "password",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "(Required) ",
            "type": "text/plain"
           },
           "key": "role",
           "value": "owner"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "name",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "Telegram chat id for 2FA codes",
            "type": "text/plain"
           },
           "key": "tg_chat_id",
           "value": "<string>"
          }
         ]
        },
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "89886928-f272-4e17-bd5a-a5c81a47805f",
         "name": "→ /admin/users?saved=<id>",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "users"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "login",
             "value": "envwe-p05kbp9p9_llz67z.xd.tyx6"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) min 10 characters, letters and digits",
              "type": "text/plain"
             },
             "key": "password",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "role",
             "value": "owner"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "name",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "Telegram chat id for 2FA codes",
              "type": "text/plain"
             },
             "key": "tg_chat_id",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "221e8dfc-3aef-4fd9-a97f-d893d4503356",
         "name": "validation error",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "users"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "login",
             "value": "envwe-p05kbp9p9_llz67z.xd.tyx6"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) min 10 characters, letters and digits",
              "type": "text/plain"
             },
             "key": "password",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "role",
             "value": "owner"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "name",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "Telegram chat id for 2FA codes",
              "type": "text/plain"
             },
             "key": "tg_chat_id",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Bad Request",
         "code": 400,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "438eff3c-aac5-4f7d-967e-6ba12a4650a5",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "users"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "login",
             "value": "envwe-p05kbp9p9_llz67z.xd.tyx6"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) min 10 characters, letters and digits",
              "type": "text/plain"
             },
             "key": "password",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "role",
             "value": "owner"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "name",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "Telegram chat id for 2FA codes",
              "type": "text/plain"
             },
             "key": "tg_chat_id",
             "value": "<string>"
            }
           ]
          }
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "{id}",
       "description": "",
       "item": [
        {
         "id": "d824a1e6-63ef-4316-9bad-adbc91e7947c",
         "name": "Update a user (owner) — name, role, password, Telegram id, active flag",
         "request": {
          "name": "Update a user (owner) — name, role, password, Telegram id, active flag",
          "description": {},
          "url": {
           "path": [
            "admin",
            "users",
            ":id"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": [
            {
             "type": "any",
             "value": "<integer>",
             "key": "id",
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             }
            }
           ]
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "name",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "role",
             "value": "manager"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "password",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "tg_chat_id",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "active",
             "value": "0"
            }
           ]
          },
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "d47898f5-f23d-4c87-bd53-61b6a06bb43e",
           "name": "→ /admin/users?saved=<id>",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "users",
              ":id"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "name",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "role",
               "value": "manager"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "password",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "tg_chat_id",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "active",
               "value": "0"
              }
             ]
            }
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "079b9c11-f4a5-4311-a6d6-765668b04af0",
           "name": "validation error (e.g. last active owner)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "users",
              ":id"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "name",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "role",
               "value": "manager"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "password",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "tg_chat_id",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "active",
               "value": "0"
              }
             ]
            }
           },
           "status": "Bad Request",
           "code": 400,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "b2dda405-dd72-4d40-860c-01b4084d6d87",
           "name": "role does not allow this (403)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "users",
              ":id"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "name",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "role",
               "value": "manager"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "password",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "tg_chat_id",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "active",
               "value": "0"
              }
             ]
            }
           },
           "status": "Forbidden",
           "code": 403,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "0b302d59-c648-4c64-beeb-89771fc33991",
           "name": "unknown user",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "users",
              ":id"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "name",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "role",
               "value": "manager"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "password",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "tg_chat_id",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "active",
               "value": "0"
              }
             ]
            }
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "leads",
     "description": "",
     "item": [
      {
       "id": "c213b1d1-2e3e-4867-976c-8fab7ee154e5",
       "name": "Site requests (HTML)",
       "request": {
        "name": "Site requests (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "leads"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "6f564515-0f0f-4673-9ecd-7fe83ffe9e41",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "leads"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "319d608d-82b4-4218-bb55-c304ae7d7f2c",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "leads"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "audit",
     "description": "",
     "item": [
      {
       "id": "30a18307-e430-4c38-b6da-d09d64748646",
       "name": "Audit log (HTML, owner + manager)",
       "request": {
        "name": "Audit log (HTML, owner + manager)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "audit"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "free text (order name, phone, email, invoice id …)",
            "type": "text/plain"
           },
           "key": "q",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "login",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
            "type": "text/plain"
           },
           "key": "action",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "YYYY-MM-DD",
            "type": "text/plain"
           },
           "key": "from",
           "value": "<date>"
          },
          {
           "disabled": false,
           "description": {
            "content": "YYYY-MM-DD",
            "type": "text/plain"
           },
           "key": "to",
           "value": "<date>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "page",
           "value": "1"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "4d5d848c-bb57-46e8-a5fb-8f51227eae88",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "audit"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "login",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
              "type": "text/plain"
             },
             "key": "action",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "page",
             "value": "1"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "5e9447f8-dfa2-4cec-a063-113ae86512fe",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "audit"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "login",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
              "type": "text/plain"
             },
             "key": "action",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "page",
             "value": "1"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "health",
     "description": "",
     "item": [
      {
       "id": "c71365dc-6203-466f-813c-7850675384dd",
       "name": "Health page — process, DB, disk, backups, webhooks, deliveries, fiscal, per-PSP 24 h, recent errors (HTML); `?deep=1` adds live PSP probes with latency (manager/owner)",
       "request": {
        "name": "Health page — process, DB, disk, backups, webhooks, deliveries, fiscal, per-PSP 24 h, recent errors (HTML); `?deep=1` adds live PSP probes with latency (manager/owner)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "health"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "deep",
           "value": "1"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "0bdde02a-0998-4d5f-98c2-34a5404a1d9d",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "health"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "deep",
             "value": "1"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "529dceb3-9b1c-4ae9-937f-b5465e4bb4ec",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "health"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "deep",
             "value": "1"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "deep",
       "description": "",
       "item": [
        {
         "id": "2c7c35cf-e7fd-4ee3-82a0-b9b20ad405d9",
         "name": "Run the live PSP probes and show the health page with latencies (redirects to /admin/health?deep=1)",
         "request": {
          "name": "Run the live PSP probes and show the health page with latencies (redirects to /admin/health?deep=1)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "health",
            "deep"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "POST",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "2835b98b-14a2-4364-aed7-3d637e9474dc",
           "name": "redirect to /admin/health?deep=1",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "health",
              "deep"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "00e3d7a2-cfb4-449e-a5d5-da8439a5dd14",
           "name": "role does not allow this (403)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "health",
              "deep"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "setup",
     "description": "",
     "item": [
      {
       "id": "4cc76aff-0b6b-4cad-b00f-6123ee10b675",
       "name": "Setup wizard — last check results (HTML, owner)",
       "request": {
        "name": "Setup wizard — last check results (HTML, owner)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "setup"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "bddf89d4-9e5c-4b69-a618-3a19f072086e",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "setup"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "56d305f3-a770-4d72-9b13-6d300cd86de1",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "setup"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "run",
       "description": "",
       "item": [
        {
         "id": "fe9cce52-e72f-490d-8be2-8f42e79992e5",
         "name": "Run the live read-only integration checks (owner)",
         "request": {
          "name": "Run the live read-only integration checks (owner)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "setup",
            "run"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "e462c543-2c80-4388-8ff6-3a6737e6bb67",
           "name": "report (Accept json)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "setup",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"at\": \"<string>\",\n  \"results\": [\n    {\n      \"id\": \"<string>\",\n      \"group\": \"<string>\",\n      \"title\": \"<string>\",\n      \"hint\": \"<string>\",\n      \"ms\": \"<integer>\",\n      \"state\": \"ok\",\n      \"detail\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"group\": \"<string>\",\n      \"title\": \"<string>\",\n      \"hint\": \"<string>\",\n      \"ms\": \"<integer>\",\n      \"state\": \"skip\",\n      \"detail\": \"<string>\"\n    }\n  ],\n  \"summary\": null\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "00bbf6b9-4c96-4e84-863b-fc4eae4751e3",
           "name": "→ /admin/setup",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "setup",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "db1807d0-c8ac-4b3f-bf24-2a30cfc67961",
           "name": "role does not allow this (403)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "setup",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "webhooks",
     "description": "",
     "item": [
      {
       "id": "62da6974-a7af-46b4-8494-7ebb2b98054d",
       "name": "Incoming webhook inspector (HTML)",
       "request": {
        "name": "Incoming webhook inspector (HTML)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "webhooks"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "free text (order name, phone, email, invoice id …)",
            "type": "text/plain"
           },
           "key": "q",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "provider key or `shopify`",
            "type": "text/plain"
           },
           "key": "source",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "`1` = verified, `0` = rejected",
            "type": "text/plain"
           },
           "key": "ok",
           "value": "0"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "page",
           "value": "1"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "4632a08e-c812-4c63-9a25-9fce333b03d5",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "webhooks"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key or `shopify`",
              "type": "text/plain"
             },
             "key": "source",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = verified, `0` = rejected",
              "type": "text/plain"
             },
             "key": "ok",
             "value": "0"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "page",
             "value": "1"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "417ce92f-a5b8-4647-93ce-c32d607bcad9",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "webhooks"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key or `shopify`",
              "type": "text/plain"
             },
             "key": "source",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = verified, `0` = rejected",
              "type": "text/plain"
             },
             "key": "ok",
             "value": "0"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "page",
             "value": "1"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "{id}",
       "description": "",
       "item": [
        {
         "name": "replay",
         "description": "",
         "item": [
          {
           "id": "6d775e08-8f44-4265-9686-36dff6c34563",
           "name": "Replay a logged webhook (re-syncs the matched order with the PSP)",
           "request": {
            "name": "Replay a logged webhook (re-syncs the matched order with the PSP)",
            "description": {},
            "url": {
             "path": [
              "admin",
              "webhooks",
              ":id",
              "replay"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": [
              {
               "type": "any",
               "value": "<integer>",
               "key": "id",
               "disabled": false,
               "description": {
                "content": "(Required) ",
                "type": "text/plain"
               }
              }
             ]
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {},
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "42988801-7a19-42f9-b905-f4a7a3eff651",
             "name": "synced (Accept json)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "webhooks",
                ":id",
                "replay"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {}
             },
             "status": "OK",
             "code": 200,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"ok\": \"<boolean>\",\n  \"status\": \"<string>\"\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            },
            {
             "id": "c13fe530-b22e-424b-a8ba-0949ee9dda6b",
             "name": "→ /admin/webhooks",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "webhooks",
                ":id",
                "replay"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Found",
             "code": 302,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "1cd1adeb-f928-4b8b-8002-7761a6b112c1",
             "name": "no such log row / no matched order",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "webhooks",
                ":id",
                "replay"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Not Found",
             "code": 404,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "2dd3ebc9-a846-4702-9b0e-c553036f1f8c",
             "name": "provider error",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "webhooks",
                ":id",
                "replay"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Bad Gateway",
             "code": 502,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        }
       ]
      }
     ]
    },
    {
     "name": "security",
     "description": "",
     "item": [
      {
       "id": "6f2b337a-df88-4b47-8f6e-fac0f2314cea",
       "name": "Security panel — failed logins, locked IPs, sessions (HTML, owner)",
       "request": {
        "name": "Security panel — failed logins, locked IPs, sessions (HTML, owner)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "security"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "done",
           "value": "<string>"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/html"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "7c695a88-31c8-49e9-82be-9966f994ce4e",
         "name": "HTML page",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "security"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "done",
             "value": "<string>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/html"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/html"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "011d0a1e-67b3-4a50-8d17-6aa1082a6597",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "security"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "done",
             "value": "<string>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      },
      {
       "name": "unlock",
       "description": "",
       "item": [
        {
         "id": "31a0cc69-e09e-430a-a6a8-51b3d2b45453",
         "name": "Unlock an IP after failed logins (owner)",
         "request": {
          "name": "Unlock an IP after failed logins (owner)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "security",
            "unlock"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             },
             "key": "ip",
             "value": "<string>"
            }
           ]
          },
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "92923cdf-0599-4f78-ba96-ed76017abc94",
           "name": "→ /admin/security?done=…",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "security",
              "unlock"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) ",
                "type": "text/plain"
               },
               "key": "ip",
               "value": "<string>"
              }
             ]
            }
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "705ec0f5-036e-4667-91c0-f3d1d51b22fb",
           "name": "role does not allow this (403)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "security",
              "unlock"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) ",
                "type": "text/plain"
               },
               "key": "ip",
               "value": "<string>"
              }
             ]
            }
           },
           "status": "Forbidden",
           "code": 403,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "sessions",
       "description": "",
       "item": [
        {
         "name": "revoke",
         "description": "",
         "item": [
          {
           "id": "7eb0ec9f-6a5b-4835-b4fe-ff222633022a",
           "name": "Revoke one admin session (owner)",
           "request": {
            "name": "Revoke one admin session (owner)",
            "description": {},
            "url": {
             "path": [
              "admin",
              "security",
              "sessions",
              "revoke"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "(Required) ",
                "type": "text/plain"
               },
               "key": "nonce",
               "value": "<string>"
              }
             ]
            },
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "c6b56900-7a8e-465b-a4b1-59f024f10495",
             "name": "→ /admin/security",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "security",
                "sessions",
                "revoke"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "(Required) ",
                  "type": "text/plain"
                 },
                 "key": "nonce",
                 "value": "<string>"
                }
               ]
              }
             },
             "status": "Found",
             "code": 302,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "17d85eaa-ed28-445f-a4fd-ead20b291c81",
             "name": "role does not allow this (403)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "security",
                "sessions",
                "revoke"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "(Required) ",
                  "type": "text/plain"
                 },
                 "key": "nonce",
                 "value": "<string>"
                }
               ]
              }
             },
             "status": "Forbidden",
             "code": 403,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        },
        {
         "name": "revoke-all",
         "description": "",
         "item": [
          {
           "id": "038635dd-8b29-4764-a3c8-933a50a7925e",
           "name": "Revoke every admin session except the current one (owner)",
           "request": {
            "name": "Revoke every admin session except the current one (owner)",
            "description": {},
            "url": {
             "path": [
              "admin",
              "security",
              "sessions",
              "revoke-all"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "method": "POST",
            "body": {},
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "af95d1d3-36ee-4610-8550-08f4f69b27f6",
             "name": "→ /admin/security",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "security",
                "sessions",
                "revoke-all"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Found",
             "code": 302,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "08f7f417-1ac2-41ff-b713-0435ab758dda",
             "name": "role does not allow this (403)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "security",
                "sessions",
                "revoke-all"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "POST",
              "body": {}
             },
             "status": "Forbidden",
             "code": 403,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        }
       ]
      }
     ]
    },
    {
     "name": "demo",
     "description": "",
     "item": [
      {
       "name": "on",
       "description": "",
       "item": [
        {
         "id": "76ff785b-9d85-482a-a13c-a444084c7abf",
         "name": "Switch the demo sandbox on (seeds fictional payments into an empty DB; owner)",
         "request": {
          "name": "Switch the demo sandbox on (seeds fictional payments into an empty DB; owner)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "demo",
            "on"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "POST",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "e21bad6a-4681-414f-87fb-a17dd1d32b92",
           "name": "→ /admin/settings",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "demo",
              "on"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "5a7847f3-438c-4db4-b906-164a076ceda9",
           "name": "DEMO_DATA=false",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "demo",
              "on"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Bad Request",
           "code": 400,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "37b5d1f0-d435-4be6-bad2-485439c956c6",
           "name": "role does not allow this (403)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "demo",
              "on"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "off",
       "description": "",
       "item": [
        {
         "id": "0cf03e95-1492-42db-bd17-693eb74d15e8",
         "name": "Switch the demo sandbox off and purge every demo row (owner)",
         "request": {
          "name": "Switch the demo sandbox off and purge every demo row (owner)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "demo",
            "off"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "method": "POST",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "e2ea4e75-4c5e-4dd7-97da-6eef479c3522",
           "name": "→ /admin/settings",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "demo",
              "off"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "868f92f6-7f37-430b-8b62-9b69a82c10f8",
           "name": "role does not allow this (403)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "demo",
              "off"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "selftest",
     "description": "",
     "item": [
      {
       "id": "419380f4-9306-4834-97c9-8479ea75049f",
       "name": "Test purchase — a fictional order walked through every stage inside Mistok (no PSP / Shopify calls)",
       "request": {
        "name": "Test purchase — a fictional order walked through every stage inside Mistok (no PSP / Shopify calls)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "selftest"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "application/json"
         }
        ],
        "method": "POST",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "71537de7-fa47-4c30-aaeb-e66b56e59ff2",
         "name": "report (Accept json); 500 when a step failed",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "selftest"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "application/json"
          }
         ],
         "body": "{\n  \"ok\": \"<boolean>\",\n  \"at\": \"<string>\",\n  \"orderId\": \"<string,null>\",\n  \"orderName\": \"<string>\",\n  \"url\": \"<string,null>\",\n  \"steps\": [\n    {\n      \"name\": \"<string>\",\n      \"ok\": \"<boolean>\",\n      \"detail\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"ok\": \"<boolean>\",\n      \"detail\": \"<string>\"\n    }\n  ]\n}",
         "cookie": [],
         "_postman_previewlanguage": "json"
        },
        {
         "id": "4bfdf0c6-72f4-4cd8-a813-47947f394157",
         "name": "→ /admin/dashboard?selftest=<orderId>",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "selftest"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "POST",
          "body": {}
         },
         "status": "Found",
         "code": 302,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "cfa86219-68cf-4323-b103-7cf268ef7631",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "selftest"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "POST",
          "body": {}
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "5924d8f2-f69e-4c79-af31-efa752beb5d3",
         "name": "a step failed (JSON report)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "selftest"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {}
         },
         "status": "Internal Server Error",
         "code": 500,
         "header": [
          {
           "key": "Content-Type",
           "value": "application/json"
          }
         ],
         "body": "{\n  \"ok\": \"<boolean>\",\n  \"at\": \"<string>\",\n  \"orderId\": \"<string,null>\",\n  \"orderName\": \"<string>\",\n  \"url\": \"<string,null>\",\n  \"steps\": [\n    {\n      \"name\": \"<string>\",\n      \"ok\": \"<boolean>\",\n      \"detail\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"ok\": \"<boolean>\",\n      \"detail\": \"<string>\"\n    }\n  ]\n}",
         "cookie": [],
         "_postman_previewlanguage": "json"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "reconcile",
     "description": "",
     "item": [
      {
       "name": "run",
       "description": "",
       "item": [
        {
         "id": "919b61f8-bf30-4694-bb6d-a8538a5556b4",
         "name": "Reconcile Shopify ↔ Mistok ↔ PSP for the last RECONCILE_DAYS",
         "request": {
          "name": "Reconcile Shopify ↔ Mistok ↔ PSP for the last RECONCILE_DAYS",
          "description": {},
          "url": {
           "path": [
            "admin",
            "reconcile",
            "run"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           },
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "`1` = also send the report to Telegram",
              "type": "text/plain"
             },
             "key": "notify",
             "value": "1"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "back",
             "value": "dashboard"
            }
           ]
          },
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "d188d01f-ce37-4726-9a5f-3fe7b861cb60",
           "name": "report",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "reconcile",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             },
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "`1` = also send the report to Telegram",
                "type": "text/plain"
               },
               "key": "notify",
               "value": "1"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "back",
               "value": "dashboard"
              }
             ]
            }
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"since\": \"<string>\",\n  \"checked\": {\n    \"invoices\": \"<integer>\",\n    \"orders\": \"<integer>\"\n  },\n  \"healed\": \"<integer>\",\n  \"issues\": [\n    {\n      \"kind\": \"<string>\",\n      \"text\": \"<string>\",\n      \"key_0\": false,\n      \"key_1\": \"string\",\n      \"key_2\": \"string\"\n    },\n    {\n      \"kind\": \"<string>\",\n      \"text\": \"<string>\"\n    }\n  ],\n  \"at\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "b62bb7ed-31c1-4e53-8f25-b8cc12984be3",
           "name": "→ /admin/dashboard?reconcile=1 (back=dashboard)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "reconcile",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "`1` = also send the report to Telegram",
                "type": "text/plain"
               },
               "key": "notify",
               "value": "1"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "back",
               "value": "dashboard"
              }
             ]
            }
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "ff7dc7e7-977f-4aa2-8072-54139dcf4e18",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "reconcile",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "`1` = also send the report to Telegram",
                "type": "text/plain"
               },
               "key": "notify",
               "value": "1"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "back",
               "value": "dashboard"
              }
             ]
            }
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "f959dccf-3ebd-49da-a702-b608d238e799",
           "name": "error",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "reconcile",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             },
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "`1` = also send the report to Telegram",
                "type": "text/plain"
               },
               "key": "notify",
               "value": "1"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "back",
               "value": "dashboard"
              }
             ]
            }
           },
           "status": "Internal Server Error",
           "code": 500,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"error\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "sync",
     "description": "",
     "item": [
      {
       "name": "{orderId}",
       "description": "",
       "item": [
        {
         "id": "3f1d860b-7614-4043-892c-0805c47082d7",
         "name": "Re-read the invoice status from the PSP and update Shopify",
         "request": {
          "name": "Re-read the invoice status from the PSP and update Shopify",
          "description": {},
          "url": {
           "path": [
            "admin",
            "sync",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "`order:<id>` = redirect to that order card after the action",
              "type": "text/plain"
             },
             "key": "back",
             "value": "<string>"
            }
           ],
           "variable": [
            {
             "type": "any",
             "value": "4",
             "key": "orderId",
             "disabled": false,
             "description": {
              "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
              "type": "text/plain"
             }
            }
           ]
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "redirect to the order card instead of the list",
              "type": "text/plain"
             },
             "key": "back",
             "value": "order"
            }
           ]
          },
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "554442b8-0f13-4667-9e6a-ef38a4964329",
           "name": "→ /admin/payments or the order card",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "sync",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "`order:<id>` = redirect to that order card after the action",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "redirect to the order card instead of the list",
                "type": "text/plain"
               },
               "key": "back",
               "value": "order"
              }
             ]
            }
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "280bb568-4dea-4a96-a9cd-8539f9ca22f3",
           "name": "unknown order",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "sync",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "`order:<id>` = redirect to that order card after the action",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "redirect to the order card instead of the list",
                "type": "text/plain"
               },
               "key": "back",
               "value": "order"
              }
             ]
            }
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "128057f1-a219-4d43-bf44-39b1c796fa9e",
           "name": "provider error text",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "sync",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "`order:<id>` = redirect to that order card after the action",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "redirect to the order card instead of the list",
                "type": "text/plain"
               },
               "key": "back",
               "value": "order"
              }
             ]
            }
           },
           "status": "Bad Gateway",
           "code": 502,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "remind",
     "description": "",
     "item": [
      {
       "name": "{orderId}",
       "description": "",
       "item": [
        {
         "id": "192720fe-598b-4c9c-9ea4-073d4ec7eca1",
         "name": "Send the unpaid-order reminder now (email + SMS)",
         "request": {
          "name": "Send the unpaid-order reminder now (email + SMS)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "remind",
            ":orderId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": [
            {
             "type": "any",
             "value": "4",
             "key": "orderId",
             "disabled": false,
             "description": {
              "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
              "type": "text/plain"
             }
            }
           ]
          },
          "method": "POST",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "4086810a-0929-4ef0-b9bc-33c34daf1372",
           "name": "→ order card",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "remind",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "0ccf4426-b7e6-4dbf-9e86-e9177eab6ad2",
           "name": "unknown order",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "remind",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "e4c81793-02ba-49e1-aa46-3c4a773302c2",
           "name": "delivery error text",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "remind",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Bad Gateway",
           "code": 502,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "refund-retry",
     "description": "",
     "item": [
      {
       "name": "{refundId}",
       "description": "",
       "item": [
        {
         "id": "c0108559-5887-465a-b8dd-6197c52e3ec3",
         "name": "Retry a failed PSP refund for a Shopify refund",
         "request": {
          "name": "Retry a failed PSP refund for a Shopify refund",
          "description": {},
          "url": {
           "path": [
            "admin",
            "refund-retry",
            ":refundId"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "`order:<id>` = redirect to that order card after the action",
              "type": "text/plain"
             },
             "key": "back",
             "value": "<string>"
            }
           ],
           "variable": [
            {
             "type": "any",
             "value": "<string>",
             "key": "refundId",
             "disabled": false,
             "description": {
              "content": "(Required) ",
              "type": "text/plain"
             }
            }
           ]
          },
          "header": [
           {
            "key": "Content-Type",
            "value": "application/x-www-form-urlencoded"
           }
          ],
          "method": "POST",
          "body": {
           "mode": "urlencoded",
           "urlencoded": [
            {
             "disabled": false,
             "description": {
              "content": "redirect to the order card instead of the list",
              "type": "text/plain"
             },
             "key": "back",
             "value": "order"
            }
           ]
          },
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "5784e660-0be0-4a51-8c41-c605da0e52fc",
           "name": "→ /admin/payments or the order card",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "refund-retry",
              ":refundId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "`order:<id>` = redirect to that order card after the action",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "redirect to the order card instead of the list",
                "type": "text/plain"
               },
               "key": "back",
               "value": "order"
              }
             ]
            }
           },
           "status": "Found",
           "code": 302,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "89b38c4e-138f-45c6-af7c-7162fcda07a0",
           "name": "unknown refund",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "refund-retry",
              ":refundId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "`order:<id>` = redirect to that order card after the action",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "redirect to the order card instead of the list",
                "type": "text/plain"
               },
               "key": "back",
               "value": "order"
              }
             ]
            }
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "39aeac31-5b9f-4954-8fe5-478bdad93514",
           "name": "provider error text",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "refund-retry",
              ":refundId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "`order:<id>` = redirect to that order card after the action",
                "type": "text/plain"
               },
               "key": "back",
               "value": "<string>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "redirect to the order card instead of the list",
                "type": "text/plain"
               },
               "key": "back",
               "value": "order"
              }
             ]
            }
           },
           "status": "Bad Gateway",
           "code": 502,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "fiscal",
     "description": "",
     "item": [
      {
       "name": "{orderId}.pdf",
       "description": "",
       "item": [
        {
         "id": "48ca5d4a-78a4-44f1-828b-e72e4dbb4514",
         "name": "Fiscal receipt PDF (mono PRRO)",
         "request": {
          "name": "Fiscal receipt PDF (mono PRRO)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "fiscal",
            "{{orderId}}.pdf"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "type",
             "value": "sale"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/pdf"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "70b22a20-b122-4d4f-bc56-116aed5236b7",
           "name": "PDF",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "fiscal",
              "{{orderId}}.pdf"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "type",
               "value": "sale"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/pdf"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/pdf"
            }
           ],
           "body": "<binary>",
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "962ea12f-0866-460f-acb8-18caed7784cc",
           "name": "no receipt yet / provider has no PDF",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "fiscal",
              "{{orderId}}.pdf"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "type",
               "value": "sale"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "ab4ed492-b4be-431a-8595-cdfc8ff4affd",
           "name": "provider error",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "fiscal",
              "{{orderId}}.pdf"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "type",
               "value": "sale"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Bad Gateway",
           "code": 502,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "{orderId}",
       "description": "",
       "item": [
        {
         "name": "poll",
         "description": "",
         "item": [
          {
           "id": "df614185-c0af-4229-92af-d830c2db82f5",
           "name": "Check the fiscal receipt status now",
           "request": {
            "name": "Check the fiscal receipt status now",
            "description": {},
            "url": {
             "path": [
              "admin",
              "fiscal",
              ":orderId",
              "poll"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": [
              {
               "type": "any",
               "value": "8",
               "key": "orderId",
               "disabled": false,
               "description": {
                "content": "(Required) numeric Shopify order id",
                "type": "text/plain"
               }
              }
             ]
            },
            "header": [
             {
              "key": "Content-Type",
              "value": "application/x-www-form-urlencoded"
             },
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {
             "mode": "urlencoded",
             "urlencoded": [
              {
               "disabled": false,
               "description": {
                "content": "redirect to the order card instead of the list",
                "type": "text/plain"
               },
               "key": "back",
               "value": "order"
              }
             ]
            },
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "08e6a5f0-22d0-4f07-bad2-0edca164c036",
             "name": "receipt row or null",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "fiscal",
                ":orderId",
                "poll"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               },
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "redirect to the order card instead of the list",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "order"
                }
               ]
              }
             },
             "status": "OK",
             "code": 200,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"order_id\": \"<string>\",\n  \"source\": \"vchasno\",\n  \"receipt_id\": \"<string,null>\",\n  \"status\": \"pending\",\n  \"tax_url\": \"<string,null>\",\n  \"error\": \"<string,null>\",\n  \"created_at\": \"<string>\",\n  \"updated_at\": \"<string,null>\",\n  \"demo\": \"<integer>\"\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            },
            {
             "id": "79ca29e0-b462-4468-a88e-fec4b6df2a56",
             "name": "→ order card (back=order)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "fiscal",
                ":orderId",
                "poll"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "redirect to the order card instead of the list",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "order"
                }
               ]
              }
             },
             "status": "Found",
             "code": 302,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "5f924b0c-9141-4f48-b03d-acf8c4d3463f",
             "name": "unknown order",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "fiscal",
                ":orderId",
                "poll"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "redirect to the order card instead of the list",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "order"
                }
               ]
              }
             },
             "status": "Not Found",
             "code": 404,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            },
            {
             "id": "ae708468-78f9-41b7-9886-8a6f81b861af",
             "name": "error",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "fiscal",
                ":orderId",
                "poll"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
               },
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "POST",
              "body": {
               "mode": "urlencoded",
               "urlencoded": [
                {
                 "disabled": false,
                 "description": {
                  "content": "redirect to the order card instead of the list",
                  "type": "text/plain"
                 },
                 "key": "back",
                 "value": "order"
                }
               ]
              }
             },
             "status": "Bad Gateway",
             "code": 502,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"error\": \"<string>\"\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        }
       ]
      }
     ]
    },
    {
     "name": "reminders",
     "description": "",
     "item": [
      {
       "name": "run",
       "description": "",
       "item": [
        {
         "id": "01bc96e4-ddaa-41b2-93e3-8a3f16871371",
         "name": "Run the reminder scheduler once",
         "request": {
          "name": "Run the reminder scheduler once",
          "description": {},
          "url": {
           "path": [
            "admin",
            "reminders",
            "run"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "POST",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "1c623460-352c-4f10-9d77-eaa55e452895",
           "name": "how many reminders were sent",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "reminders",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "POST",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"sent\": \"<integer>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "3f35d063-99f2-4ae9-b51a-bcdaf2f045f1",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "reminders",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "0d984bdf-e021-49f3-9466-9252665b0c03",
           "name": "error text",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "reminders",
              "run"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "POST",
            "body": {}
           },
           "status": "Bad Gateway",
           "code": 502,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    },
    {
     "name": "api",
     "description": "",
     "item": [
      {
       "name": "me",
       "description": "",
       "item": [
        {
         "id": "8a0b592e-73e4-408e-9fd7-4245dde7a89a",
         "name": "Who am I (login, role, auth mode)",
         "request": {
          "name": "Who am I (login, role, auth mode)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "me"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "25f43b36-d309-43ba-a281-24fac9c297b1",
           "name": "identity",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "me"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"login\": \"<string>\",\n  \"name\": \"<string>\",\n  \"role\": \"owner\",\n  \"mode\": \"key\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "ae1af5c1-0c9b-454e-9b58-5b0da0e469b6",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "me"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "health",
       "description": "",
       "item": [
        {
         "id": "3cdc1d54-3ace-4adc-9506-0a8fb649af58",
         "name": "Health for monitoring — DB, providers, queues, last 24 h counters; `?full=1` returns the full snapshot (status ok|warn|crit, issues[], process, db, disk, backup, webhooks, deliveries, fiscal, refunds, payments, psp[], schedulers, errors[]), `?deep=1` adds",
         "request": {
          "name": "Health for monitoring — DB, providers, queues, last 24 h counters; `?full=1` returns the full snapshot (status ok|warn|crit, issues[], process, db, disk, backup, webhooks, deliveries, fiscal, refunds, payments, psp[], schedulers, errors[]), `?deep=1` adds",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "health"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "full",
             "value": "1"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "deep",
             "value": "1"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "467ffcac-0b69-4405-8a38-d4bd4e7467fd",
           "name": "ok",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "health"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "full",
               "value": "1"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "deep",
               "value": "1"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"status\": \"degraded\",\n  \"version\": \"<string>\",\n  \"db\": \"<string>\",\n  \"providers\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"uptimeSec\": \"<integer>\",\n  \"fiscal\": \"none\",\n  \"events\": \"<boolean>\",\n  \"keycrm\": \"<boolean>\",\n  \"demo\": \"<boolean>\",\n  \"last24h\": {\n    \"paid\": \"<integer,null>\",\n    \"created\": \"<integer,null>\",\n    \"failedDeliveries\": \"<integer,null>\",\n    \"failedRefunds\": \"<integer,null>\",\n    \"pendingFiscal\": \"<integer,null>\"\n  },\n  \"lastWebhookAt\": \"<string,null>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "5ed57c00-d121-4c3e-8a83-621e4dfaa05e",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "health"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "full",
               "value": "1"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "deep",
               "value": "1"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "559f8a92-e275-4d7f-b2b5-887383e89a43",
           "name": "degraded (DB error) — same schema with `status: degraded`",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "health"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "full",
               "value": "1"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "deep",
               "value": "1"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "Service Unavailable",
           "code": 503,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"status\": \"degraded\",\n  \"version\": \"<string>\",\n  \"db\": \"<string>\",\n  \"providers\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"uptimeSec\": \"<integer>\",\n  \"fiscal\": \"none\",\n  \"events\": \"<boolean>\",\n  \"keycrm\": \"<boolean>\",\n  \"demo\": \"<boolean>\",\n  \"last24h\": {\n    \"paid\": \"<integer,null>\",\n    \"created\": \"<integer,null>\",\n    \"failedDeliveries\": \"<integer,null>\",\n    \"failedRefunds\": \"<integer,null>\",\n    \"pendingFiscal\": \"<integer,null>\"\n  },\n  \"lastWebhookAt\": \"<string,null>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "stats",
       "description": "",
       "item": [
        {
         "id": "0fc150f7-38a9-44b9-8cf5-d21a38f25d45",
         "name": "Dashboard statistics (funnel, geography, providers, devices, drop-offs, anomalies)",
         "request": {
          "name": "Dashboard statistics (funnel, geography, providers, devices, drop-offs, anomalies)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "stats"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "1–365 (default 30)",
              "type": "text/plain"
             },
             "key": "days",
             "value": "30"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "1d3f9480-eb3c-4c57-95e4-fcf3fbafe1c4",
           "name": "stats",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "stats"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "1–365 (default 30)",
                "type": "text/plain"
               },
               "key": "days",
               "value": "30"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"days\": \"<integer>\",\n  \"since\": \"<string>\",\n  \"totals\": {\n    \"orders\": \"<integer>\",\n    \"paid\": \"<integer>\",\n    \"conv\": \"<number>\",\n    \"revenue\": \"<integer>\",\n    \"aov\": \"<integer>\",\n    \"lost\": \"<integer>\",\n    \"currency\": \"<string>\",\n    \"repeat\": \"<integer>\"\n  },\n  \"funnel\": [\n    {\n      \"stage\": \"<string>\",\n      \"n\": \"<integer>\"\n    },\n    {\n      \"stage\": \"<string>\",\n      \"n\": \"<integer>\"\n    }\n  ],\n  \"byCountry\": [\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"key_0\": 3386.2926378238044\n    }\n  ],\n  \"byRegion\": [\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\"\n    }\n  ],\n  \"byCity\": [\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"key_0\": \"string\",\n      \"key_1\": true\n    }\n  ],\n  \"byProvider\": [\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"failed\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"revenue\": \"<integer>\",\n      \"medianMin\": \"<number,null>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"failed\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"revenue\": \"<integer>\",\n      \"medianMin\": \"<number,null>\"\n    }\n  ],\n  \"byDevice\": [\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"key_0\": false,\n      \"key_1\": 5061,\n      \"key_2\": 305\n    },\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\"\n    }\n  ],\n  \"byReason\": [\n    {\n      \"key\": \"<string>\",\n      \"label\": \"<string>\",\n      \"n\": \"<integer>\",\n      \"lost\": \"<integer>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"label\": \"<string>\",\n      \"n\": \"<integer>\",\n      \"lost\": \"<integer>\"\n    }\n  ],\n  \"byHour\": [\n    {\n      \"hour\": \"<integer>\",\n      \"paid\": \"<integer>\"\n    },\n    {\n      \"hour\": \"<integer>\",\n      \"paid\": \"<integer>\"\n    }\n  ],\n  \"byDay\": [\n    {\n      \"date\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\"\n    },\n    {\n      \"date\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\"\n    }\n  ],\n  \"heat\": [\n    [\n      \"<integer>\",\n      \"<integer>\"\n    ],\n    [\n      \"<integer>\",\n      \"<integer>\"\n    ]\n  ],\n  \"attention\": [\n    {\n      \"level\": \"ok\",\n      \"text\": \"<string>\"\n    },\n    {\n      \"level\": \"ok\",\n      \"text\": \"<string>\"\n    }\n  ],\n  \"stuck\": [\n    {\n      \"key_0\": true,\n      \"key_1\": \"string\",\n      \"key_2\": \"string\",\n      \"key_3\": 4029\n    },\n    {\n      \"key_0\": 8726\n    }\n  ],\n  \"dropoffs\": \"<integer>\",\n  \"providerDaily\": {\n    \"key_0\": [\n      \"<integer>\",\n      \"<integer>\"\n    ],\n    \"key_1\": [\n      \"<integer>\",\n      \"<integer>\"\n    ]\n  }\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "5f7cd31e-3bfe-42b5-a81c-f45ad0371fff",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "stats"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "1–365 (default 30)",
                "type": "text/plain"
               },
               "key": "days",
               "value": "30"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "analytics",
       "description": "",
       "item": [
        {
         "id": "92fc875b-e28e-4e40-b5a1-381503e65c0d",
         "name": "Deep analytics (sources, campaigns, buyers, products, time to pay, reminders, fees, cohorts)",
         "request": {
          "name": "Deep analytics (sources, campaigns, buyers, products, time to pay, reminders, fees, cohorts)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "analytics"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "period",
              "type": "text/plain"
             },
             "key": "days",
             "value": "30"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "8c41fed1-a375-4d64-b861-960b8115e47d",
           "name": "analytics",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "analytics"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "period",
                "type": "text/plain"
               },
               "key": "days",
               "value": "30"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"days\": \"<integer>\",\n  \"since\": \"<string>\",\n  \"currency\": \"<string>\",\n  \"totals\": {\n    \"orders\": {\n      \"value\": \"<number>\",\n      \"prev\": \"<number>\",\n      \"delta\": \"<number,null>\"\n    },\n    \"paid\": {\n      \"value\": \"<number>\",\n      \"prev\": \"<number>\",\n      \"delta\": \"<number,null>\"\n    },\n    \"revenue\": {\n      \"value\": \"<number>\",\n      \"prev\": \"<number>\",\n      \"delta\": \"<number,null>\"\n    },\n    \"aov\": {\n      \"value\": \"<number>\",\n      \"prev\": \"<number>\",\n      \"delta\": \"<number,null>\"\n    },\n    \"conv\": {\n      \"value\": \"<number>\",\n      \"prev\": \"<number>\",\n      \"delta\": \"<number,null>\"\n    },\n    \"buyers\": {\n      \"value\": \"<number>\",\n      \"prev\": \"<number>\",\n      \"delta\": \"<number,null>\"\n    }\n  },\n  \"bySource\": [\n    {\n      \"key\": \"<string>\",\n      \"label\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"revenue\": \"<integer>\",\n      \"aov\": \"<integer>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"label\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"revenue\": \"<integer>\",\n      \"aov\": \"<integer>\"\n    }\n  ],\n  \"byCampaign\": [\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"key_0\": 4805.523138418473,\n      \"key_1\": 5983,\n      \"key_2\": 4029\n    },\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"key_0\": 2426.4679786673414\n    }\n  ],\n  \"buyers\": {\n    \"newCount\": \"<integer>\",\n    \"repeatCount\": \"<integer>\",\n    \"newRevenue\": \"<integer>\",\n    \"repeatRevenue\": \"<integer>\",\n    \"newAov\": \"<integer>\",\n    \"repeatAov\": \"<integer>\",\n    \"repeatShare\": \"<number>\"\n  },\n  \"topBuyers\": [\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"last\": \"<string>\",\n      \"country\": \"<string,null>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"last\": \"<string>\",\n      \"country\": \"<string,null>\"\n    }\n  ],\n  \"products\": [\n    {\n      \"key\": \"<string>\",\n      \"name\": \"<string>\",\n      \"qty\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"orders\": \"<integer>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"name\": \"<string>\",\n      \"qty\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"orders\": \"<integer>\"\n    }\n  ],\n  \"basket\": \"<number>\",\n  \"timeToPay\": {\n    \"medianMin\": \"<number,null>\",\n    \"p90Min\": \"<number,null>\",\n    \"hist\": [\n      {\n        \"label\": \"<string>\",\n        \"n\": \"<integer>\"\n      },\n      {\n        \"label\": \"<string>\",\n        \"n\": \"<integer>\"\n      }\n    ]\n  },\n  \"reminders\": {\n    \"sent\": \"<integer>\",\n    \"recovered\": \"<integer>\",\n    \"rate\": \"<number>\",\n    \"revenue\": \"<integer>\"\n  },\n  \"byWeekday\": [\n    {\n      \"label\": \"<string>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\"\n    },\n    {\n      \"label\": \"<string>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\"\n    }\n  ],\n  \"matrix\": {\n    \"providers\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"rows\": [\n      {\n        \"country\": \"<string>\",\n        \"cells\": [\n          {\n            \"provider\": \"<string>\",\n            \"orders\": \"<integer>\",\n            \"paid\": \"<integer>\",\n            \"conv\": \"<number>\"\n          },\n          {\n            \"provider\": \"<string>\",\n            \"orders\": \"<integer>\",\n            \"paid\": \"<integer>\",\n            \"conv\": \"<number>\"\n          }\n        ]\n      },\n      {\n        \"country\": \"<string>\",\n        \"cells\": [\n          {\n            \"provider\": \"<string>\",\n            \"orders\": \"<integer>\",\n            \"paid\": \"<integer>\",\n            \"conv\": \"<number>\"\n          },\n          {\n            \"provider\": \"<string>\",\n            \"orders\": \"<integer>\",\n            \"paid\": \"<integer>\",\n            \"conv\": \"<number>\"\n          }\n        ]\n      }\n    ]\n  },\n  \"cohorts\": [\n    {\n      \"week\": \"<integer>\",\n      \"buyers\": \"<integer>\",\n      \"again\": \"<integer>\",\n      \"label\": \"<string>\",\n      \"rate\": \"<number>\"\n    },\n    {\n      \"week\": \"<integer>\",\n      \"buyers\": \"<integer>\",\n      \"again\": \"<integer>\",\n      \"label\": \"<string>\",\n      \"rate\": \"<number>\"\n    }\n  ],\n  \"fees\": [\n    {\n      \"provider\": \"<string>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"fee\": \"<integer>\",\n      \"feeReported\": \"<integer>\",\n      \"feeEstimated\": \"<integer>\",\n      \"reportedShare\": \"<number>\",\n      \"rate\": \"<number>\",\n      \"assumedRate\": \"<number,null>\",\n      \"net\": \"<integer>\"\n    },\n    {\n      \"provider\": \"<string>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"fee\": \"<integer>\",\n      \"feeReported\": \"<integer>\",\n      \"feeEstimated\": \"<integer>\",\n      \"reportedShare\": \"<number>\",\n      \"rate\": \"<number>\",\n      \"assumedRate\": \"<number,null>\",\n      \"net\": \"<integer>\"\n    }\n  ],\n  \"feesSummary\": {\n    \"total\": \"<integer>\",\n    \"rate\": \"<number>\",\n    \"net\": \"<integer>\",\n    \"reportedShare\": \"<number>\"\n  },\n  \"byDiscount\": [\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"discount\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"aov\": \"<integer>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"orders\": \"<integer>\",\n      \"paid\": \"<integer>\",\n      \"revenue\": \"<integer>\",\n      \"discount\": \"<integer>\",\n      \"conv\": \"<number>\",\n      \"aov\": \"<integer>\"\n    }\n  ],\n  \"discounts\": {\n    \"total\": \"<integer>\",\n    \"share\": \"<number>\"\n  },\n  \"insights\": [\n    {\n      \"level\": \"warn\",\n      \"text\": \"<string>\"\n    },\n    {\n      \"level\": \"ok\",\n      \"text\": \"<string>\"\n    }\n  ]\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "7df2bd5c-1e3c-4b79-b899-1d6e9386d017",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "analytics"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "period",
                "type": "text/plain"
               },
               "key": "days",
               "value": "30"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "payments",
       "description": "",
       "item": [
        {
         "id": "8804ff4b-32c0-45aa-b299-3a31671286cd",
         "name": "Payment records — latest 500, or a filtered search",
         "request": {
          "name": "Payment records — latest 500, or a filtered search",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "payments"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "PSP status",
              "type": "text/plain"
             },
             "key": "status",
             "value": "hold"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = marked paid in Shopify, `0` = not",
              "type": "text/plain"
             },
             "key": "paid",
             "value": "0"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "ISO-3166 alpha-2",
              "type": "text/plain"
             },
             "key": "country",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "kind",
             "value": "draft"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "be9b8f8f-c82b-4638-b476-4285614305bf",
           "name": "records (newest first)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "payments"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "free text (order name, phone, email, invoice id …)",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "PSP status",
                "type": "text/plain"
               },
               "key": "status",
               "value": "hold"
              },
              {
               "disabled": false,
               "description": {
                "content": "`1` = marked paid in Shopify, `0` = not",
                "type": "text/plain"
               },
               "key": "paid",
               "value": "0"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "provider",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "ISO-3166 alpha-2",
                "type": "text/plain"
               },
               "key": "country",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "from",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "to",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "kind",
               "value": "draft"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "[\n  {\n    \"orderId\": \"<string>\",\n    \"orderGid\": \"<string>\",\n    \"orderName\": \"<string>\",\n    \"statusPageUrl\": \"<string>\",\n    \"provider\": \"<string>\",\n    \"invoiceId\": \"<string>\",\n    \"pageUrl\": \"<string>\",\n    \"amount\": \"<integer>\",\n    \"ccy\": \"<integer,null>\",\n    \"currency\": \"<string>\",\n    \"status\": \"failure\",\n    \"paidMarked\": \"<boolean>\",\n    \"paidAt\": \"<string,null>\",\n    \"buyerEmail\": \"<string,null>\",\n    \"buyerPhone\": \"<string,null>\",\n    \"confirmation\": \"<string,null>\",\n    \"prepay\": \"<boolean>\",\n    \"orderTotal\": \"<integer,null>\",\n    \"remindedAt\": \"<string,null>\",\n    \"reminderCount\": \"<integer>\",\n    \"fiscalUrl\": \"<string,null>\",\n    \"kind\": \"order\",\n    \"country\": \"<string,null>\",\n    \"region\": \"<string,null>\",\n    \"city\": \"<string,null>\",\n    \"device\": \"<string,null>\",\n    \"returnedAt\": \"<string,null>\",\n    \"failureReason\": \"<string,null>\",\n    \"qrId\": \"<string,null>\",\n    \"demo\": \"<boolean>\",\n    \"source\": \"<string,null>\",\n    \"campaign\": \"<string,null>\",\n    \"items\": [\n      {\n        \"name\": \"<string>\",\n        \"code\": \"<string>\",\n        \"qty\": \"<integer>\",\n        \"unitAmount\": \"<integer>\"\n      },\n      {\n        \"name\": \"<string>\",\n        \"code\": \"<string>\",\n        \"qty\": \"<integer>\",\n        \"unitAmount\": \"<integer>\"\n      }\n    ],\n    \"buyerKey\": \"<string,null>\",\n    \"isRepeat\": \"<boolean>\",\n    \"fee\": \"<integer,null>\",\n    \"client\": {\n      \"os\": \"<string,null>\",\n      \"osVer\": \"<string,null>\",\n      \"browser\": \"<string,null>\",\n      \"browserVer\": \"<string,null>\",\n      \"ip\": \"<string,null>\",\n      \"ipCountry\": \"<string,null>\",\n      \"langs\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"referer\": \"<string,null>\",\n      \"ua\": \"<string,null>\"\n    },\n    \"discounts\": null,\n    \"recordAmount\": \"<integer,null>\",\n    \"recordCurrency\": \"<string,null>\",\n    \"paidEmailAt\": \"<string,null>\",\n    \"receiptEmailAt\": \"<string,null>\",\n    \"createdAt\": \"<string>\",\n    \"updatedAt\": \"<string>\"\n  },\n  {\n    \"orderId\": \"<string>\",\n    \"orderGid\": \"<string>\",\n    \"orderName\": \"<string>\",\n    \"statusPageUrl\": \"<string>\",\n    \"provider\": \"<string>\",\n    \"invoiceId\": \"<string>\",\n    \"pageUrl\": \"<string>\",\n    \"amount\": \"<integer>\",\n    \"ccy\": \"<integer,null>\",\n    \"currency\": \"<string>\",\n    \"status\": \"success\",\n    \"paidMarked\": \"<boolean>\",\n    \"paidAt\": \"<string,null>\",\n    \"buyerEmail\": \"<string,null>\",\n    \"buyerPhone\": \"<string,null>\",\n    \"confirmation\": \"<string,null>\",\n    \"prepay\": \"<boolean>\",\n    \"orderTotal\": \"<integer,null>\",\n    \"remindedAt\": \"<string,null>\",\n    \"reminderCount\": \"<integer>\",\n    \"fiscalUrl\": \"<string,null>\",\n    \"kind\": \"draft\",\n    \"country\": \"<string,null>\",\n    \"region\": \"<string,null>\",\n    \"city\": \"<string,null>\",\n    \"device\": \"<string,null>\",\n    \"returnedAt\": \"<string,null>\",\n    \"failureReason\": \"<string,null>\",\n    \"qrId\": \"<string,null>\",\n    \"demo\": \"<boolean>\",\n    \"source\": \"<string,null>\",\n    \"campaign\": \"<string,null>\",\n    \"items\": [\n      {\n        \"name\": \"<string>\",\n        \"code\": \"<string>\",\n        \"qty\": \"<integer>\",\n        \"unitAmount\": \"<integer>\"\n      },\n      {\n        \"name\": \"<string>\",\n        \"code\": \"<string>\",\n        \"qty\": \"<integer>\",\n        \"unitAmount\": \"<integer>\"\n      }\n    ],\n    \"buyerKey\": \"<string,null>\",\n    \"isRepeat\": \"<boolean>\",\n    \"fee\": \"<integer,null>\",\n    \"client\": {\n      \"os\": \"<string,null>\",\n      \"osVer\": \"<string,null>\",\n      \"browser\": \"<string,null>\",\n      \"browserVer\": \"<string,null>\",\n      \"ip\": \"<string,null>\",\n      \"ipCountry\": \"<string,null>\",\n      \"langs\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"referer\": \"<string,null>\",\n      \"ua\": \"<string,null>\"\n    },\n    \"discounts\": {\n      \"key_0\": true\n    },\n    \"recordAmount\": \"<integer,null>\",\n    \"recordCurrency\": \"<string,null>\",\n    \"paidEmailAt\": \"<string,null>\",\n    \"receiptEmailAt\": \"<string,null>\",\n    \"createdAt\": \"<string>\",\n    \"updatedAt\": \"<string>\"\n  }\n]",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "a12ed825-482c-484f-a5af-89740e3ce26d",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "payments"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "free text (order name, phone, email, invoice id …)",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "PSP status",
                "type": "text/plain"
               },
               "key": "status",
               "value": "hold"
              },
              {
               "disabled": false,
               "description": {
                "content": "`1` = marked paid in Shopify, `0` = not",
                "type": "text/plain"
               },
               "key": "paid",
               "value": "0"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "provider",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "ISO-3166 alpha-2",
                "type": "text/plain"
               },
               "key": "country",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "from",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "to",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "kind",
               "value": "draft"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "events",
       "description": "",
       "item": [
        {
         "id": "013099dd-c3ac-463c-bfff-52f0e3ca923f",
         "name": "Outgoing event deliveries (CRM webhook), latest 500",
         "request": {
          "name": "Outgoing event deliveries (CRM webhook), latest 500",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "events"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "3b1c9dff-7b09-43b5-9e54-553c4140e834",
           "name": "deliveries",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "events"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "[\n  {\n    \"id\": \"<uuid>\",\n    \"event\": \"<string>\",\n    \"orderId\": \"<string>\",\n    \"orderName\": \"<string>\",\n    \"attempts\": \"<integer>\",\n    \"status\": \"<integer,null>\",\n    \"error\": \"<string,null>\",\n    \"state\": \"ok\",\n    \"nextAt\": \"<string,null>\",\n    \"lastAt\": \"<string,null>\",\n    \"createdAt\": \"<string>\"\n  },\n  {\n    \"id\": \"<uuid>\",\n    \"event\": \"<string>\",\n    \"orderId\": \"<string>\",\n    \"orderName\": \"<string>\",\n    \"attempts\": \"<integer>\",\n    \"status\": \"<integer,null>\",\n    \"error\": \"<string,null>\",\n    \"state\": \"failed\",\n    \"nextAt\": \"<string,null>\",\n    \"lastAt\": \"<string,null>\",\n    \"createdAt\": \"<string>\"\n  }\n]",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "ffd3f567-1ab5-4726-b751-497523611271",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "events"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        },
        {
         "name": "{orderId}",
         "description": "",
         "item": [
          {
           "id": "0aba632d-f697-4404-a992-612b5f69f99b",
           "name": "Funnel events of one order (order_created → pay_click → redirected → returned → paid …)",
           "request": {
            "name": "Funnel events of one order (order_created → pay_click → redirected → returned → paid …)",
            "description": {},
            "url": {
             "path": [
              "admin",
              "api",
              "events",
              ":orderId"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": [
              {
               "type": "any",
               "value": "4",
               "key": "orderId",
               "disabled": false,
               "description": {
                "content": "(Required) numeric Shopify order id, or `draft-<id>` for pay links",
                "type": "text/plain"
               }
              }
             ]
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {},
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "04c6239d-b592-4bac-8651-c07389f2bef8",
             "name": "events (empty array for unknown orders)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "api",
                "events",
                ":orderId"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "GET",
              "body": {}
             },
             "status": "OK",
             "code": 200,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "[\n  {\n    \"id\": \"<integer>\",\n    \"ts\": \"<string>\",\n    \"order_id\": \"<string>\",\n    \"order_name\": \"<string>\",\n    \"stage\": \"<string>\",\n    \"provider\": \"<string,null>\",\n    \"amount\": \"<integer,null>\",\n    \"currency\": \"<string,null>\",\n    \"country\": \"<string,null>\",\n    \"region\": \"<string,null>\",\n    \"city\": \"<string,null>\",\n    \"ip_country\": \"<string,null>\",\n    \"device\": \"<string,null>\",\n    \"lang\": \"<string,null>\",\n    \"reason\": \"<string,null>\",\n    \"meta\": \"<string,null>\",\n    \"source\": \"<string,null>\",\n    \"campaign\": \"<string,null>\",\n    \"buyer_key\": \"<string,null>\",\n    \"demo\": \"<integer>\"\n  },\n  {\n    \"id\": \"<integer>\",\n    \"ts\": \"<string>\",\n    \"order_id\": \"<string>\",\n    \"order_name\": \"<string>\",\n    \"stage\": \"<string>\",\n    \"provider\": \"<string,null>\",\n    \"amount\": \"<integer,null>\",\n    \"currency\": \"<string,null>\",\n    \"country\": \"<string,null>\",\n    \"region\": \"<string,null>\",\n    \"city\": \"<string,null>\",\n    \"ip_country\": \"<string,null>\",\n    \"device\": \"<string,null>\",\n    \"lang\": \"<string,null>\",\n    \"reason\": \"<string,null>\",\n    \"meta\": \"<string,null>\",\n    \"source\": \"<string,null>\",\n    \"campaign\": \"<string,null>\",\n    \"buyer_key\": \"<string,null>\",\n    \"demo\": \"<integer>\"\n  }\n]",
             "cookie": [],
             "_postman_previewlanguage": "json"
            },
            {
             "id": "500f9b8b-8bce-4aca-86c7-1f2c6cfbbae6",
             "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "api",
                "events",
                ":orderId"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "method": "GET",
              "body": {}
             },
             "status": "Not Found",
             "code": 404,
             "header": [],
             "cookie": [],
             "_postman_previewlanguage": "text"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        }
       ]
      },
      {
       "name": "qr",
       "description": "",
       "item": [
        {
         "id": "da165afd-3097-40f2-8205-04912baa9334",
         "name": "mono QR cash registers with their current amount / order",
         "request": {
          "name": "mono QR cash registers with their current amount / order",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "qr"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "dbe98de6-3359-41ff-ae9b-bd92a6a47383",
           "name": "registers (empty when mono is not configured)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "qr"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "[\n  {\n    \"qrId\": \"<string>\",\n    \"shortQrId\": \"<string>\",\n    \"amountType\": \"merchant\",\n    \"pageUrl\": \"<string>\",\n    \"amount\": \"<integer,null>\",\n    \"ccy\": \"<integer,null>\",\n    \"invoiceId\": \"<string,null>\",\n    \"orderName\": \"<string,null>\",\n    \"orderId\": \"<string,null>\",\n    \"status\": \"<string,null>\"\n  },\n  {\n    \"qrId\": \"<string>\",\n    \"shortQrId\": \"<string>\",\n    \"amountType\": \"client\",\n    \"pageUrl\": \"<string>\",\n    \"amount\": \"<integer,null>\",\n    \"ccy\": \"<integer,null>\",\n    \"invoiceId\": \"<string,null>\",\n    \"orderName\": \"<string,null>\",\n    \"orderId\": \"<string,null>\",\n    \"status\": \"<string,null>\",\n    \"key_0\": 3674\n  }\n]",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "b5e8e628-094c-4ccc-85ca-702bfe65179b",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "qr"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "4b6b422a-3df6-4e3c-a877-53d2bc2a15e7",
           "name": "mono API error",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "qr"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "Bad Gateway",
           "code": 502,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"error\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "audit",
       "description": "",
       "item": [
        {
         "id": "aa468c27-d114-4673-89df-b7b7f5605b43",
         "name": "Audit log rows (owner + manager)",
         "request": {
          "name": "Audit log rows (owner + manager)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "audit"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "login",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
              "type": "text/plain"
             },
             "key": "action",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "max rows (default 200)",
              "type": "text/plain"
             },
             "key": "limit",
             "value": "<integer>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "8c9107b6-7c05-4e05-909b-80be36fd6dc0",
           "name": "rows",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "audit"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "free text (order name, phone, email, invoice id …)",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "login",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
                "type": "text/plain"
               },
               "key": "action",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "from",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "to",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "max rows (default 200)",
                "type": "text/plain"
               },
               "key": "limit",
               "value": "<integer>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"total\": \"<integer>\",\n  \"rows\": [\n    {\n      \"id\": \"<integer>\",\n      \"ts\": \"<string>\",\n      \"user_id\": \"<integer,null>\",\n      \"login\": \"<string,null>\",\n      \"role\": \"<string,null>\",\n      \"action\": \"<string>\",\n      \"target\": \"<string,null>\",\n      \"details\": \"<string,null>\",\n      \"ip\": \"<string,null>\",\n      \"status\": \"<integer,null>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"ts\": \"<string>\",\n      \"user_id\": \"<integer,null>\",\n      \"login\": \"<string,null>\",\n      \"role\": \"<string,null>\",\n      \"action\": \"<string>\",\n      \"target\": \"<string,null>\",\n      \"details\": \"<string,null>\",\n      \"ip\": \"<string,null>\",\n      \"status\": \"<integer,null>\"\n    }\n  ]\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "11d16a81-8657-4b77-9f3b-6a96bc9f9f1f",
           "name": "role does not allow this",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "audit"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "free text (order name, phone, email, invoice id …)",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "login",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
                "type": "text/plain"
               },
               "key": "action",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "from",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "to",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "max rows (default 200)",
                "type": "text/plain"
               },
               "key": "limit",
               "value": "<integer>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"error\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "923d3db6-eb4f-43ba-a1b9-ddc091a7e055",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "audit"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "free text (order name, phone, email, invoice id …)",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "login",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
                "type": "text/plain"
               },
               "key": "action",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "from",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM-DD",
                "type": "text/plain"
               },
               "key": "to",
               "value": "<date>"
              },
              {
               "disabled": false,
               "description": {
                "content": "max rows (default 200)",
                "type": "text/plain"
               },
               "key": "limit",
               "value": "<integer>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "setup",
       "description": "",
       "item": [
        {
         "id": "ec974dac-1343-4f45-811e-d4364badf5b4",
         "name": "Setup wizard results (owner); `run=1` executes the checks first",
         "request": {
          "name": "Setup wizard results (owner); `run=1` executes the checks first",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "setup"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "run",
             "value": "1"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "42dab2c8-a226-427e-8ae0-299fada8ccd5",
           "name": "report (`{results [], summary null}` before the first run)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "setup"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "run",
               "value": "1"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"at\": \"<string>\",\n  \"results\": [\n    {\n      \"id\": \"<string>\",\n      \"group\": \"<string>\",\n      \"title\": \"<string>\",\n      \"hint\": \"<string>\",\n      \"ms\": \"<integer>\",\n      \"state\": \"ok\",\n      \"detail\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"group\": \"<string>\",\n      \"title\": \"<string>\",\n      \"hint\": \"<string>\",\n      \"ms\": \"<integer>\",\n      \"state\": \"skip\",\n      \"detail\": \"<string>\"\n    }\n  ],\n  \"summary\": null\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "0898ff9f-aec3-486d-882a-ed4faf73614f",
           "name": "role does not allow this",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "setup"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "run",
               "value": "1"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"error\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "004614c8-6f9c-4ce4-b5ec-84ee94f387c9",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "setup"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "",
                "type": "text/plain"
               },
               "key": "run",
               "value": "1"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "webhooks",
       "description": "",
       "item": [
        {
         "id": "39a2ab06-a806-4858-987a-19613fb4bb2b",
         "name": "Incoming webhook inspector rows",
         "request": {
          "name": "Incoming webhook inspector rows",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "webhooks"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "provider key or `shopify`",
              "type": "text/plain"
             },
             "key": "source",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = verified, `0` = rejected",
              "type": "text/plain"
             },
             "key": "ok",
             "value": "0"
            },
            {
             "disabled": false,
             "description": {
              "content": "max rows (default 200)",
              "type": "text/plain"
             },
             "key": "limit",
             "value": "<integer>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "ac152471-d52b-46fd-a531-0bc69feb2293",
           "name": "rows",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "webhooks"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "free text (order name, phone, email, invoice id …)",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "provider key or `shopify`",
                "type": "text/plain"
               },
               "key": "source",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "`1` = verified, `0` = rejected",
                "type": "text/plain"
               },
               "key": "ok",
               "value": "0"
              },
              {
               "disabled": false,
               "description": {
                "content": "max rows (default 200)",
                "type": "text/plain"
               },
               "key": "limit",
               "value": "<integer>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"total\": \"<integer>\",\n  \"rows\": [\n    {\n      \"id\": \"<integer>\",\n      \"ts\": \"<string>\",\n      \"source\": \"<string>\",\n      \"topic\": \"<string,null>\",\n      \"ok\": \"<boolean>\",\n      \"status\": \"<integer,null>\",\n      \"external_id\": \"<string,null>\",\n      \"order_id\": \"<string,null>\",\n      \"ip\": \"<string,null>\",\n      \"bytes\": \"<integer,null>\",\n      \"headers\": {\n        \"key_0\": \"string\",\n        \"key_1\": 6980\n      },\n      \"body\": \"<string,null>\",\n      \"detail\": \"<string,null>\",\n      \"ms\": \"<integer,null>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"ts\": \"<string>\",\n      \"source\": \"<string>\",\n      \"topic\": \"<string,null>\",\n      \"ok\": \"<boolean>\",\n      \"status\": \"<integer,null>\",\n      \"external_id\": \"<string,null>\",\n      \"order_id\": \"<string,null>\",\n      \"ip\": \"<string,null>\",\n      \"bytes\": \"<integer,null>\",\n      \"headers\": {\n        \"key_0\": 2910,\n        \"key_1\": 8314.989671577549\n      },\n      \"body\": \"<string,null>\",\n      \"detail\": \"<string,null>\",\n      \"ms\": \"<integer,null>\"\n    }\n  ]\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "49ef9c29-b162-4472-987e-c2abeb17f62a",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "webhooks"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "free text (order name, phone, email, invoice id …)",
                "type": "text/plain"
               },
               "key": "q",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "provider key or `shopify`",
                "type": "text/plain"
               },
               "key": "source",
               "value": "<string>"
              },
              {
               "disabled": false,
               "description": {
                "content": "`1` = verified, `0` = rejected",
                "type": "text/plain"
               },
               "key": "ok",
               "value": "0"
              },
              {
               "disabled": false,
               "description": {
                "content": "max rows (default 200)",
                "type": "text/plain"
               },
               "key": "limit",
               "value": "<integer>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "security",
       "description": "",
       "item": [
        {
         "id": "68e9e1a7-3d19-439b-b770-a559a112a285",
         "name": "Failed logins (7 days), locked IPs, active sessions (owner; nonces never exposed)",
         "request": {
          "name": "Failed logins (7 days), locked IPs, active sessions (owner; nonces never exposed)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "security"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "66500954-8d1c-456b-a69d-7cf555933ad5",
           "name": "security state",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "security"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"fails\": {\n    \"byIp\": [\n      {\n        \"k\": \"<string,null>\",\n        \"n\": \"<integer>\",\n        \"last\": \"<string>\"\n      },\n      {\n        \"k\": \"<string,null>\",\n        \"n\": \"<integer>\",\n        \"last\": \"<string>\"\n      }\n    ],\n    \"byLogin\": [\n      {\n        \"k\": \"<string,null>\",\n        \"n\": \"<integer>\",\n        \"last\": \"<string>\"\n      },\n      {\n        \"k\": \"<string,null>\",\n        \"n\": \"<integer>\",\n        \"last\": \"<string>\"\n      }\n    ],\n    \"total\": \"<integer>\",\n    \"denied\": \"<integer>\"\n  },\n  \"locked\": [\n    {\n      \"ip\": \"<string>\",\n      \"until\": \"<string>\",\n      \"key_0\": false,\n      \"key_1\": 5894.938081752634,\n      \"key_2\": \"string\"\n    },\n    {\n      \"ip\": \"<string>\",\n      \"until\": \"<string>\"\n    }\n  ],\n  \"sessions\": [\n    {\n      \"login\": \"<string>\",\n      \"ip\": \"<string>\",\n      \"createdAt\": \"<string>\",\n      \"lastSeen\": \"<string>\",\n      \"expiresAt\": \"<string>\"\n    },\n    {\n      \"login\": \"<string>\",\n      \"ip\": \"<string>\",\n      \"createdAt\": \"<string>\",\n      \"lastSeen\": \"<string>\",\n      \"expiresAt\": \"<string>\"\n    }\n  ]\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "ae684f2b-987f-4528-96cd-7acc3b17ba21",
           "name": "role does not allow this",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "security"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "{\n  \"error\": \"<string>\"\n}",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "f5d22a2a-9792-4737-a75a-ebf3d95ec6d2",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "security"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "leads",
       "description": "",
       "item": [
        {
         "id": "8b428849-678b-42e5-a84f-3521bbbbe0fe",
         "name": "Site requests (leads)",
         "request": {
          "name": "Site requests (leads)",
          "description": {},
          "url": {
           "path": [
            "admin",
            "api",
            "leads"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "max rows (default 200)",
              "type": "text/plain"
             },
             "key": "limit",
             "value": "<integer>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/json"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "f2363228-ba9e-41c2-82f8-d9ea8ff7df50",
           "name": "leads, newest first",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "leads"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "max rows (default 200)",
                "type": "text/plain"
               },
               "key": "limit",
               "value": "<integer>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/json"
            }
           ],
           "body": "[\n  {\n    \"id\": \"<integer>\",\n    \"ts\": \"<string>\",\n    \"name\": \"<string>\",\n    \"shop\": \"<string>\",\n    \"email\": \"<string>\",\n    \"phone\": \"<string>\",\n    \"plan\": \"<string>\",\n    \"message\": \"<string>\",\n    \"lang\": \"<string,null>\",\n    \"page\": \"<string>\",\n    \"ip\": \"<string>\"\n  },\n  {\n    \"id\": \"<integer>\",\n    \"ts\": \"<string>\",\n    \"name\": \"<string>\",\n    \"shop\": \"<string>\",\n    \"email\": \"<string>\",\n    \"phone\": \"<string>\",\n    \"plan\": \"<string>\",\n    \"message\": \"<string>\",\n    \"lang\": \"<string,null>\",\n    \"page\": \"<string>\",\n    \"ip\": \"<string>\"\n  }\n]",
           "cookie": [],
           "_postman_previewlanguage": "json"
          },
          {
           "id": "cd257101-2615-4f7f-a3ac-4ee00f4ce1c9",
           "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "api",
              "leads"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "max rows (default 200)",
                "type": "text/plain"
               },
               "key": "limit",
               "value": "<integer>"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Not Found",
           "code": 404,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      },
      {
       "name": "selftest",
       "description": "",
       "item": [
        {
         "name": "last",
         "description": "",
         "item": [
          {
           "id": "9aa4c9c0-c179-4127-b02f-73980ac8736f",
           "name": "Report of the last test purchase",
           "request": {
            "name": "Report of the last test purchase",
            "description": {},
            "url": {
             "path": [
              "admin",
              "api",
              "selftest",
              "last"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/json"
             }
            ],
            "method": "GET",
            "body": {},
            "auth": {
             "type": "apikey",
             "apikey": [
              {
               "key": "key",
               "value": "key"
              },
              {
               "key": "value",
               "value": "{{adminKey}}"
              },
              {
               "key": "in",
               "value": "query"
              }
             ]
            }
           },
           "response": [
            {
             "id": "2f2eae70-b8f5-4acf-8474-d899b60a7660",
             "name": "report",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "api",
                "selftest",
                "last"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "GET",
              "body": {}
             },
             "status": "OK",
             "code": 200,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"ok\": \"<boolean>\",\n  \"at\": \"<string>\",\n  \"orderId\": \"<string,null>\",\n  \"orderName\": \"<string>\",\n  \"url\": \"<string,null>\",\n  \"steps\": [\n    {\n      \"name\": \"<string>\",\n      \"ok\": \"<boolean>\",\n      \"detail\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"ok\": \"<boolean>\",\n      \"detail\": \"<string>\"\n    }\n  ]\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            },
            {
             "id": "4edfe8a8-9d7b-430b-8e41-58d104ff63b2",
             "name": "not_run (or not authenticated)",
             "originalRequest": {
              "url": {
               "path": [
                "admin",
                "api",
                "selftest",
                "last"
               ],
               "host": [
                "{{baseUrl}}"
               ],
               "query": [
                {
                 "description": {
                  "content": "Added as a part of security scheme: apikey",
                  "type": "text/plain"
                 },
                 "key": "key",
                 "value": "<API Key>"
                }
               ],
               "variable": []
              },
              "header": [
               {
                "key": "Accept",
                "value": "application/json"
               }
              ],
              "method": "GET",
              "body": {}
             },
             "status": "Not Found",
             "code": 404,
             "header": [
              {
               "key": "Content-Type",
               "value": "application/json"
              }
             ],
             "body": "{\n  \"error\": \"<string>\"\n}",
             "cookie": [],
             "_postman_previewlanguage": "json"
            }
           ],
           "event": [],
           "protocolProfileBehavior": {
            "disableBodyPruning": true
           }
          }
         ]
        }
       ]
      }
     ]
    },
    {
     "name": "payments.csv",
     "description": "",
     "item": [
      {
       "id": "d81f40e3-4066-461e-99e4-3e72d3cc41e0",
       "name": "Payments CSV (`;` separated, UTF-8 BOM, up to 1000 rows, same filters as the list)",
       "request": {
        "name": "Payments CSV (`;` separated, UTF-8 BOM, up to 1000 rows, same filters as the list)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "payments.csv"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "free text (order name, phone, email, invoice id …)",
            "type": "text/plain"
           },
           "key": "q",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "PSP status",
            "type": "text/plain"
           },
           "key": "status",
           "value": "hold"
          },
          {
           "disabled": false,
           "description": {
            "content": "`1` = marked paid in Shopify, `0` = not",
            "type": "text/plain"
           },
           "key": "paid",
           "value": "0"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "provider",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "ISO-3166 alpha-2",
            "type": "text/plain"
           },
           "key": "country",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "YYYY-MM-DD",
            "type": "text/plain"
           },
           "key": "from",
           "value": "<date>"
          },
          {
           "disabled": false,
           "description": {
            "content": "YYYY-MM-DD",
            "type": "text/plain"
           },
           "key": "to",
           "value": "<date>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "kind",
           "value": "draft"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/csv"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "07564f00-c409-4c5e-8931-4acce0e3c6a9",
         "name": "attachment mistok-payments-<date>.csv",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "payments.csv"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "PSP status",
              "type": "text/plain"
             },
             "key": "status",
             "value": "hold"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = marked paid in Shopify, `0` = not",
              "type": "text/plain"
             },
             "key": "paid",
             "value": "0"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "ISO-3166 alpha-2",
              "type": "text/plain"
             },
             "key": "country",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "kind",
             "value": "draft"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/csv"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/csv"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "6b356117-127b-48dc-99cc-336bbfa2863e",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "payments.csv"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "PSP status",
              "type": "text/plain"
             },
             "key": "status",
             "value": "hold"
            },
            {
             "disabled": false,
             "description": {
              "content": "`1` = marked paid in Shopify, `0` = not",
              "type": "text/plain"
             },
             "key": "paid",
             "value": "0"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "provider",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "ISO-3166 alpha-2",
              "type": "text/plain"
             },
             "key": "country",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "kind",
             "value": "draft"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "analytics.csv",
     "description": "",
     "item": [
      {
       "id": "6e6bba49-c006-4d35-8937-615ff3f45f2a",
       "name": "Analytics CSV (sections source / campaign / product / weekday / country_provider / discount / fee / cohort)",
       "request": {
        "name": "Analytics CSV (sections source / campaign / product / weekday / country_provider / discount / fee / cohort)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "analytics.csv"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "period",
            "type": "text/plain"
           },
           "key": "days",
           "value": "30"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/csv"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "072b9796-c884-43c6-8067-86d6cbb21baa",
         "name": "attachment mistok-analytics-<days>d.csv",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "analytics.csv"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "period",
              "type": "text/plain"
             },
             "key": "days",
             "value": "30"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/csv"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/csv"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "ebe1cef0-0a2d-4cb8-b7d7-22b92e46ff61",
         "name": "not authenticated — 404 on purpose (nothing to discover); browsers are redirected to /admin/login when a password is configured",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "analytics.csv"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "period",
              "type": "text/plain"
             },
             "key": "days",
             "value": "30"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Not Found",
         "code": 404,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "audit.csv",
     "description": "",
     "item": [
      {
       "id": "9579d294-a7ce-4a1a-b3d1-53ffb9d3aeba",
       "name": "Audit log CSV (up to 1000 rows)",
       "request": {
        "name": "Audit log CSV (up to 1000 rows)",
        "description": {},
        "url": {
         "path": [
          "admin",
          "audit.csv"
         ],
         "host": [
          "{{baseUrl}}"
         ],
         "query": [
          {
           "disabled": false,
           "description": {
            "content": "free text (order name, phone, email, invoice id …)",
            "type": "text/plain"
           },
           "key": "q",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "",
            "type": "text/plain"
           },
           "key": "login",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
            "type": "text/plain"
           },
           "key": "action",
           "value": "<string>"
          },
          {
           "disabled": false,
           "description": {
            "content": "YYYY-MM-DD",
            "type": "text/plain"
           },
           "key": "from",
           "value": "<date>"
          },
          {
           "disabled": false,
           "description": {
            "content": "YYYY-MM-DD",
            "type": "text/plain"
           },
           "key": "to",
           "value": "<date>"
          }
         ],
         "variable": []
        },
        "header": [
         {
          "key": "Accept",
          "value": "text/csv"
         }
        ],
        "method": "GET",
        "body": {},
        "auth": {
         "type": "apikey",
         "apikey": [
          {
           "key": "key",
           "value": "key"
          },
          {
           "key": "value",
           "value": "{{adminKey}}"
          },
          {
           "key": "in",
           "value": "query"
          }
         ]
        }
       },
       "response": [
        {
         "id": "96b46006-431e-4f5d-a760-82d42595d959",
         "name": "attachment mistok-audit-<date>.csv",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "audit.csv"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "login",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
              "type": "text/plain"
             },
             "key": "action",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "text/csv"
           }
          ],
          "method": "GET",
          "body": {}
         },
         "status": "OK",
         "code": 200,
         "header": [
          {
           "key": "Content-Type",
           "value": "text/csv"
          }
         ],
         "body": "<string>",
         "cookie": [],
         "_postman_previewlanguage": "text"
        },
        {
         "id": "f3ee3472-6b4e-48e2-9a2f-754684599f7a",
         "name": "role does not allow this (403)",
         "originalRequest": {
          "url": {
           "path": [
            "admin",
            "audit.csv"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "free text (order name, phone, email, invoice id …)",
              "type": "text/plain"
             },
             "key": "q",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "",
              "type": "text/plain"
             },
             "key": "login",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "e.g. login, logout, login_failed, denied, sync, remind, settings, settings.import, users, links, qr.show",
              "type": "text/plain"
             },
             "key": "action",
             "value": "<string>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "from",
             "value": "<date>"
            },
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM-DD",
              "type": "text/plain"
             },
             "key": "to",
             "value": "<date>"
            },
            {
             "description": {
              "content": "Added as a part of security scheme: apikey",
              "type": "text/plain"
             },
             "key": "key",
             "value": "<API Key>"
            }
           ],
           "variable": []
          },
          "method": "GET",
          "body": {}
         },
         "status": "Forbidden",
         "code": 403,
         "header": [],
         "cookie": [],
         "_postman_previewlanguage": "text"
        }
       ],
       "event": [],
       "protocolProfileBehavior": {
        "disableBodyPruning": true
       }
      }
     ]
    },
    {
     "name": "export",
     "description": "",
     "item": [
      {
       "name": "accounting.xlsx",
       "description": "",
       "item": [
        {
         "id": "d5b8d020-9713-4baa-b9e5-b59d284ac3bb",
         "name": "Monthly accounting workbook — payments, refunds, fiscal receipts, per-provider totals",
         "request": {
          "name": "Monthly accounting workbook — payments, refunds, fiscal receipts, per-provider totals",
          "description": {},
          "url": {
           "path": [
            "admin",
            "export",
            "accounting.xlsx"
           ],
           "host": [
            "{{baseUrl}}"
           ],
           "query": [
            {
             "disabled": false,
             "description": {
              "content": "YYYY-MM, default previous month",
              "type": "text/plain"
             },
             "key": "month",
             "value": "7003-51"
            }
           ],
           "variable": []
          },
          "header": [
           {
            "key": "Accept",
            "value": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
           }
          ],
          "method": "GET",
          "body": {},
          "auth": {
           "type": "apikey",
           "apikey": [
            {
             "key": "key",
             "value": "key"
            },
            {
             "key": "value",
             "value": "{{adminKey}}"
            },
            {
             "key": "in",
             "value": "query"
            }
           ]
          }
         },
         "response": [
          {
           "id": "6faa39c6-aa5a-44c6-82ee-58c6a0868dcf",
           "name": "attachment mistok-accounting-<month>.xlsx",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "export",
              "accounting.xlsx"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM, default previous month",
                "type": "text/plain"
               },
               "key": "month",
               "value": "7003-51"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "header": [
             {
              "key": "Accept",
              "value": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
             }
            ],
            "method": "GET",
            "body": {}
           },
           "status": "OK",
           "code": 200,
           "header": [
            {
             "key": "Content-Type",
             "value": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
            }
           ],
           "body": "<binary>",
           "cookie": [],
           "_postman_previewlanguage": "text"
          },
          {
           "id": "250c2fb9-0321-4950-ab32-54940d837940",
           "name": "role does not allow this (403)",
           "originalRequest": {
            "url": {
             "path": [
              "admin",
              "export",
              "accounting.xlsx"
             ],
             "host": [
              "{{baseUrl}}"
             ],
             "query": [
              {
               "disabled": false,
               "description": {
                "content": "YYYY-MM, default previous month",
                "type": "text/plain"
               },
               "key": "month",
               "value": "7003-51"
              },
              {
               "description": {
                "content": "Added as a part of security scheme: apikey",
                "type": "text/plain"
               },
               "key": "key",
               "value": "<API Key>"
              }
             ],
             "variable": []
            },
            "method": "GET",
            "body": {}
           },
           "status": "Forbidden",
           "code": 403,
           "header": [],
           "cookie": [],
           "_postman_previewlanguage": "text"
          }
         ],
         "event": [],
         "protocolProfileBehavior": {
          "disableBodyPruning": true
         }
        }
       ]
      }
     ]
    }
   ]
  }
 ],
 "event": [],
 "variable": [
  {
   "key": "baseUrl",
   "value": "http://localhost:3000",
   "type": "string",
   "description": "BASE_URL of your Mistok instance"
  },
  {
   "key": "adminKey",
   "value": "",
   "type": "string",
   "description": "ADMIN_KEY from .env (admin API / scripts)"
  },
  {
   "key": "orderId",
   "value": "8"
  }
 ],
 "info": {
  "_postman_id": "9646accb-44e0-461f-b804-24008f170848",
  "name": "Mistok (Місток) HTTP API",
  "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
  "description": {
   "content": "Generated from server/openapi.yaml (npx openapi-to-postmanv2). Set `baseUrl` (your BASE_URL) and `adminKey` (ADMIN_KEY from .env) in the collection variables. Admin requests send ?key={{adminKey}}.",
   "type": "text/plain"
  }
 },
 "auth": {
  "type": "apikey",
  "apikey": [
   {
    "key": "key",
    "value": "key",
    "type": "string"
   },
   {
    "key": "value",
    "value": "{{adminKey}}",
    "type": "string"
   },
   {
    "key": "in",
    "value": "query",
    "type": "string"
   }
  ]
 }
}
