Hey @Anil_Bains - do you have the request ID from the response headers for an example failed API call? I can take a look at the logs on our end with that and see what might be causing this.
I’m going to look into this a bit further on our end. I can see why this is confusing if the Admin API docs show AED as part of the broader CurrencyCode enum, so I want to confirm whether app usage billing has a more specific supported-currency list here.
I’ll loop back once I have more info to share with you.
Hey @Anil_Bains - thanks for your patience while I confirmed this.
I was able to confirm that this is expected behaviour. The CurrencyCode enum in the Admin API docs is a broader enum used across multiple areas, while app billing only supports the currencies listed in the error. AED isn’t currently supported for appUsageRecordCreate.
A merchant whose shop currency is AED can still be billed in a supported currency, such as USD, and Shopify will handle the merchant-facing conversion when the charge is collected. The price.currencyCode on the usage record just needs to match the currency used for the capped amount on the parent app subscription.