> ## Documentation Index
> Fetch the complete documentation index at: https://dodopayments-mintlify-external-integration-datafast-autosen.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Purchasing Power Parity

> Learn how to implement Purchasing Power Parity pricing with ParityDeals integration to offer location-based discounts for your customers on Dodo Payments

## Introduction

[ParityDeals](https://www.paritydeals.com/) is a platform that enables automatic pricing optimization based on a customer's geographical location, commonly known as "purchasing power parity" pricing.

With ParityDeals, you can also offer [automatic time-based discounts](https://www.paritydeals.com/features/time-based-discounts/) and [holiday-based promotions](https://www.paritydeals.com/features/holiday-based-discounts/) throughout the year.

<Info>
  While you can't directly embed the ParityDeals banner on a Dodo Payments storefront (as custom scripts aren't supported), you can still implement ParityDeals effectively on your own website or application.
</Info>

## How It Works

When ParityDeals is integrated into your website, eligible visitors will see a banner that includes a location-based discount code they can use at checkout.

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/1.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=6c4ea35d09998c5447f29e57c80d692b" alt="ParityDeals discount banner example" width="1920" height="1440" data-path="images/ppp/1.png" />
</Frame>

These discount codes are automatically created and managed by ParityDeals and will appear in your **Dodo Payments Dashboard** under **Sales → Discounts**.

## Step-by-Step Setup Guide

### 1. Sign up on ParityDeals

Visit [app.paritydeals.com](https://app.paritydeals.com/) and create an account.

### 2. Create Deals

After signing in, locate the option to create deals. From the dropdown menu, select:

**→ "Create Deals via Dodo Payments"**

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/2.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=1538b39dac3f9b4173e54c690ff004ee" alt="Creating deals via Dodo Payments" width="1920" height="1440" data-path="images/ppp/2.png" />
</Frame>

### 3. Generate a Dodo Payments API Key

Log in to your **Dodo Payments dashboard** and navigate to:

**Developers → API Keys**

Click **"Create New API"** and name it something descriptive like "ParityDeals".

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/3.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=c1a4b3dfca618175d8dc8f7be7a1cf14" alt="Creating a new API key in Dodo Payments" width="1920" height="1440" data-path="images/ppp/3.png" />
</Frame>

### 4. Connect Your API Key to ParityDeals

Copy the API key you created and paste it into the ParityDeals interface to establish the connection with your Dodo Payments account.

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/4.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=8bd308bc4470ab0f9f0d943aff769117" alt="Connecting API key to ParityDeals" width="1920" height="1440" data-path="images/ppp/4.png" />
</Frame>

### 5. Select Products

Once connected, ParityDeals will fetch your Dodo Payments product catalog. Select the products you want to associate with your deals.

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/5.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=af2dba44a0a26d3284565b93fd1a7097" alt="Selecting products for ParityDeals" width="1920" height="1440" data-path="images/ppp/5.png" />
</Frame>

### 6. Configure Deal Settings

Enter your website URL and optionally select specific target pages where the discount banner should appear.

Then choose your preferred deal type:

* Location-based deals
* Holiday deals
* Time-based flash deals

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/6.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=ab072b80b6304b814dcef26d5fd8a43c" alt="Configuring deal settings" width="1920" height="1440" data-path="images/ppp/6.png" />
</Frame>

### 7. Set Country-Based Rules

Select the countries you want to offer localized discounts to and define the discount percentage for each. ParityDeals provides recommended defaults that you can adjust as needed.

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/7.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=548737596e232787b64648c8b1c3a833" alt="Setting country-based discount rules" width="1920" height="1440" data-path="images/ppp/7.png" />
</Frame>

### 8. Customize the Banner

Design your discount banner by:

* Customizing the text
* Selecting colors and layout
* Choosing the banner position (top or bottom of page)

This banner will be displayed to eligible visitors based on your configured rules.

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/8.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=f4768c6b722a954ca54003c6594ec31c" alt="Customizing the discount banner" width="1920" height="1440" data-path="images/ppp/8.png" />
</Frame>

### 9. Add the ParityDeals Script to Your Website

After saving your deal, ParityDeals will generate a script. Add this script to your website code (typically in the `<head>` section).

This script automatically detects visitor locations and displays the appropriate discount banner.

<Frame>
  <img src="https://mintcdn.com/dodopayments-mintlify-external-integration-datafast-autosen/OHaZy74amIvhs5fd/images/ppp/9.png?fit=max&auto=format&n=OHaZy74amIvhs5fd&q=85&s=f0a025cb4638b8a9304b1122b8249c4c" alt="ParityDeals integration script" width="1920" height="1440" data-path="images/ppp/9.png" />
</Frame>

## All Set!

You're now ready to offer:

* **Location-based deals** - Adjust pricing based on purchasing power
* **Countdown/time-sensitive discounts** - Create urgency with limited-time offers
* **Holiday promotions** - Capitalize on seasonal shopping trends

All of these are automated through ParityDeals and work seamlessly with Dodo Payments.

For more detailed information, refer to the [ParityDeals Documentation](https://www.paritydeals.com/docs/) or contact their support team.
