1. Ödeme Oluştur
Bağlı APM sağlayıcılarıyla ödeme başlatmak (QR Tabanlı) için kullanabileceğiniz bir yöntemdir. İlgili yöntem aracılığıyla kullanıcılara QR Kod gösterilerek ödemeler gerçekleştirilmektedir
Last updated
{
"ApmKey": "papara",
"ApmConnectionId": null, // Eğer bağlantı kimlik Id'sini biliyorsanız
"CurrencyId": 1,
"MerchantUniqueCode": "55555454544333545435",
"UserRedirectUrl": "https://merchantsite.com/?paymentId=13114141",
"MerchantSuccessBackUrl": "https://merchantsite.com/callback/success",
"MerchantFailBackUrl": "https://merchantsite.com/callback/fail",
"Amount": 1,
"Description": "PW test",
"Payer": {
"Fullname": "",
"CardNumber": "",
"CardId": "",
"Phone": "",
"Email": "",
"UserIdentity": "",
"ConsumerIdentity": "",
"Birthday": null
},
"Products": [
{
"ProductId": "123",
"ProductName": "Name",
"ProductCategory": "Food",
"ProductDescription": "Description of Product",
"ProductAmount": 1
}
]
}{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": {
"ApmKey": "ProviderKey",
"ApmConnectionId": 62,
"ApmTransactionId": 11676,
"UniqueCode": "273162b1-ffae-45c6-9e22-724ca27f826a",
"MerchantUniqueCode": "55555454544333545435",
"Amount": 1.0,
"QrDetail": {
"FormatType": 1,
"Content": "%BASE64CONTENT%"
}
}
}