# Customize payment options at checkout

Payment method customization lets you control which payment options appear at checkout, and how they’re displayed, based on specific conditions. You can hide, reorder, or rename payment methods to suit your business needs.

For example, you can show American Express first for U.S. customers, hide certain methods for low-value orders, or rename a payment method to reflect a local preference. This allows you to tailor the checkout experience based on factors like customer location or order value.

## In this section

* [Creating a payment option customization function](#creating-a-payment-option-customization-function)
* [Example of a payment option customization function](#example-of-a-payment-option-customization-function)

## Creating a payment option customization function

### Step 1 of 3:

1. From the Function Junction dashboard, click **Create new campaign**.
2. Under **Create campaign**, click **Start from scratch.**
3. Beside **Customize Payment Options at Checkout**, click **Continue**.
4. Under **Function name**, give your discount a unique name so you can identify it later.
5. Under **Condition type**, click the drop-down and select one of the following:
   1. **Standard:** The most commonly used and well-balanced settings.
   2. **Delivery:** For conditions that are more related to shipping and delivery.
6. Click **Next.**

### Step 2 of 3:

1. Define the condition that activates the function:
   1. From the drop-down menu, select the condition that you want the function to be based on, like `cart has items`, then `product/variant` `is any`, then select the products you want, and `selected items quantity` `is greater than` `1`
   2. Optional: Click **Add a condition** to add any additional conditions that you want.
   3. Click **Next.**

### Step 3 of 3:

1. Customize the payment method based on your conditions. Click Add a rule under any of the following:
   1. **Rename payment methods**
   2. **Reorder payment methods**
   3. **Hide payment methods**
2. Enter the condition that you want based on the rule that you chose. It will differ depending on the rule.&#x20;
3. Click **Publish**.

***

### Example of a payment option customization function

In this example, Max has several payment methods for his store. He has regular credit cards as a method, PayPal, and Klarna for a buy now, pay later option. Max decides he only wants to show Klarna as a payment option if the cart subtotal exceeds $500.

* **Function name**: In this case, Max would give his function a name like `Hide Klarna orders under $500` so that he can identify it later.
* **Condition type**: Since he wants this to apply to a cart subtotal, not related to delivery, he would leave the condition type set to **Standard**.
* **Conditions**: In step 2, because he wants this to be exclusive to carts with less than $500 worth of product, he needs to add the condition:
  * `if` `cart subtotal` `is less than` `$500`
* **Payment method rule**: In step 3, Max would **Add a rule** under **Hide payment methods**. He would enter `payment method name` `contains` `Klarna`, and he'd also leave **Hide in** set to `all`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.functionjunctionapp.com/function-types/customize-payment-options-at-checkout.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
