Skip to main content

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: 100
currencystringrequired

The type of currency that the money is being exchanged from

Possible values: non-empty, Value must match regular expression [A-Z]{3}

Example: USD
to objectrequired

Money to the exchange

amountnumberrequired

The specific monetary value that is being converted from in the currency exchange

Example: 100
currencystringrequired

The type of currency that the money is being exchanged from

Possible values: non-empty, Value must match regular expression [A-Z]{3}

Example: USD
TransactionExchange
{
"rate": {
"price": 0,
"currencyPair": "string",
"type": "BID"
},
"from": {
"amount": 100,
"currency": "USD"
},
"to": {
"amount": 100,
"currency": "USD"
}
}