1. Get Discount Information
You can retrieve the discount information applied to the payment's product again through this service.
View Product Discount Information
GET
{{Base Adres}}/api/paywall/product/discount
Parameter
Type
Compolsory
Description
apikeyprivate
string
Yes
Private Key obtained from the merchant panel.
apiclientprivate
string
Yes
Private Client obtained from the merchant panel.
productid
int
Yes
Product ID information
Response returned from the service:
Parameter
Type
Description
ErrorCode
int
Error code. Returns '0' if the operation is successful.
Result
bool
Returns a true or false value. Returns 'true' if the operation is successful.
Message
string
If the operation fails, this is the message describing the error, and it supports localization based on the locale parameter.
Body
object
Detailed information about the transaction
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": {
"Id": 465174,
"DiscountOwnerType": 1,
"DiscountType": 1,
"DiscountValue": 100.00
}
}
Last updated