> For the complete documentation index, see [llms.txt](https://docs.iyzico.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iyzico.com/en/payment-methods/paywithiyzico/pwi-implementation.md).

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