# 카카오페이 설정

{% hint style="warning" %}
**Deprecated**

이 문서는 더 이상 관리되지 않습니다.

[PortOne 개발자센터](https://developers.portone.io/)를 이용해주세요.
{% endhint %}

## 일반**결제**

{% tabs %}
{% tab title="테스트 결제" %}
**테스트 환경 구성방법**

1. [포트원 관리자 콘솔](https://admin.portone.io/)→ 결제연동 → 테스트 연동 관리 →카카오페이 -> 카카오페이->**추가** 선택

2\. 일반결제 테스트 CID <mark style="color:red;">**TC0ONETIME**</mark> 를 확인하고 **저장**

<figure><img src="https://2409678497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwWX2hlvRZLZrXeH1aacF%2Fuploads%2FvzvGTPCvzy38w0nwAYXw%2Fimage.png?alt=media&#x26;token=b378bb7a-fa40-42cd-a6d6-fa2319c89ae0" alt=""><figcaption><p><a href="https://admin.portone.io/"><strong>포트원 관리자 콘솔</strong></a><strong>→ 결제연동 → 테스트 연동 관리 →카카오페이 -> 카카오페이->추가 선택</strong></p></figcaption></figure>

<figure><img src="https://2409678497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwWX2hlvRZLZrXeH1aacF%2Fuploads%2FCCh6O42c7XOqcYOXNdPS%2Fimage.png?alt=media&#x26;token=d579ad60-eee1-49ff-aa2a-369483ef2f04" alt=""><figcaption><p>2. 일반결제 테스트 CID <mark style="color:red;"><strong>TC0ONETIME</strong></mark> 를 확인하고 <strong>저장</strong></p></figcaption></figure>
{% endtab %}

{% tab title="실 결제" %}
**실 환경 구성방법**

1. [포트원 관리자 콘솔](https://admin.portone.io/)→ 결제연동 → 실 연동 관리 →<mark style="color:red;">**카카오페이**</mark> -> <mark style="color:red;">**카카오페이**</mark>->**추가** 선택
2. 카카오페이 계약후 발급받은 <mark style="color:red;">**일반결제용 CID**</mark> 값을 기재 후 <mark style="color:red;">**저장**</mark>합니다.

<figure><img src="https://2409678497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwWX2hlvRZLZrXeH1aacF%2Fuploads%2FRj3GoYDJR4caPRl6953V%2Fimage.png?alt=media&#x26;token=7285eb83-656b-4931-8c05-5cc840857c2c" alt=""><figcaption><p><a href="https://admin.portone.io/">포트원 관리자 콘솔</a>→ 결제연동 → 실 연동 관리 →<mark style="color:red;"><strong>카카오페이</strong></mark> -> <mark style="color:red;"><strong>카카오페이</strong></mark>-><strong>추가</strong> 선택</p></figcaption></figure>

<figure><img src="https://2409678497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwWX2hlvRZLZrXeH1aacF%2Fuploads%2FHNVthy0TcZ4SvU5tSGAN%2Fimage.png?alt=media&#x26;token=65ddc7ce-dca7-4ac0-af10-e58723ccfba2" alt=""><figcaption><p>카카오페이 계약후 발급받은 <mark style="color:red;"><strong>일반결제용 CID</strong></mark> 값을 기재 후 <mark style="color:red;"><strong>저장</strong></mark>합니다.</p></figcaption></figure>
{% endtab %}
{% endtabs %}

## 정기결제

### 카카오페이의 정기결제는 결제창 방식만 지원합니다.

{% tabs %}
{% tab title="테스트 결제" %}
**테스트 환경 구성방법**

1. [포트원 관리자 콘솔](https://admin.portone.io/)→ 결제연동 → 테스트 연동 관리 →**카카오페이** -> **카카오페이**-><mark style="color:red;">**추가**</mark> 선택
2. <mark style="color:red;">**정기결제**</mark> <mark style="color:red;">테스트 TCSUBSCRIP</mark> <mark style="color:red;">**설정하기**</mark>\*\* 선택 후 저장\*\*

<figure><img src="https://2409678497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwWX2hlvRZLZrXeH1aacF%2Fuploads%2FhZ40PNbUnBDf5t8yg4ty%2Fimage.png?alt=media&#x26;token=655c059c-6b0b-42e3-8a8b-0ba5e1ed9f2c" alt=""><figcaption><p><a href="https://admin.portone.io/">포트원 관리자 콘솔</a>→ 결제연동 → 테스트 연동 관리 →<strong>카카오페이</strong> -> <strong>카카오페이</strong>-><mark style="color:red;"><strong>추가</strong></mark> 선택</p></figcaption></figure>

<figure><img src="https://2409678497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwWX2hlvRZLZrXeH1aacF%2Fuploads%2F7e3k8rYfbLiUCmOYqtQc%2Fimage.png?alt=media&#x26;token=cc41756e-e8e1-4538-b1ee-3cce423080fc" alt=""><figcaption><p><mark style="color:red;"><strong>정기결제</strong> 테스트 TCSUBSCRIP <strong>설정하기</strong></mark><strong> 선택 후 저장</strong></p></figcaption></figure>
{% endtab %}

{% tab title="실 결제" %}
**실 환경 구성방법**

1. [포트원 관리자 콘솔](https://admin.portone.io/)→ 결제연동 → 실 연동 관리 →<mark style="color:red;">**카카오페이**</mark> -> <mark style="color:red;">**카카오페이**</mark>->**추가** 선택
2. 카카오페이 계약후 발급받은 <mark style="color:red;">**정기결제용 CID**</mark> 값을 기재 후 <mark style="color:red;">**저장**</mark>합니다.

<figure><img src="https://2409678497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwWX2hlvRZLZrXeH1aacF%2Fuploads%2FTzJOwBVTvcAA3rTVbPlZ%2Fimage.png?alt=media&#x26;token=206478f0-dc59-473d-a463-3e6c87542497" alt=""><figcaption><p><a href="https://admin.portone.io/">포트원 관리자 콘솔</a>→ 결제연동 → 실 연동 관리 →<mark style="color:red;"><strong>카카오페이</strong></mark> -> <mark style="color:red;"><strong>카카오페이</strong></mark>-><strong>추가</strong> 선택</p></figcaption></figure>

<figure><img src="https://2409678497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwWX2hlvRZLZrXeH1aacF%2Fuploads%2FQMnYfxwcA2YHgCqMnIjq%2Fimage.png?alt=media&#x26;token=bbe13339-1241-4ab9-84bb-5b61e5718fcb" alt=""><figcaption><p>카카오페이 계약후 발급받은 <mark style="color:red;"><strong>정기결제용 CID</strong></mark> 값을 기재 후 <mark style="color:red;"><strong>저장</strong></mark>합니다.</p></figcaption></figure>
{% 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/ready/2.-pg/pg/kakao.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.
