Pay with iyzico
Starts a PWI session; returns the token and page URL for redirection.
Header parameters
AuthorizationstringRequiredExample:
Authorization header; starts with IYZWSv2 and is a signed hash in Base64.
IYZWSv2 aXBzaWduYXR1cmU...Content-TypestringRequiredExample:
application/jsonBody
localestring · enumOptionalExample:
Language code. Default; tr
enPossible values: conversationIdstringOptionalExample:
Request/response correlation ID.
conversationIDpricedecimalRequiredExample:
Basket total amount.
10basketIdstringRequiredExample:
Basket ID.
basketIDpaymentGroupstring · enumOptionalExample:
Payment group.
PRODUCTPossible values: callbackUrlstringRequiredExample:
URL to redirect after the transaction.
callbackUrlcurrencystring · enumRequiredExample:
Currency. Default; TRY.
TRYPossible values: paidPricedecimalRequiredExample:
Amount to be collected.
10paymentChannelstring · enumOptionalExample:
Payment channel.
WEBPossible values: Responses
200
Successful response (PWI initialized)
application/json
400
Bad request / validation error
application/json
post
/payment/pay-with-iyzico/initializeQueries the PWI transaction result by token.
Header parameters
AuthorizationstringRequiredExample:
Authorization header; starts with IYZWSv2 and is a signed hash in Base64.
IYZWSv2 aXBzaWduYXR1cmU...Content-TypestringRequiredExample:
application/jsonBody
localestring · enumOptionalExample:
Language code. Default; tr
enPossible values: conversationIdstringOptionalExample:
Request/response correlation ID.
8152109759tokenstringRequiredExample:
Token of the PWI session to be retrieved.
da7431f4-89fc-4f65-8533-d83a4fede7d9Responses
200
Successful response (payment completed)
application/json
400
Bad request / validation error
application/json
post
/payment/iyzipos/checkoutform/auth/ecom/detailLast updated
