{
  "auth": {
    "bearer": [
      {
        "key": "token",
        "value": "{{api_key}}",
        "type": "string"
      }
    ],
    "type": "bearer"
  },
  "info": {
    "description": "Generated by cmd/sdkgen from api/openapi/customer.v3.yaml. Do not edit by hand; run `task gen`.\n\nSet base_url to the site address and api_key to a test key (smm_test_…) to start.",
    "name": "Customer API v3.0.0",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "auth",
      "item": [
        {
          "name": "Sign the app out (revokes the current app session)",
          "request": {
            "description": "Sign the app out (revokes the current app session)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "auth",
                "logout"
              ],
              "raw": "{{base_url}}/api/v3/auth/logout"
            }
          }
        },
        {
          "name": "Send a login code to a phone number",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"phone\": \"+989121234567\"\n}"
            },
            "description": "Send a login code to a phone number",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "auth",
                "otp"
              ],
              "raw": "{{base_url}}/api/v3/auth/otp"
            }
          }
        },
        {
          "name": "Verify the code and receive app tokens",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"challenge_id\": \"…\",\n  \"code\": \"…\"\n}"
            },
            "description": "Verify the code and receive app tokens",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "auth",
                "otp",
                "verify"
              ],
              "raw": "{{base_url}}/api/v3/auth/otp/verify"
            }
          }
        },
        {
          "name": "Rotate the refresh token and get a new access token",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"refresh_token\": \"…\"\n}"
            },
            "description": "Rotate the refresh token and get a new access token",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "auth",
                "refresh"
              ],
              "raw": "{{base_url}}/api/v3/auth/refresh"
            }
          }
        }
      ]
    },
    {
      "name": "account",
      "item": [
        {
          "name": "Wallet balance (the test wallet for test keys)",
          "request": {
            "description": "Wallet balance (the test wallet for test keys)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "balance"
              ],
              "raw": "{{base_url}}/api/v3/balance"
            }
          }
        },
        {
          "name": "Redeem a voucher (credited now) or a deposit coupon (applied to the next deposit)",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"code\": \"…\"\n}"
            },
            "description": "Redeem a voucher (credited now) or a deposit coupon (applied to the next deposit)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "coupons",
                "redeem"
              ],
              "raw": "{{base_url}}/api/v3/coupons/redeem"
            }
          }
        },
        {
          "name": "The signed-in user and the current credential",
          "request": {
            "description": "The signed-in user and the current credential",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "me"
              ],
              "raw": "{{base_url}}/api/v3/me"
            }
          }
        },
        {
          "name": "In-app notifications, newest first",
          "request": {
            "description": "In-app notifications, newest first",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "notifications"
              ],
              "query": [
                {
                  "description": "1–100, default 25",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                },
                {
                  "description": "The next_cursor of the previous page (opaque)",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/notifications"
            }
          }
        },
        {
          "name": "Mark one notification (id) or all of them read",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{}"
            },
            "description": "Mark one notification (id) or all of them read",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "notifications",
                "read"
              ],
              "raw": "{{base_url}}/api/v3/notifications/read"
            }
          }
        },
        {
          "name": "Start a wallet top-up through the gateway",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"amount_irr\": 1000\n}"
            },
            "description": "Start a wallet top-up through the gateway",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "payments"
              ],
              "raw": "{{base_url}}/api/v3/payments"
            }
          }
        },
        {
          "name": "A payment",
          "request": {
            "description": "A payment",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "payments",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/payments/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Your referral link, totals and recent commissions",
          "request": {
            "description": "Your referral link, totals and recent commissions",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "referrals"
              ],
              "raw": "{{base_url}}/api/v3/referrals"
            }
          }
        },
        {
          "name": "Your API request log (writes and errors, 14 days)",
          "request": {
            "description": "Your API request log (writes and errors, 14 days)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "request-logs"
              ],
              "query": [
                {
                  "description": "1–100, default 25",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                },
                {
                  "description": "The next_cursor of the previous page (opaque)",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/request-logs"
            }
          }
        },
        {
          "name": "Wallet ledger lines, newest first",
          "request": {
            "description": "Wallet ledger lines, newest first",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "transactions"
              ],
              "query": [
                {
                  "description": "",
                  "disabled": true,
                  "key": "kind",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "created_after",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "created_before",
                  "value": ""
                },
                {
                  "description": "1–100, default 25",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                },
                {
                  "description": "The next_cursor of the previous page (opaque)",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/transactions"
            }
          }
        }
      ]
    },
    {
      "name": "orders",
      "item": [
        {
          "name": "A batch and its orders",
          "request": {
            "description": "A batch and its orders",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "batches",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/batches/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Your orders, newest first",
          "request": {
            "description": "Your orders, newest first",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "orders"
              ],
              "query": [
                {
                  "description": "",
                  "disabled": true,
                  "key": "status",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "service_id",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "client_label",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "link",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "batch_id",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "created_after",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "created_before",
                  "value": ""
                },
                {
                  "description": "1–100, default 25",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                },
                {
                  "description": "The next_cursor of the previous page (opaque)",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/orders"
            }
          }
        },
        {
          "name": "Place an order (always send an Idempotency-Key)",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"link\": \"…\",\n  \"quantity\": 1000,\n  \"service_id\": 1000\n}"
            },
            "description": "Place an order (always send an Idempotency-Key)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "orders"
              ],
              "raw": "{{base_url}}/api/v3/orders"
            }
          }
        },
        {
          "name": "Place up to 100 orders in one charge",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"orders\": [\n    {\n      \"link\": \"…\",\n      \"quantity\": 1000,\n      \"service_id\": 1000\n    }\n  ]\n}"
            },
            "description": "Place up to 100 orders in one charge",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "orders",
                "batch"
              ],
              "raw": "{{base_url}}/api/v3/orders/batch"
            }
          }
        },
        {
          "name": "Price an order without placing it",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"quantity\": 1000,\n  \"service_id\": 1000\n}"
            },
            "description": "Price an order without placing it",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "orders",
                "quote"
              ],
              "raw": "{{base_url}}/api/v3/orders/quote"
            }
          }
        },
        {
          "name": "An order",
          "request": {
            "description": "An order",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "orders",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/orders/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Ask to cancel an order (the refund follows when it is canceled)",
          "request": {
            "description": "Ask to cancel an order (the refund follows when it is canceled)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "orders",
                ":id",
                "cancel"
              ],
              "raw": "{{base_url}}/api/v3/orders/:id/cancel",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Request a refill within the service's refill window",
          "request": {
            "description": "Request a refill within the service's refill window",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "orders",
                ":id",
                "refill"
              ],
              "raw": "{{base_url}}/api/v3/orders/:id/refill",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Your refills, newest first",
          "request": {
            "description": "Your refills, newest first",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "refills"
              ],
              "query": [
                {
                  "description": "",
                  "disabled": true,
                  "key": "order_id",
                  "value": ""
                },
                {
                  "description": "1–100, default 25",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/refills"
            }
          }
        },
        {
          "name": "A refill",
          "request": {
            "description": "A refill",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "refills",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/refills/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "catalog",
      "item": [
        {
          "name": "Categories",
          "request": {
            "description": "Categories",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "categories"
              ],
              "query": [
                {
                  "description": "Platform slug, e.g. instagram",
                  "disabled": true,
                  "key": "platform",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/categories"
            }
          }
        },
        {
          "name": "Detect the platform and target of a link, and the services that accept it",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"link\": \"…\"\n}"
            },
            "description": "Detect the platform and target of a link, and the services that accept it",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "links",
                "resolve"
              ],
              "raw": "{{base_url}}/api/v3/links/resolve"
            }
          }
        },
        {
          "name": "Platforms",
          "request": {
            "description": "Platforms",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "platforms"
              ],
              "raw": "{{base_url}}/api/v3/platforms"
            }
          }
        },
        {
          "name": "Active services with your prices",
          "request": {
            "description": "Active services with your prices",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "services"
              ],
              "query": [
                {
                  "description": "",
                  "disabled": true,
                  "key": "platform",
                  "value": ""
                },
                {
                  "description": "Category slug",
                  "disabled": true,
                  "key": "category",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "target_kind",
                  "value": ""
                },
                {
                  "description": "Search in the Persian name",
                  "disabled": true,
                  "key": "q",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/services"
            }
          }
        },
        {
          "name": "A service",
          "request": {
            "description": "A service",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "services",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/services/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "events",
      "item": [
        {
          "name": "Your events from the last 30 days, newest first",
          "request": {
            "description": "Your events from the last 30 days, newest first",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "events"
              ],
              "query": [
                {
                  "description": "",
                  "disabled": true,
                  "key": "type",
                  "value": ""
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "created_after",
                  "value": ""
                },
                {
                  "description": "1–100, default 25",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                },
                {
                  "description": "The next_cursor of the previous page (opaque)",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/events"
            }
          }
        },
        {
          "name": "An event",
          "request": {
            "description": "An event",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "events",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/events/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "convenience",
      "item": [
        {
          "name": "Favorite services",
          "request": {
            "description": "Favorite services",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "favorites"
              ],
              "raw": "{{base_url}}/api/v3/favorites"
            }
          }
        },
        {
          "name": "Add a favorite service",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"service_id\": 1000\n}"
            },
            "description": "Add a favorite service",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "favorites"
              ],
              "raw": "{{base_url}}/api/v3/favorites"
            }
          }
        },
        {
          "name": "Remove a favorite (the id is the service id)",
          "request": {
            "description": "Remove a favorite (the id is the service id)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "favorites",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/favorites/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Saved targets (links and usernames)",
          "request": {
            "description": "Saved targets (links and usernames)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "targets"
              ],
              "query": [
                {
                  "description": "",
                  "disabled": true,
                  "key": "tag",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/targets"
            }
          }
        },
        {
          "name": "Save a target",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"link\": \"…\"\n}"
            },
            "description": "Save a target",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "targets"
              ],
              "raw": "{{base_url}}/api/v3/targets"
            }
          }
        },
        {
          "name": "Delete a saved target",
          "request": {
            "description": "Delete a saved target",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "targets",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/targets/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Order templates (bulk lines)",
          "request": {
            "description": "Order templates (bulk lines)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "templates"
              ],
              "raw": "{{base_url}}/api/v3/templates"
            }
          }
        },
        {
          "name": "Save a template (same name replaces it)",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"lines\": \"…\",\n  \"name\": \"…\"\n}"
            },
            "description": "Save a template (same name replaces it)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "templates"
              ],
              "raw": "{{base_url}}/api/v3/templates"
            }
          }
        },
        {
          "name": "Delete a template",
          "request": {
            "description": "Delete a template",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "templates",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/templates/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "A public tracking link for an order (no login needed to open it)",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"order_id\": 1000\n}"
            },
            "description": "A public tracking link for an order (no login needed to open it)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "tracking-links"
              ],
              "raw": "{{base_url}}/api/v3/tracking-links"
            }
          }
        }
      ]
    },
    {
      "name": "meta",
      "item": [
        {
          "name": "API metadata and server time",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "description": "API metadata and server time",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "meta"
              ],
              "raw": "{{base_url}}/api/v3/meta"
            }
          }
        }
      ]
    },
    {
      "name": "test",
      "item": [
        {
          "name": "Add funds to the test wallet (test keys only)",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"amount_irr\": 1000\n}"
            },
            "description": "Add funds to the test wallet (test keys only)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "test",
                "balance"
              ],
              "raw": "{{base_url}}/api/v3/test/balance"
            }
          }
        }
      ]
    },
    {
      "name": "support",
      "item": [
        {
          "name": "Your support tickets, latest activity first",
          "request": {
            "description": "Your support tickets, latest activity first",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "tickets"
              ],
              "query": [
                {
                  "description": "1–100, default 25",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                },
                {
                  "description": "The next_cursor of the previous page (opaque)",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/tickets"
            }
          }
        },
        {
          "name": "Open a ticket",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"body\": \"…\",\n  \"subject\": \"…\"\n}"
            },
            "description": "Open a ticket",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "tickets"
              ],
              "raw": "{{base_url}}/api/v3/tickets"
            }
          }
        },
        {
          "name": "A ticket with its messages",
          "request": {
            "description": "A ticket with its messages",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "tickets",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/tickets/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Reply to a ticket (reopens it)",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"body\": \"…\"\n}"
            },
            "description": "Reply to a ticket (reopens it)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "tickets",
                ":id",
                "messages"
              ],
              "raw": "{{base_url}}/api/v3/tickets/:id/messages",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "webhooks",
      "item": [
        {
          "name": "Send a delivery again",
          "request": {
            "description": "Send a delivery again",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "webhook-deliveries",
                ":id",
                "redeliver"
              ],
              "raw": "{{base_url}}/api/v3/webhook-deliveries/:id/redeliver",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Your webhook endpoints (for this mode)",
          "request": {
            "description": "Your webhook endpoints (for this mode)",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "webhook-endpoints"
              ],
              "raw": "{{base_url}}/api/v3/webhook-endpoints"
            }
          }
        },
        {
          "name": "Create an endpoint; the signing secret is shown once",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"url\": \"…\"\n}"
            },
            "description": "Create an endpoint; the signing secret is shown once",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "webhook-endpoints"
              ],
              "raw": "{{base_url}}/api/v3/webhook-endpoints"
            }
          }
        },
        {
          "name": "An endpoint",
          "request": {
            "description": "An endpoint",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "webhook-endpoints",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/webhook-endpoints/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Change the URL, the events or turn it on or off",
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{}"
            },
            "description": "Change the URL, the events or turn it on or off",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "webhook-endpoints",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/webhook-endpoints/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Delete an endpoint",
          "request": {
            "description": "Delete an endpoint",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "webhook-endpoints",
                ":id"
              ],
              "raw": "{{base_url}}/api/v3/webhook-endpoints/:id",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "The endpoint's delivery log",
          "request": {
            "description": "The endpoint's delivery log",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "webhook-endpoints",
                ":id",
                "deliveries"
              ],
              "query": [
                {
                  "description": "1–100, default 25",
                  "disabled": true,
                  "key": "limit",
                  "value": ""
                },
                {
                  "description": "The next_cursor of the previous page (opaque)",
                  "disabled": true,
                  "key": "cursor",
                  "value": ""
                }
              ],
              "raw": "{{base_url}}/api/v3/webhook-endpoints/:id/deliveries",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        },
        {
          "name": "Send a test event to the endpoint",
          "request": {
            "description": "Send a test event to the endpoint",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}"
              }
            ],
            "method": "POST",
            "url": {
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "api",
                "v3",
                "webhook-endpoints",
                ":id",
                "test"
              ],
              "raw": "{{base_url}}/api/v3/webhook-endpoints/:id/test",
              "variable": [
                {
                  "key": "id",
                  "value": "1"
                }
              ]
            }
          }
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "base_url",
      "value": "http://127.0.0.1:8080"
    },
    {
      "key": "api_key",
      "value": "smm_test_…"
    }
  ]
}
