Create withdraw (typed endpoint)
Sample cURL
curl --request POST \
--url 'https://sandbox.finhub.cloud/api/v2.1/fintrans/{accountId}/transfers/types.withdraw' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'X-Tenant-Id: <TENANT_ID>' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Forwarded-From: <FORWARDED_FROM>' \
--header 'deviceId: <DEVICE_ID>' \
--data '{
"type": "WITHDRAW",
"amount": { "value": "10000", "currency": "EUR", "scale": 2 },
"target": { "iban": "<TARGET_IBAN>", "name": "Target Account" },
"description": "Withdrawal"
}'