LedgerFlow
    • Register new account
      POST
    • Health Check
      GET
    • Get account by username
      GET
    • Get account by email
      GET
    • Get account by telegram ID
      GET
    • Create new order
      POST
    • Get order by ID
      GET
    • Get account balance
      GET
    • List pending orders
      GET
    • Schemas
      • RegisterAccountRequest
      • AccountResponse
      • HealthResponse
      • CreateOrderRequest
      • CreateOrderResponse
      • OrderResponse
      • BalanceResponse
      • AdminOrdersResponse

      Register new account

      Developing
      POST
      /register

      Request

      Body Params application/json

      Example
      {
          "username": "string",
          "email": "string",
          "telegram_id": 0,
          "evm_pk": "string",
          "is_admin": true
      }

      Request Code Samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/register' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "username": "string",
          "email": "string",
          "telegram_id": 0,
          "evm_pk": "string",
          "is_admin": true
      }'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {
          "id": 0,
          "username": "string",
          "email": "string",
          "telegram_id": "string",
          "evm_address": "string",
          "is_admin": "string"
      }
      Modified at 2025-07-10 07:43:35
      Next
      Health Check
      Built with