This endpoint will instruct a new payment defined by the enduser.
fixedSide: The fixedSide parameter is an enum that determines which side of the foreign exchange (FX) transaction has a fixed amount. In an FX transaction, there are two sides: the sender (payer) and the beneficiary (receiver). This parameter can have two possible values:
- beneficiary: When fixedSide is set to beneficiary, the beneficiary side has a fixed amount. This means that the receiver will receive a specified amount regardless of the exchange rate. In this case, the sender's amount is calculated using the exchange rate.
- sender: When fixedSide is set to sender, the sender side has a fixed amount. This means that the sender pays a specified amount, and the beneficiary's amount is calculated using the exchange rate.
beneficiaryAccountId: The Id of the destination account. This is the account that will receive the funds in the FX transaction.
sourceAccountId: The Id of the source account. This is the account from which the funds will be debited for the FX transaction.
amount: Represents the destination amount that the beneficiary will receive in their currency. If the fixedSide parameter is set to beneficiary, this amount is fixed, and the base amount will be calculated using the exchange rate.
baseAmount: The amount to be deducted from the sender's account(source account) in their currency. If the fixedSide parameter is set to sender, this amount is fixed, and the destination amount will be calculated using the exchange rate.