The selectBalance interface can be invoked to query real-time balance information
Request
Use gzip compression format
Default:gzip, deflate, br
Body Params application/json
The encrypted string of appkey, appSecret and timestamp.Refer to Appendix I
{
"authentication": {
"sign": "{{sign}}",
"timestamp": "{{time}}"
},
}
Request samples
curl --location --request POST 'https://flight-test.flightroutes24.com/api/new/selectBalance.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
"authentication": {
"sign": "",
"timestamp": "{{time}}"
},
}'
Responses
application/json traceId can help locate problems when problems occur between partners and FR24.
000000 means success, others mean failure.
If code returns failure, data would be empty
availableCreditLimit
integer
required{
"traceId": "",
"code": "000000",
"message": "ok",
"processingTime": 160,
"data": {
"accountBalance": "100.00",
"availableCreditLimit": "0.00",
"accountCurency'": "CNY",
"accountPayable": "0.00",
"time": "2024/01/01 12:00:00 "
}
}
Modified at 2024-11-27 10:54:37