Approve
To approve an item, provide the split id (paymentTransactionId). The id is returned by the payment service.
Header parameters
AuthorizationstringRequiredExample:
Authorization header; a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=Content-TypestringRequiredExample:
Request body content type.
application/jsonBody
localestring · enumOptionalExample:
enPossible values: conversationIdstringOptionalExample:
conversationIdpaymentTransactionIdstringRequiredExample:
Split id to be approved.
27206433Responses
200
Successful response
application/json
statusstring · enumOptionalExample:
successPossible values: localestring · enumOptionalExample:
enPossible values: systemTimeintegerOptionalExample:
1756115925593conversationIdstringOptionalExample:
conversationIdpaymentTransactionIdstringOptionalExample:
27206433400
Error response
application/json
post/payment/iyzipos/item/approve
POST https://api.iyzipay.com/payment/iyzipos/item/approve
Authorization: IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=
Content-Type: application/json
{
"locale": "en",
"conversationId": "conversationId",
"paymentTransactionId": "27206433"
}
{
"status": "success",
"locale": "en",
"systemTime": 1756115925593,
"conversationId": "conversationId",
"paymentTransactionId": "27206433"
}To disapprove a product, the related paymentTransactionId must be provided in the request. The id (paymentTransactionId) of the disapproved payment transaction will be returned in the response.
Header parameters
AuthorizationstringRequiredExample:
Authorization header; a signed hash value that starts with IYZWSv2 and is generated in Base64 format.
IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=Content-TypestringRequiredExample:
Request body content type.
application/jsonBody
localestring · enumOptionalExample:
enPossible values: conversationIdstringOptionalExample:
conversationIdpaymentTransactionIdstringRequiredExample:
Split id whose approval will be revoked.
27206433Responses
200
Successful response
application/json
statusstring · enumOptionalExample:
successPossible values: localestring · enumOptionalExample:
enPossible values: systemTimeintegerOptionalExample:
1756115925593conversationIdstringOptionalExample:
conversationIdpaymentTransactionIdstringOptionalExample:
27206433400
Error response
application/json
post/payment/iyzipos/item/disapprove
POST https://api.iyzipay.com/payment/iyzipos/item/disapprove
Authorization: IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=
Content-Type: application/json
{
"locale": "en",
"conversationId": "conversationId",
"paymentTransactionId": "27206433"
}
{
"status": "success",
"locale": "en",
"systemTime": 1756115925593,
"conversationId": "conversationId",
"paymentTransactionId": "27206433"
}Last updated
