1. Ödeme Başlat (Id)
Bağlı APM sağlayıcılarıyla ödeme başlatmak için kullanabileceğiniz bir metottur. Bu metod dışardan bağlantı Id bilgisine ihtiyaç duymaktadır. İlgili Id bilgisini "Liste" metoduyla edinebilirsiniz.
Last updated
{
"ApmId": 1,
"CurrencyId": 1,
"MerchantUniqueCode": "TESTMERCHANTUNIQUECODE",
"MerchantSuccessBackUrl": "https://webhook.site/38a6fa6f-3414-40db-b2a7-a6c38894b6a3",
"MerchantFailBackUrl": "https://webhook.site/38a6fa6f-3414-40db-b2a7-a6c38894b6a3",
"Amount": 1,
"Description": "test",
"IsRecurring": true,
"ExpireDay": 10,
"IsAutoCommit": true,
"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": {
"RedirectUrl": "https://dev-payment-agent.itspaywall.com/paywall/callbackapm?UniqueNumber=dd224827-8433-45f7-9454-97025e57fa9e",
"Transaction": {
"ApmTransactionId": 29,
"UniqueCode": "dd224827-8433-45f7-9454-97025e57fa9e",
"MerchantUniqueCode": "TESTMERCHANTUNIQUECODE",
"Amount": 1.0
}
}
}