CSQ Docs
    CSQ Docs
    eVSB
    • eVSB
    • Back to home
    • Utils
    • Balances
      GET
    • Prices Direct
      GET
    • Prices Reverse
      GET
    • Transaction Info
      GET

      Prices Direct

      GET
      /util/get-prices/direct/{terminalId}/{operatorId}/{amountToExchangeX100}
      util-controller

      Request

      Path Params
      terminalId
      integer <int32>
      required
      operatorId
      integer <int32>
      required
      amountToExchangeX100
      integer <int32>
      required
      Header Params
      U
      string 
      required
      Default:
      {{U}}
      SH
      string 
      required
      Default:
      {{SH}}
      ST
      string 
      required
      Default:
      {{ST}}

      Request 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 GET 'http://evsbus.csqworld.com/util/get-prices/direct///' \
      --header 'U;' \
      --header 'SH;' \
      --header 'ST;'

      Responses

      🟢200OK
      application/json
      Body
      rc
      integer <int32>
      optional
      items
      array[object (Prices) {4}] 
      optional
      amountToSendX100
      integer <int32>
      optional
      destinationAmountX100
      integer <int32>
      optional
      serviceFeeX100
      integer <int32>
      optional
      totalAmountX100
      integer <int32>
      optional
      Example
      {
          "rc": 0,
          "items": [
              {
                  "amountToSendX100": 200,
                  "destinationAmountX100": 1000,
                  "serviceFeeX100": 100,
                  "totalAmountX100": 300
              }
          ]
      }
      Modified at 2024-08-01 10:17:30
      Previous
      Balances
      Next
      Prices Reverse
      Built with