# PWI Implementation

<figure><img src="/files/QbWuvaYSC3RVTMCItgK6" alt=""><figcaption></figcaption></figure>

PWI technically consists of 2(two) basic steps respectively;

* [PWI - Initialize](/en/payment-methods/paywithiyzico/pwi-implementation/pwi-initialize.md)
* [PWI - Retrieve](/en/payment-methods/paywithiyzico/pwi-implementation/pwi-retrieve.md)

**PWI - Initialize** is where we start the payment process.\
While **PWI - Retrieve** step is retrieving payment result, simply.

### Implementation Steps

1. [PWI-Initialize](/en/payment-methods/paywithiyzico/pwi-implementation/pwi-initialize.md)
2. Token + URL
3. Redirection
4. [PWI-Retrieve](/en/payment-methods/paywithiyzico/pwi-implementation/pwi-retrieve.md)
5. [Webhook](/en/advanced/webhook.md)

### Top View

* [ ] Initialize; first `POST` request of managing two-step PWI transactions.
* [ ] Token + URL; To start payment process, Its expected to render `payWithIyzicoPageUrl` parameter on your browser which correlates by `token`.
* [ ] Redirection; Following up consumers' payment, iyzico triggers correlated IPN(Instant Payment Notification) to given callbackUrl.
* [ ] Retrieve; engage step to officialize transaction between Acquirer and Issuer.
* [ ] Webhook; real-time notification of relevant 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://docs.iyzico.com/en/payment-methods/paywithiyzico/pwi-implementation.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.
