Approve

Approve Item

post

To approve an item, provide the split id (paymentTransactionId). The id is returned by the payment service.

Header parameters
AuthorizationstringRequired

Authorization header; a signed hash value that starts with IYZWSv2 and is generated in Base64 format.

Example: IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=
Content-TypestringRequired

Request body content type.

Example: application/json
Body
localestring · enumOptionalExample: enPossible values:
conversationIdstringOptionalExample: conversationId
paymentTransactionIdstringRequired

Split id to be approved.

Example: 27206433
Responses
200

Successful 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"
}

Dissapprove

post

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
AuthorizationstringRequired

Authorization header; a signed hash value that starts with IYZWSv2 and is generated in Base64 format.

Example: IYZWSv2 YXBpS2V5OnNhbmRib....E0OGI1MTE=
Content-TypestringRequired

Request body content type.

Example: application/json
Body
localestring · enumOptionalExample: enPossible values:
conversationIdstringOptionalExample: conversationId
paymentTransactionIdstringRequired

Split id whose approval will be revoked.

Example: 27206433
Responses
200

Successful 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