@Diksha Singh I'm not entirely sure what you mean by "metadata URLs" in this context, but I'll do my best to provide you with information about Pay-As-You-Go subscriptions in Azure.
A Pay-As-You-Go subscription is a flexible and cost-effective way to use Azure services. With this type of subscription, you pay only for the services you use, and there are no upfront costs or termination fees. You can use any Azure service that is available in your region, and you can scale up or down as needed.
As for metadata URLs, I'm not sure how they relate to Pay-As-You-Go subscriptions. Metadata URLs are typically used to provide information about a resource in Azure, such as a virtual machine or storage account. If you can provide more information about what you're looking for, I may be able to provide a more specific answer.
Hope this helps!
EDIT/Update:
The subscription GET API https://learn.microsoft.com/en-us/rest/api/resources/subscriptions/get?tabs=HTTP will not give the offer id for the subscription however it has the parameter quotaId which will show it as PayAsYouGo/Enterprise/MSDNDev/Test to determine if the subscription is Pay-As-You-Go (PayG).
However, this quoteid will be same for MCA FL (Enterprise) and EA legacy, MCA CL (PayG) and legacy PayG will be same.
Another way is if the subscription has usage, you can run this API to fetch usage
https://learn.microsoft.com/en-us/rest/api/consumption/usage-details/list?tabs=HTTP
and in the usage record we have offerId available which you can get to know what type of offer the subscription is.
Hope this helps. Let us know if you need any further assistance in this matter!
If the response helped, do "Accept Answer" and up-vote it