Payment Service

Payment requests start via “Payment Service,” sent through KONG.

Request fields are common across channels; channel-specific options:

Send payment requests to:

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

Request
{
	"additionalParameters": [],
	"channelId": 40,
	"itemList": [
		{
			"count": 1,
			"id": 50,
			"isRemovable": true
		},
		{
			"count": 3,
			"id": 53,
			"isRemovable": false
		}
	],
	"language": "tr",
	"msisdn": "9053XXXXXXXX",
	"paymentMethod": "reserve",
	"isDeliverable": true,
	"isBillingRequired": false,
	"transactionId": "66664"
}
Fields
FieldTypeDescription
transactionIdStringUnique id for the request
msisdnStringGSM number of the user to be charged
channelIdStringPayment channel: 10 reserve&commit, 11 direct debit, 40 credit card, 50 in-app purchase
paymentMethodStringUse reserve statically
isDeliverableBooleanIf delivery address needed, set true (per order)
isBillingRequiredBooleanIf billing address needed, set true (per order)
isRemovableBooleanIf items can be removed from cart, set true (per item)
itemListjson ListProducts to be sold. (For in-app purchase flows, itemList can contain only one element.)
Request
{
	"resultCode": 1103,
	"resultDesc": "CONSENT_REQUESTED",
	"transactionId": "6666466"
}
Aciklama
OzellikTipAciklama
resultCodeintDonus kodu id degeri
resultDescStringDonus aciklamasi
transactionIdStringIstege ait id degeri