# 토스간편결제 설정

## 일반**결제**

{% tabs %}
{% tab title="테스트 결제" %}

### 테스트 환경 구성방법

[아임포트 관리자 콘솔](https://admin.iamport.kr/)→ 시스템설정 → PG설정(**일반결제 및 정기결제**) → PG사 \[간편결제]토스 선택 → <mark style="color:red;">**테스트모드 \[ON]**</mark> → 테스트 apikey 입력 > \[전체 저장] 클릭

> * 테스트 상점아이디 : **tosstest**&#x20;
> * 테스트 apiKey : **sk\_test\_w5lNQylNqa5lNQe013Nq**

![테스트 설정 예시](/files/1KjFgVj8h8ysisZQPCkL)
{% endtab %}

{% tab title="실 결제" %}

### **실** 환경 구성방법

**테스트모드&#x20;**<mark style="color:red;">**OFF**</mark> 처리 이후 카드사 심사 완료 후 토스페이에서 발급받은 실상점 정보로 설정 해야 합니다.

![실 환경 정보 설정 예시](/files/loeRY0Id2IZ3MHJYZFgt)
{% endtab %}
{% endtabs %}

{% hint style="warning" %}
**아임포트는 토스 간편결제 정기결제를 지원하지 않습니다.**
{% endhint %}


---

# 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/pg/undefined-1.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.
