TransactionExchange
Details of the exchange transaction
rate objectrequired
Rate of the exchange
pricenumberrequired
currencyPairstringrequired
Possible values: non-empty
typestringrequired
Possible values: [BID, OFFER]
from objectrequired
Money from the exchange
amountnumberrequired
The specific monetary value that is being converted from in the currency exchange
Example:
100currencystringrequired
The type of currency that the money is being exchanged from
Possible values: non-empty, Value must match regular expression [A-Z]{3}
Example:
USDto objectrequired
Money to the exchange
amountnumberrequired
The specific monetary value that is being converted from in the currency exchange
Example:
100currencystringrequired
The type of currency that the money is being exchanged from
Possible values: non-empty, Value must match regular expression [A-Z]{3}
Example:
USDTransactionExchange
{
"rate": {
"price": 0,
"currencyPair": "string",
"type": "BID"
},
"from": {
"amount": 100,
"currency": "USD"
},
"to": {
"amount": 100,
"currency": "USD"
}
}