1.Retrieve the discount
You can retrieve the discount information applied to the payment's product through this service.
View Product Discount Information
GET
{{PaymentBaseAddress}}/api/paywall/product/discount
Important: To use the Discount Information Retrieval service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' section.
PaymentAPI Address
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikeyprivate | string | Yes | The Private Key obtained from the merchant panel. |
apiclientprivate | string | Yes | The Private Client obtained from the merchant panel. |
productid | int | Yes | Product's identification (ID) information |
Servisten dönen cevap:
Parameter | Type | Description |
---|---|---|
ErrorCode | int | Error code. It returns '0' if the operation is successful. |
Result | bool | It returns a true or false value. It returns 'true' if the operation is successful. |
Message | string | If the operation is in error, this is the specified message for that error, providing language support based on the 'locale' parameter. |
Body | object | Transaction details |
Last updated