Funds/Rate

Batch query deposit and withdrawal exchange rates for currency pairs

post

bizType=fund.app.FundExchangeRateQueryService.getExchangeRateList Batch query deposit and withdrawal exchange rates for currency pairs Accessible to visitors version: 0.0.1

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
companyIdinteger · int64Required

Company ID

tracestringOptional

Tracking code

ipstringOptional

Operation IP

langstringOptional

Request Language

Responses
200Success
application/json
post
/global/fund.app.FundExchangeRateQueryService.getExchangeRateList
POST /api/global/fund.app.FundExchangeRateQueryService.getExchangeRateList HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 105

{
  "companyId": 1,
  "trace": "text",
  "ip": "text",
  "lang": "text",
  "currencies": [
    {
      "source": "text",
      "target": "text"
    }
  ]
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": [
    {
      "rate": "text",
      "formulaSymbol": "text",
      "sourceDigits": 1,
      "targetDigits": 1,
      "sourceCurrency": "text",
      "targetCurrency": "text"
    }
  ],
  "ok": true,
  "fail": true
}

Query the Trading Exchange Rate of Currency Pairs

post

bizType=fund.app.FundExchangeRateQueryService.getTradeExchangeRate Query the Trading Exchange Rate of Currency Pairs version: 0.0.1

Header parameters
versionstringRequiredExample: 0.0.1
companyIdstringRequiredExample: {{company}}
tracestringRequiredExample: {{mock_trace}}
langstringRequiredExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
companyIdstringOptional

Company ID

tracestringRequired

Tracking code

ipstringOptional

IP

langstringOptional

Language

sourceCurrencystringRequired

Source Currency Code

targetCurrencystringRequired

Target Currency Code

Responses
200Success
application/json
post
/global/fund.app.FundExchangeRateQueryService.getTradeExchangeRate
POST /api/global/fund.app.FundExchangeRateQueryService.getTradeExchangeRate HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 109

{
  "companyId": "text",
  "trace": "text",
  "ip": "text",
  "lang": "text",
  "sourceCurrency": "text",
  "targetCurrency": "text"
}
200Success
{
  "code": "text",
  "msg": "text",
  "tm": "text",
  "trace": "text",
  "msgParams": "text",
  "data": {
    "rate": "text",
    "formulaSymbol": "text",
    "sourceDigits": 1,
    "targetDigits": 1,
    "sourceCurrency": "text",
    "targetCurrency": "text"
  },
  "ok": "text",
  "fail": "text"
}

Last updated