# NICE Payments

## Authenticated payment

{% tabs %}
{% tab title="Test" %}

### **Test environment setup**

1. [i'mport Admin console](https://admin.iamport.kr)→ **Payment integration** → **Test settings** → Select PG (**NICE Payments**) → **NICE Payments** -> **Add**&#x20;
2. Check the auto-generated test MID value and click **Save**

> A payment is made on the i'mport test MID account.

![Payment integration → Test settings → Select PG (NICE Payments) → NICE Payments -> Add](/files/P5bRa3mDHOfEvz9iZOHA)

![Check the auto-generated MID value and click Save](/files/lEEACamXcfspax1QZzfs)

In NICE Payments test mode, the following payment methods are **not supported**.&#x20;

* &#x20;Credit card: NH card, KB Kookmin card&#x20;
* &#x20;Mobile micropayments: KT

{% hint style="info" %}
**Payments made in NICE Payments test mode are cancelled daily between 23:00\~23:50.**

Since cancelled transactions are not automatically reflected in i'mport, it is recommended that you submit a cancellation request after testing.
{% endhint %}
{% endtab %}

{% tab title="Live" %}

### Live environment setup

1. **Payment integration -> Live settings**
2. Select PG (**NICE Payments**) → **NICE Payments** -> **Add**
3. Enter merchant info issued by NICE Payments upon approval by the credit card company.

![ Payment integration -> Live settings](/files/tFtyB6mXX73UX05yqlQG)

![Select PG (NICE Payments) → NICE Payments -> Add](/files/eGPBBSlzG6PlIDkeRZl4)

![Enter merchant info issued by NICE Payments upon approval by the credit card company](/files/Djzfoble7HTA8ExAZFAZ)

{% hint style="info" %}
**Precautions when using virtual accounts**

You must log in to the NICE Payments Admin page and set the **virtual account deposit notification URL**. (If omitted,  deposit will not be applied.)
{% endhint %}
{% endtab %}
{% endtabs %}

## Non-authenticated payment

i'mport currently **only supports API method** for NICE Payments non-authenticated payments.

{% tabs %}
{% tab title="API" %}

### **Test environment setup**

1. [i'mport Admin console](https://admin.iamport.kr)→ **Payment integration** → **Test settings** → Select PG (**NICE Payments**) → <mark style="color:red;">**NICE Payments API**</mark> -> **Add**&#x20;
2. Check the auto-generated test MID value and click **Save**

![Payment integration → Test settings → Select PG (NICE Payments) → NICE Payments API -> Add](/files/dioSOETHbou8mmcMWlBn)

![Check the auto-generated test MID value and click Save](/files/Fy7qLhcYibftaHAm255e)

###

### Live environment setup

* **Payment integration -> Live settings**
* Select PG (**NICE Payments**) → <mark style="color:red;">**NICE Payments API**</mark> -> **Add**
* Enter merchant info issued by NICE Payments upon approval by the credit card company

![Payment integration -> Live settings](/files/McH6DJhcBSyLvrG5ovHp)

![Select PG (NICE Payments) → NICE Payments API -> Add ](/files/XyICCJRZnPj4St76dhQl)

![Enter merchant info issued by NICE Payments upon approval by the credit card company](/files/g3sRQL1EEY8IGKtZrqTh)
{% endtab %}
{% endtabs %}


---

# 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://portone.gitbook.io/docs-en/ready/2.-pg/payment-gateway-settings/nice-payments.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.
