Pricing in a User’s Preferred Currency

To help you improve monetization in your game, we are launching an API that gives you access to the user’s preferred currency and the conversion rate to Credits. This lets you show prices in the user’s preferred currency in your in-game stores.

For example, a user visits your store to buy an item priced at $ 10 (100 Credits). You can access the preferred currency — EUR for this user — and the current conversion rate from Credits to EUR via the API described below. Instead of displaying price in USD, you can now show the item price as €8.12 (100 credits * 0.0812 conversion rate). When you invoke the pay dialog, use the parameter “oscif=true”, and the user will see €8.12 as the price of the item in the pay dialog as well.

c9123  cv ingame Pricing in a User’s Preferred Currency
c9123  cv dialog Pricing in a User’s Preferred Currency

Castleville’s in-game store and payment dialog show items priced in EUR, this user’s preferred currency.

To access this data, issue an HTTP GET to /USER_ID?fields=currency with a user access token for your app.


   "currency": {
      "user_currency": "EUR", 
      "currency_exchange": 12.31857, 
      "currency_exchange_inverse": 0.0811782536, 
      "currency_offset": 100
   "id": "596824621", 
   "type": "user"

See our documentation for more details on how to implement this in your app.

Facebook Developer Blog

GD Star Rating
Be Sociable, Share!
  • more Pricing in a User’s Preferred Currency

Additional Resources

Privacy Policy | Terms of Use | Disclaimer | Comments Policy | Disclosure


    © 2012 e-Marketing Mixology.


    e-Marketing Mixology is an internet marketing blog offering practical insights for online merchants, students, bloggers and other people who are interested on the subject matter. Our methodology to electronic marketing is integrated or holistic in approach. We cover the broad scopes on digital marketing which includes: Search engine optimization, Social media marketing, Email marketing, Referral marketing, Content marketing, Search engine marketing, Pay per click, Cost per impression, Search analytics, Web analytics, Display advertising, Contextual advertising, Behavioral targeting, Affiliate marketing, Cost per action, Revenue sharing and Mobile advertising.


    We distill ideas from the experts and from our professional experience, and make it applicable to your online business. We test and review digital marketing books, software, scripts and other related products and services. We expose the scams of self-proclaimed “internet marketing gurus” and their ways to make money on you. You can truly call us the “mixer of e-marketing ingredients”. We are your internet marketing consultant for hire.


    Our projects have page views coming from countries with English-speaking population which includes United States, United Kingdom, Canada, Australia, Ireland, South Africa, New Zealand, Philippines, Jamaica, Spain, Trinidad and Tobago, Singapore, Guyana, Liberia, Sierra Leone, Malaysia, Germany, Barbados, Bahamas, Zimbabwe, India, Hong Kong, Belize, Papua New Guinea, Saint Vincent and the Grenadines, Zambia, Grenada, Israel, Puerto Rico, Nigeria, Pakistan, Ghana, U.S. Virgin Islands, Japan, China, Switzerland, Antigua and Barbuda, Bermuda, Vanuatu, Guam, Saint Kitts and Nevis, Cayman Islands, Honduras, Saint Lucia, Gibraltar, British Virgin Islands, Namibia, Anguilla, Solomon Islands, Sri Lanka, Brunei, Aruba, Dominican Republic, Fiji, Saint Helena, Northern Mariana Islands, Federated States of Micronesia, Montserrat, British Indian Ocean Territory, Dominica, Seychelles, American Samoa, Mauritius, Falkland Islands, Ethiopia, Russia, Norfolk Island, Cook Islands, Samoa, Turks and Caicos Islands, Nauru, Palau, Guadeloupe, Saint Pierre and Miquelon, Niue, Pitcairn, Tokelau, East Timor and South Korea.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusCheck Our Feed