> ## Documentation Index
> Fetch the complete documentation index at: https://rabbitpay.ai/documentation/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure Zipcode Restrictions

> Restrict payment rules for selected delivery zipcodes or zipcode ranges in RabbitPay.

Use Zipcode Restrictions to apply or hide a payment rule for selected delivery zipcodes or zipcode ranges.

***

## Step 1: Open RTO Suite

1. Log in to your RabbitPay Dashboard.
2. Navigate to **RTO Suite**.
3. Click **Add payment rule** or edit an existing payment rule.

<Frame>
  <img src="https://mintcdn.com/rabbit-pay/VPJhTQq8IfDZT8ZJ/images/add-paymenr-rule-1.png?fit=max&auto=format&n=VPJhTQq8IfDZT8ZJ&q=85&s=70db55682475e6d1dbc8978d66399a38" alt="Add Paymenr Rule 1" width="1594" height="718" data-path="images/add-paymenr-rule-1.png" />
</Frame>

***

## Step 2: Configure the Payment Rule

Configure the payment rule based on your requirement.

| Field       | Value                                          |
| ----------- | ---------------------------------------------- |
| Rule Name   | Enter a customer-friendly rule name            |
| Amount Type | Percentage, Fixed Amount, Full Payment, or COD |
| Amount      | Configure according to your payment rule       |

<Frame>
  <img src="https://mintcdn.com/rabbit-pay/aypPuPfq2DPnkHv1/images/Screenshot-2026-08-06-174902-1.png?fit=max&auto=format&n=aypPuPfq2DPnkHv1&q=85&s=25660a89a4580c6f7200e2ea909f7425" alt="Screenshot 2026 08 06 174902 1" width="1595" height="681" data-path="images/Screenshot-2026-08-06-174902-1.png" />
</Frame>

> **Note:** In this guide, **Cash on Delivery (COD)** is used as an example. Zipcode Restrictions work with any payment rule.

***

## Step 3: Enable Zipcode Restrictions

Scroll down to the **Zipcode Restrictions** section.

1. Enable **Zipcode Restrictions**.
2. Enter the zipcodes where you want this payment rule to be restricted.

<Frame>
  <img src="https://mintcdn.com/rabbit-pay/aypPuPfq2DPnkHv1/images/zipcode_restriction_annotation.png?fit=max&auto=format&n=aypPuPfq2DPnkHv1&q=85&s=47d10ff9131aa6b8014ce855fc020c52" alt="Zipcode Restriction Annotation" width="1592" height="734" data-path="images/zipcode_restriction_annotation.png" />
</Frame>

> **Tip:** You can highlight the entire **Zipcode Restrictions** section with a red border and use a red arrow pointing to **Enable Zipcode Restrictions**.

***

## Step 4: Add Zipcodes

You can enter individual zipcodes, zipcode ranges, or a combination of both.

| Type                | Example                         |
| ------------------- | ------------------------------- |
| Individual Zipcodes | `560001, 560009, 734004`        |
| Zipcode Range       | `734004-734008`                 |
| Mixed               | `734004-734008, 560004, 560009` |

<Note>
  Separate multiple zipcodes using commas or new lines. Zipcode ranges are also supported.
</Note>

***

## Step 5: Save the Rule

1. Enable **Rule Enabled**.
2. Click **Save Changes**.

***

## Checkout Preview

Customers whose delivery zipcode matches the configured restrictions will not see the configured payment rule during checkout.

<Frame>
  <img src="https://mintcdn.com/rabbit-pay/aypPuPfq2DPnkHv1/images/Screenshot-2026-08-06-174049.png?fit=max&auto=format&n=aypPuPfq2DPnkHv1&q=85&s=80e7529722e7166f5fbbee6bc5d4f2ae" alt="Screenshot 2026 08 06 174049" width="1596" height="767" data-path="images/Screenshot-2026-08-06-174049.png" />
</Frame>

***

## Example Configuration

| Setting              | Value                         |
| -------------------- | ----------------------------- |
| Rule Name            | Cash on Delivery              |
| Amount Type          | COD                           |
| Zipcode Restrictions | Enabled                       |
| Restricted Zipcodes  | 734004–734008, 560004, 560009 |
| Rule Status          | Enabled                       |

***

## Result

The payment rule is now restricted to the configured zipcodes.

In this example, since the rule is configured for **Cash on Delivery (COD)**, customers whose delivery zipcode matches the configured restrictions will **not** see the **Cash on Delivery (COD)** payment option during checkout. Customers from all other eligible zipcodes will continue to see the COD payment option normally.
