# 결제창 연동하기

- [인증결제 연동하기](https://portone.gitbook.io/docs/auth/guide.md): PG결제창을 이용한 인증결제를 손쉽게 연동할 수 있습니다.
- [인증결제 정의](https://portone.gitbook.io/docs/auth/guide/def.md): 국내 인증결제를 소개합니다.
- [1. 포트원 라이브러리 추가](https://portone.gitbook.io/docs/auth/guide/1..md): 해당 라이브러리를 추가하면 인증결제 연동준비 50%가 완료됩니다.
- [2. 객체 초기화 하기](https://portone.gitbook.io/docs/auth/guide/2..md): 가맹점 식별코드를 이용하여 결제창 연동을 준비합니다.
- [3. 결제 요청하기](https://portone.gitbook.io/docs/auth/guide/3..md): 파라미터값을 조합하여 결제창을 호출 할 수 있습니다.
- [4. 결제결과 처리하기](https://portone.gitbook.io/docs/auth/guide/4..md): 결제결과를 안전하게 저장할 수 있는 가이드 입니다.
- [iframe 결제창 결과처리](https://portone.gitbook.io/docs/auth/guide/4./iframe.md): 대부분의 PC환경에서 적용되는 iframe 방식 결제창 환경에서의 결과처리 방법을 안내합니다.
- [redirect 결제창 결과처리](https://portone.gitbook.io/docs/auth/guide/4./redirect.md): 새로운 창으로 리디렉션되어 결제가 진행되는 환경에서의 결과 처리 방법을 안내합니다.
- [5. 결제정보 검증하기](https://portone.gitbook.io/docs/auth/guide/5.md): 안정적인 결제서비스를 제공할 수 있도록 결제결과를 검증합니다.
- [결제정보 사전 검증하기](https://portone.gitbook.io/docs/auth/guide/5/pre.md)
- [결제정보 사후 검증하기](https://portone.gitbook.io/docs/auth/guide/5/post.md)
- [6. 결제완료 처리하기](https://portone.gitbook.io/docs/auth/guide/6..md): 결제가 완료되면 사용자에게 결제 실패 유무 메세지를 작성하는 예제입니다.
- [비 인증결제 연동하기](https://portone.gitbook.io/docs/auth/guide-1.md): 카드 정보로 빌링키를 획득하고 즉시 / 정기 결제 연동하는 방법을 안내합니다.
- [빌링키 결제 요청하기](https://portone.gitbook.io/docs/auth/guide-1/bill.md): 카드정보를 이용하여 비 인증 결제를 요청하는 방법을 안내합니다.
- [REST API 이용하기](https://portone.gitbook.io/docs/auth/guide-1/bill/rest-api.md): 포트원 REST API 를 이용하여 손쉽게 빌링키를 획득할수 있습니다.
- [PG결제창 이용하기](https://portone.gitbook.io/docs/auth/guide-1/bill/pg.md): PG사에서 제공하는 결제창을 이용하여 빌링키를 획득합니다
- [카드정보를 이용한 키인결제](https://portone.gitbook.io/docs/auth/guide-1/page-1.md): 구매자 인증 없이 카드번호 입력만으로 결제가 가능합니다.
- [빌링키를 이용한 정기결제](https://portone.gitbook.io/docs/auth/guide-1/undefined.md): customer\_uid 로 정기(예약)결제 구현방법을 안내합니다.
- [결제취소(환불) 연동하기](https://portone.gitbook.io/docs/auth/guide-2.md): 포트원 결제취소 API를 이용한 결제취소 방법을 안내합니다.
- [가상계좌 환불하기](https://portone.gitbook.io/docs/auth/guide-2/refund.md): 가상계좌 입금내역을 환불하는 방법을 확인합니다.


---

# 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/auth.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.
