CurrencyConvertedEvent
Cash was converted from one currency to another.
cursorstringrequired
Opaque pagination token for this event. Pass as start_cursor on the next request to retrieve events that occurred after this one.
Example:
ev1.abc123.xyz789entityCodestringrequired
Code identifying the organisation (client) this event belongs to.
Example:
TEST001eventTypestringrequired
Constant value:
CURRENCY_CONVERTEDfromAmountdecimalrequired
Amount in the source currency before conversion.
Example:
12500.00fromCurrencystringrequired
Source currency code.
Example:
USDfxRatedecimalrequired
Exchange rate applied in the conversion.
Example:
0.800000toAmountdecimalrequired
Amount in the target currency after conversion.
Example:
10000.00toCurrencystringrequired
Target currency code.
Example:
GBPuidstringrequired
Unique identifier for this event record.
Example:
00000000000000000000000000000001CurrencyConvertedEvent
{
"cursor": "ev1.abc123.xyz789",
"entityCode": "TEST001",
"eventType": "CURRENCY_CONVERTED",
"fromAmount": "12500.00",
"fromCurrency": "USD",
"fxRate": "0.800000",
"toAmount": "10000.00",
"toCurrency": "GBP",
"uid": "00000000000000000000000000000001"
}