FX-Conversion

Simulate FX-Conversion by ID

Changed on

Use this Method in the sandbox to simulate the completion of the FX-Conversion.

To complete the FX-Conversion, it must be in a PENDING status. Upon successful execution of this API, the FX-Conversion status updates to COMPLETED or CANCELLED. You will receive a 406 error if the FX-Conversion is not in a PENDING status or if you attempt to complete an already completed or cancelled FX-Conversion.

Finmo does not support the cancellation of FX-Conversions at the moment. The platform operates on a good funds model, which always checks the balance in the source currency before proceeding. Additionally, cancellation based on spot rates could result in a loss due to fluctuating FX rates.

patch/fx-conversion/simulate

Request

  • Base URL
    https://api.finmo.net/v1
  • Auth
    HTTP basic

Headers

x-envstring required
Example:sandbox

Request body

fx_conversion_idstring required

FX conversion reference (fx_conv_*)

statusstring

The status you want to simulate it to. If not passed the default value is taken as COMPLETED

Example request

{
  "fx_conversion_id": "fx_conv_d78ae405857e4e5ea293e353e736478a",
  "status": "COMPLETED"
}

Response

OK

request_idstring
request_timestring date-time
status_codeinteger
status_textstring
successboolean

Changes