public interface InstantConversionApi
| Modifier and Type | Method and Description |
|---|---|
InstantConversion |
createInstantConversion(InstantConversion conversion,
java.lang.String idempotencyKey)
This endpoint allows the platform to move funds between two
wallets of different currencies instantaneously.
|
ConversionRate |
getConversionRate(java.lang.String debitedCurrency,
java.lang.String creditedCurrency)
This endpoint allows the platform to get a real
time indicative market rate of a specific currency pair.
|
InstantConversion |
getInstantConversion(java.lang.String id)
This endpoint allows the platform to get
the details of a conversion which has been carried out.
|
ConversionRate getConversionRate(java.lang.String debitedCurrency, java.lang.String creditedCurrency) throws java.lang.Exception
debitedCurrency - The sell currency – the currency of the wallet to be debitedcreditedCurrency - The buy currency – the currency of the wallet to be credited.java.lang.ExceptionInstantConversion createInstantConversion(InstantConversion conversion, java.lang.String idempotencyKey) throws java.lang.Exception
java.lang.ExceptionInstantConversion getInstantConversion(java.lang.String id) throws java.lang.Exception
id - The unique identifier of the conversion.java.lang.Exception