# Payment window

- [Authenticated payment](https://portone.gitbook.io/docs-en/auth/guide.md): Learn how to integrate authenticated payment through the PG payment window.
- [Definition](https://portone.gitbook.io/docs-en/auth/guide/def.md): Learn about authenticated payments in Korea.
- [1. Add i'mport library](https://portone.gitbook.io/docs-en/auth/guide/1..md): Simply by adding the i'mport library, you are half way done with setting up for authenticated payment integration.
- [2. Initialize IMP object](https://portone.gitbook.io/docs-en/auth/guide/2..md): Prepare for payment integration using the Merchant ID.
- [3. Request payment](https://portone.gitbook.io/docs-en/auth/guide/3..md): Call a payment window with required parameter values.
- [4. Process payment result](https://portone.gitbook.io/docs-en/auth/guide/4..md): Securely store the payment results.
- [Iframe method](https://portone.gitbook.io/docs-en/auth/guide/4./iframe.md): Process the payment result in a typical PC environment using an iframe.
- [Redirect method](https://portone.gitbook.io/docs-en/auth/guide/4./redirect.md): Process the payment result in a typical mobile environment using page redirection.
- [5. Verify payment information](https://portone.gitbook.io/docs-en/auth/guide/5..md): Verify the payment information for secure payment service implementation.
- [6. Complete payment](https://portone.gitbook.io/docs-en/auth/guide/6..md): Complete the payment process by returning the result (success/failure) to the user.
- [Non-authenticated payment](https://portone.gitbook.io/docs-en/auth/guide-1.md): Learn how to obtain a billing key with the credit card information and integrate immediate/subscription payments.
- [Request billing key payment](https://portone.gitbook.io/docs-en/auth/guide-1/bill.md): Request a non-authenticated payment request with the credit card information.
- [REST API](https://portone.gitbook.io/docs-en/auth/guide-1/bill/rest-api.md): Easily get a billing key using the i'mport REST API.
- [PG window](https://portone.gitbook.io/docs-en/auth/guide-1/bill/pg-window.md): Get a billing key through the payment window provided by the PG.
- [Key-in payment using card info](https://portone.gitbook.io/docs-en/auth/guide-1/page-1.md): Request payments with only card information without authentication.
- [Subscription payment using billing key](https://portone.gitbook.io/docs-en/auth/guide-1/subscription-payment-using-billing-key.md): Request subscription (scheduled) payments using the customer\_uid.
- [Payment cancellation (refund)](https://portone.gitbook.io/docs-en/auth/guide-2.md): Learn how to cancel a payment using the i'mport payment cancel API.
- [Virtual account refund](https://portone.gitbook.io/docs-en/auth/guide-2/refund.md): Request a refund for a virtual account payment.


---

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