PWI-Retrieve

When the card details are entered in the payment form and the "Pay X TL" button is pressed, iyzico will redirect to the callbackUrl address that you specified during the creation of the payment form. At this address, a token value will be posted by iyzico. To view additional details about the payment results, a second query must be made using this token.

Following service represents the usage of token;

Pay with iyzico (PWI) — Retrieve

post

Queries the PWI transaction result by token.

Header parameters
AuthorizationstringRequired

Authorization header; starts with IYZWSv2 and is a signed hash in Base64.

Example: IYZWSv2 aXBzaWduYXR1cmU...
Content-TypestringRequiredExample: application/json
Body
localestring · enumOptional

Language code. Default; tr

Example: enPossible values:
conversationIdstringOptional

Request/response correlation ID.

Example: 8152109759
tokenstringRequired

Token of the PWI session to be retrieved.

Example: da7431f4-89fc-4f65-8533-d83a4fede7d9
Responses
200

Successful response (payment completed)

application/json
post
/payment/iyzipos/checkoutform/auth/ecom/detail

Sample Codes

Last updated