curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/fintrans/{accountId}/types/{operationType}/prepare \
--header 'Content-Type: application/json' \
--header 'User-Agent: <user-agent>' \
--header 'X-Forwarded-For: <x-forwarded-for>' \
--header 'X-Forwarded-From: <x-forwarded-from>' \
--header 'X-Tenant-ID: <x-tenant-id>' \
--header 'deviceId: <deviceid>' \
--header 'platform: <platform>' \
--data '
{
"sourceAccount": {
"walletId": "00000000-0000-0000-0000-000000000000"
},
"target": {
"iban": "LT601010012345678901",
"name": "John Customer"
},
"amount": {
"value": "100000",
"currency": "EUR",
"scale": 2
},
"currency": "EUR",
"type": "INTERNAL",
"consent": {
"consentReference": "00000000-0000-0000-0000-000000000000"
},
"description": "Internal funding transfer"
}
'