1. Get Profit
Bring product-specific profit information
GET
{{PaymentBaseAddress}}/api/paywall/marketplace/report/earning/product
Important: In order to use the Product-Based Profit service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' section.
PaymentAPI Address
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikeypublic | string | Yes | The Public Key obtained from the merchant panel. |
apiclientpublic | string | Yes | The Public Client obtained from the merchant panel. |
productid | int | Yes | The Id information of the product related to the payment in PayWall. |
Response from the service:
Parameter | Type | Description |
---|---|---|
ErrorCode | int | Error code. It returns '0' if the transaction is successful. |
Result | bool | It returns a true or false value. If the transaction is successful, it returns 'true'. |
Message | string | If the transaction is unsuccessful, this is the message related to the error, providing language support based on the 'locale' parameter. |
Body | object | Transaction details |
Last updated