curl --request POST \
--url https://sandbox.finhub.cloud/api/v2.1/customer/individual/{customerId}/consents/{consentType} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--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 '
{
"accepted": true,
"version": "1.0"
}
'