cURL
curl --request GET \ --url https://sandbox.finhub.cloud/api/v2.1/fintrans/{accountId}/payment-consents/{consentId}
Get a payment consent by ID
curl --request GET \ --url 'https://sandbox.finhub.cloud/api/v2.1/fintrans/{accountId}/payment-consents/{consentId}' \ --header 'Authorization: Bearer <ACCESS_TOKEN>' \ --header 'X-Tenant-Id: <TENANT_ID>' \ --header 'Accept: application/json' \ --header 'X-Forwarded-From: <FORWARDED_FROM>' \ --header 'deviceId: <DEVICE_ID>'
OK