Skip to main content
Question

How does RevenueCat calculate the Webhook 'price' field in USD if a purchase is made in another currency?

  • June 25, 2025
  • 1 reply
  • 27 views

Forum|alt.badge.img

As per the subject, how is the USD value calculated for the webhook ‘price’ field if the purchase is made in a different currency?

 

Building for both the App Store and Google Play.

 

Thanks

This post has been closed for comments

1 reply

hussain
RevenueCat Staff
Forum|alt.badge.img+3
  • RevenueCat Staff
  • 52 replies
  • June 27, 2025

Hi there,

Thanks for the question! 😊

When you see the price field in a RevenueCat webhook payload, you’re looking at the USD-equivalent of whatever local price your customer actually paid. Here’s how we get that number:

  1. Exchange-Rate Table
    We maintain an internal lookup table of currency exchange rates (for example, EUR→USD, JPY→USD, etc.).

  2. Rate at Purchase Time
    At the moment a purchase, we grab the exchange rate for that customer’s currency on that day.

  3. Conversion
    We multiply the local purchase price (e.g. €4.99 or ¥600) by the day’s USD exchange rate.

  4. Webhook Field
    The result of that calculation is what you see in the webhook’s "price" field.

Hope that clears things up! Let me know if you need help with anything else.

Best,

Hussain


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings