Refund & Cancel
Used to refund a payment. The refund is executed over paymentTransactionId (per basket item). You can perform a full or partial refund for the payment amount.
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
Enables refunds over paymentId. No item breakdown is required; the system determines the basket item to refund. You can perform a full or partial refund for the payment amount.
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
Used to cancel a payment.
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
Last updated
