# i'mport payment flow

## 1. Direct PG integration payment flow

![Direct PG integration payment flow](/files/OOa8lvpBwQ1ktMnYnrLe)

> For direct PG integration, payment request processing generally involves **2 transactions**.
>
> 1. **Get authentication key** for payment request.
> 2. **Request payment**.
>
> This requires covering several backend development points, and facing a <mark style="color:red;">**triple challenge**</mark> of complex integration modules and sample pages and comprehending complex and inconvenient integration manuals.

## 2. i'mport payment flow

![i'mport payment flow](/files/dqcvgmnd7ecOtgX1Ypiw)

> For i'mport payment integration, the complex PG integration module part is handled by i'mport so that you can easily process payment without additional effort.


---

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