getFxrate
Interface URL
Sandbox URL: http://api.testbonuspay.network/sgs/api/fxrate/getFxrate
Product URL: https://api.bonuspay.network/sgs/api/fxrate/getFxrate
Request Parameters
HTTP Header
Content-Language
Content-Language
Optional
String(10)
en
en-English (default)
Sign
sign
Required
String
-
Partner ID
Partner-Id
Required
String(12)
-
Http Body
Request Time
requestTime
Required
Timestamp(3)
1581493898000
Business Content
bizContent
Required
GetFxrateRequest
-
Business Content
GetFxrateRequest
Currency Pair
currencyPair
Required
String(32)
USDT_INR
Direction
direction
Required
String(32)
BUY/SELL
Request Example
Http Header
{
"Content-Language": "en",
"Content-Type": "application/json",
"sign": "IXJI/QicPQotIsIDBcSGIg6jtJUXs1rTuifQFZUNd3KDTl25GKmpYO7OrkaKkTV0shDRitLmkxJCe3Z60zHE2ZSeVczrhwrnmuMG+bX9N22Hw821H6MydsXetYHRnyf5dPbgpmVja582w49grA6jRlVFAVMYdxKJDPSCb2X/IpltvyrLQ1Wt+lqr+fnpYXvyON6/PIZIQIknC8BVddVahxJnaC6HEagvJf6gskz22/DFfPHT1mlMA9pg8qrbh4O7DYZahf8TB3nIzAPc/FHOUZkYYTT2c8m4eLL8740nJVK7D3IOSqSnBAU/iJ2omjPPFvRCCSqzz17pkGsT7AW91w==",
"Partner-Id": "200000000888"
}
Http Body
{
"bizContent":{
"currencyPair":"USDT_INR",
"direction":"SELL"
},
"requestTime":1691490465029
}Response Parameters
Http Header
Sign
sign
Required
String
-
The body field in Http Body is only returned when applyStatus is SUCCESS and code is 0.
Http Body
Response Header
head
Required
ResponseHeader
-
Response Body
body
Optional
GetFxrateResponse
-
GetFxrateResponse
Currency Pair
currencyPair
Required
String(32)
USDT_INR
Direction
direction
Required
String(32)
BUY/SELL
Rate
fxrate
Required
Decimal(12,8)
83.5371
Response Example
Last updated