PWI-Initialize
After making the request mentioned below, you will receive the payWithIyzicoPageUrl value, which is a unique page where your customers will be directed to Pay with iyzico. Your customers will be automatically redirected to the callBackUrl you specified in the Pay-with-iyzico init request after completing the payment process.
You can display the generated link as a button, link, or div on your payment page. The token received with the link can be stored at this stage or when it is posted to callBackUrl if the customer continues the payment process. Please note that the generated link and token values are valid for 30 minutes. If no payment is received during this period, the token will expire.
By incorporating these features, you can provide a seamless payment experience for your customers, with real-time feedback on the success or failure of their transactions.
Starts a PWI session; returns the token and page URL for redirection.
Authorization header; starts with IYZWSv2 and is a signed hash in Base64.
IYZWSv2 aXBzaWduYXR1cmU...application/jsonLanguage code. Default; tr
enPossible values: Request/response correlation ID.
conversationIDBasket total amount.
10Basket ID.
basketIDPayment group.
PRODUCTPossible values: URL to redirect after the transaction.
callbackUrlCurrency. Default; TRY.
TRYPossible values: Amount to be collected.
10Payment channel.
WEBPossible values: Successful response (PWI initialized)
Bad request / validation error
Sample Codes
Last updated
