Skip to main content / 跳转到主要内容
TrustDecision
EN
v3
API Reference
Terminal SDK
Search
⌘K
Amount - TrustDecision Docs
Copy Page
Amount
Previous
Name
Next
Address
Was this page helpful?
Yes
No
Data Type: Amount
Parameter
Type
Description
Required/Optional
Notes
currency
String
Local Currency Type
required
3-letter code according to ISO 4217
amount_local
Double
Amount ( Local Currency )
required
amount_usd
Double
Amount ( USD )
conditionally required: required when not access to China Server
The USD amount is converted from the original amount by the exchange rate
amount_cny
Double
Amount ( CNY )
conditionally required: required when access to a China Server
The CNY amount is converted from the original amount by the exchange rate
JSON
Copy
{
"currency"
:
"USD"
,
"amount_local"
:
6.8
,
"amount_usd"
:
1
,
"amount_cny"
:
6.8
}