9. Ödeme Başlat
Masterpass üzerinden ödeme başlatmak için bu servisi kullanabilirsiniz
Ödeme Başlat
Parametre
Tip
Zorunlu
Açıklama
Servise gönderilmesi gereken parametreler şu şekildedir:
Parametre
Tip
Zorunlu
Açıklama
{
"SessionId": "8496433e-f36b-1410-825e-001264113a90",
"Force3D": false,
"AutoCommit": true,
"PaymentDetail": {
"Amount": 50,
"MerchantUniqueCode": "{{$guid}}",
"TrackingCode": "test1132412341412341234--1243-14-23-41-324-123-4",
"CurrencyId": 1,
"MerchantSuccessBackUrl": "https://webhook.site/2132fe83-9f0d-461d-ae18-85e9d4a8b0ec",
"MerchantFailBackUrl": "https://webhook.site/2132fe83-9f0d-461d-ae18-85e9d4a8b0ec",
"ClientIP": "34.123.2.45",
"Installment": 1,
"ChannelId": 0,
"TagId": 0,
"PayWatch": null,
"PayWatchMultipleSupport": false,
"PayWatchMultiple": null
},
"Card": {
"IsSavedCard": true,
// For SavedCard
"CardBin": "552879",
"CardMasked": "552879********08",
// For not SavedCard
"OwnerName": "test",
"Number": "5528790000000008",
"ExpireMonth": "12",
"ExpireYear": "2030",
"Cvv": "123",
// Common Params
"SaveCard": false,
"CardAlias": "55daa93d-4a99-45de-9431-bb93d0bbf92e" // For saved and saving card
},
"Customer": {
"IdentityNumber": "11111111110"
},
"Products": [
{
"MemberId": 994,
"MemberEarningCalculated": false,
"MemberEarning": 138,
"MemberCustomCommission": false,
"MemberCommission": 5,
"ProductId": "1-1-1-1234342342------1--7-8-9",
"ProductName": "Nakliye Hizmeti",
"ProductCategory": "123",
"ProductDescription": "Nakliye 123",
"ProductAmount": 50,
"DiscountOwnerType": 0,
"DiscountType": 0,
"DiscountValue": 0,
"CargoType": 0,
"CargoCurrencyId": 0,
"CargoCost": 0
}
]
}Parametre
Tip
Açılama
Last updated