Response Service

Used only in the reserve-to-invoice flow (channelId=10). Start payment with Payment Service and get the response, deliver the benefit, then call “Commit Service” to finalize. Example: Smart Fax reserves the amount via Payment Service, sends the fax, then calls Commit Service to complete payment. If benefit delivery fails (fax fails), Commit Service is not called and the user is not charged.

Endpoint:

https://apigw.tvoip.turkcell.com.tr/pgw/commitService

Request
{
    "transactionId": "66664",
    "msisdn": "9053XXXXXXXX",
    "commitToken": "12345432",
    "chand": 10
 }
Fields
FieldTypeDescription
transactionIdStringUnique id for the request
msisdnStringUser GSM number to be charged
commitTokenStringToken returned by Listener Service
paymentMethodStringUse reserve statically
channelIdStringPayment channel id
commitTokenStringProvided only for reserve&commit (channelId 10) invoice flows
Request
{
    "transactionId": "66664",
    "resultCode": 0,
    "resultDesc": "SUCCESS"
}
Description
FieldTypeDescription
resultCodeintReturn code id value
resultDescStringReturn description
transactionIdStringRequest id value