Refund & Cancel
Overview
Refund
Authorization header; a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=Content type of the request body.
application/jsonBasket item (payment breakdown) identifier (paymentTransactionId) to be refunded.
27169345Unique ID for request/response correlation.
123456789IP address the request is sent from.
1.1.1.1Response language.
Amount to refund. Must not exceed the item price.
5Payment currency.
TRYSuccessful response
Error response
Sample Codes
Refund V2
Authorization header; a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=Content type of the request body.
application/jsonPayment identifier to be refunded.
25180208Unique ID for request/response correlation.
123456789IP address the request is sent from.
1.1.1.1Response language.
enPossible values: Amount to refund. Must not exceed the payment total.
5Payment currency.
TRYSuccessful response
Error response
Sample Codes
Cancel
Authorization header; a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=Content type of the request body.
application/jsonThe unique payment number assigned by iyzico for the payment you want to cancel.
25180158Unique ID for request/response correlation. Returned as-is in the response.
123456789IP address the request is sent from.
1.1.1.1Response language for iyzico messages.
enPossible values: Successful response
Error response
Sample Codes
Last updated
