lockId in Create Exchange to execute it.validUntil. Execute the exchange before this time - otherwise create a new lock.P4103.sourceAmount is debited from the source balance. It is converted at rate into totalDestinationAmount, from which the exchange fee is deducted. The destination balance is credited with destinationAmount (totalDestinationAmount - fee). The fee rate is defined by exchange.feePercent of the destination balance (see Get Balances). Amounts are rounded down to the precision of the currency.sourceAmount must not be lower than exchange.minAmount of the source balance and must not exceed the precision of the source currency.curl --location 'http://k8s-partnera-partnera-7873f15634-69ebb7c047cac3d1.elb.eu-central-1.amazonaws.com/v1/exchange/lock' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sourceBalanceId": "ea93abc7-389d-4bd6-aeff-2257bfa72683",
"destinationBalanceId": "6d1c19f5-993f-4495-95f2-90b88413eb47",
"sourceAmount": "10"
}'{
"lockId": "364bae47-950f-4307-8d86-bc814b2ca12a",
"sourceBalanceId": "ea93abc7-389d-4bd6-aeff-2257bfa72683",
"sourceCurrency": "EUR",
"sourceAmount": "10",
"destinationBalanceId": "6d1c19f5-993f-4495-95f2-90b88413eb47",
"destinationCurrency": "BTC",
"destinationAmount": "0.00013417",
"rate": "0.000013417859392927268",
"sourceRate": "1",
"destinationRate": "74527.53607830421",
"fee": "0",
"totalDestinationAmount": "0.00013417",
"validUntil": "2026-10-14T09:18:00.361Z"
}