Skip to main content
Display both local and payment currencies at checkout without managing currency formatting in your codebase. Add new currencies in PayNext Dashboard and they propagate instantly to your checkout.

Why Localize Pricing

No currency management

Don’t store currency symbols, decimal places, or formatting rules. PayNext handles it all.

Dashboard-controlled

Update pricing in the Dashboard. Changes propagate instantly to new checkout sessions.

100+ currencies

Automatic formatting for all currencies—including zero-decimal (JPY), two-decimal (USD), and three-decimal (IQD).

Better conversion

Localized pricing and rounded amounts improve checkout conversion rates.

How It Works

  1. Configure your plan in PayNext Dashboard with pricing and payment currency
  2. Create a client session with currency_details: true and the customer’s country
  3. Receive formatted amounts ready to display—no formatting logic needed
  4. Display in your checkout using formatted_amount values directly
When you update pricing in the Dashboard, your checkout copy adjusts automatically—no code changes required.

Enable Local Pricing

Add currency_details: true to your client session options:
Currency details are optional. When disabled, responses remain lightweight without formatting data.

Response Structure

The currency_details.plan object contains pricing at two levels:

Example: Building Checkout Copy

Use the client session response to build professional checkout copy. Hover over to see which API field they come from.
Show the customer their local currency equivalent and inform them they’ll be charged in your payment currency:Your subscription will renew at every (charged ) automatically until you cancel.Total Today: for Trial
You’ll be charged . Full price starts after your trial ends on .

Exchange Rates

Exchange rates are markup-free and updated automatically by PayNext. You don’t need to manage exchange rate data in your application.

Rounded Prices

Rounded prices improve conversion rates. For example, $0.99 converts better than $0.71. The local object returns both options:
We recommend using formatted_amount_rounded for checkout displays. Rounded prices feel more intentional and typically have higher conversion rates.
Building this in code:
API response:

Currency Formatting Reference

Different currencies have different formatting rules. PayNext handles this automatically:

Response Fields Reference

object
Currency-specific pricing and display information.