Account balance

Query User Account Balance

Query the latest balance information of user-specified currency account.

Query User Account Balance

post

Query the latest balance information of user-specified currency account.

Header parameters
tracestringRequired

Global Link Identifier.

Example: {{mockTrace}}
companyIdintegerRequired

Company Id,User's company ID

Example: {{companyId}}
timestampnumberRequired

Request initiation timestamp, accurate to the millisecond, 13 digits.

Body
thirdServerCodestringRequired

Third-party system customer unique identifier

userNamestringRequired

TradeBoss user identity unique identifier

currencystringRequired

Account currency code, standard ISO 3-character currency unit.

Responses
200
成功
application/json
post
POST /api/cats-gateway/get-user-amount HTTP/1.1
Host: prewppc-3.cmfbl.com
trace: text
companyId: 1
timestamp: 1
Content-Type: application/json
Accept: */*
Content-Length: 62

{
  "thirdServerCode": "text",
  "userName": "text",
  "currency": "text"
}
200

成功

{
  "msg": "laboris in qui Excepteur",
  "code": "74",
  "bizCode": "80",
  "trace": "ad occaecat cupidatat in eiusmod",
  "msgParams": "ad consectetur ut dolore",
  "tm": 55,
  "data": {
    "amount": "42.1098",
    "currency": "HKD",
    "amount_digits": 4,
    "user_name": "86000001"
  },
  "ok": false,
  "fail": true
}

Last updated