Payment Currency Not Available in Pricing Hash

Charge ID: 7509b6d9-3110-4c14-8bcf-fb0415975fa1

For this charge, the customer paid using POLUSDC as the currency, however the charge’s pricing hash does not have a price quoted for this currency. Is this a bug on the Commerce API? Because for all other cryptos the pricing has has always had a price quoted for any currencies that a customer is able to pay with.

We have logic in our application that locates the price inside of the pricing hash using the currency that the customer paid with on their payment in order to extract the amount.

Charge’s Current Pricing Hash:

{"local":{"amount":"90.00","currency":"USD"},"polygon":{"amount":"112.640801000","currency":"PMATIC"},"pusdc":{"amount":"90.000000","currency":"PUSDC"},"pweth":{"amount":"0.039158441581043834","currency":"PWETH"},"ethereum":{"amount":"0.039153000","currency":"ETH"},"usdc":{"amount":"90.000000","currency":"USDC"},"dai":{"amount":"90.009000900000000000","currency":"DAI"},"apecoin":{"amount":"63.402606551602676999","currency":"APE"},"shibainu":{"amount":"9939260.077305390000000000","currency":"SHIB"},"tether":{"amount":"90.040068","currency":"USDT"},"bitcoincash":{"amount":"0.38223053","currency":"BCH"},"dogecoin":{"amount":"1138.44791601","currency":"DOGE"},"litecoin":{"amount":"1.32479576","currency":"LTC"},"bitcoin":{"amount":"0.00209312","currency":"BTC"}}

What I would expect to also be inside the hash:

{"polusdc":{"amount":"90.00","currency":"POLUSDC"}