> 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="https://3756320043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBnccQ14a3b6OedaJJFT4%2Fuploads%2FrysEP47bOqNtOD6lIPYW%2FPWI_EN.png?alt=media&amp;token=03bbe66a-625a-41d6-b5bc-5b2da955f0eb" 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.
