cURL
curl --request GET \ --url https://api.valyx.com/billing/ratecard/feeComponent/fetch/{fee_component_id} \ --header 'X-Valyx-Signature: <x-valyx-signature>'
{ "error": "<string>", "message": "<string>", "data": { "tags": {}, "ratecards": [ { "id": {}, "name": {}, "ratecardDescription": {}, "feeComponentId": {}, "description": {}, "ratecardDetail": {}, "tags": {}, "companyId": {}, "contractId": {}, "currency": {}, "currencyId": {}, "createdBy": {}, "isDefault": {}, "status": {}, "isTierSplitEnabled": {}, "startDate": {}, "endDate": {}, "fallBackRatecardId": {} } ] } }
Auth key for fetching ledger entries
An optional fields mask
If passed will return all the ratecards available for a contract
If false will return only the combinations of tags that have at least one ratecard
Success
Show child attributes