1. Get Earnings
Retrieve earnings information based on product
GET
{{Base Adres}}/api/paywall/marketplace/report/earning/product
Parameter
Type
Compolsory
Description
apikeypublic
string
Yes
Public Key obtained from the merchant panel.
apiclientpublic
string
Yes
Public Client obtained from the merchant panel.
productid
int
Yes
ID information of the product related to the payment in Paywall
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, supporting localization based on the locale parameter.
Body
object
Detailed information about the transaction.
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": {
"PaymentId": 111222,
"ProductId": 2114065,
"ProductExternalId": "ProductId",
"ProductName": "ProductName",
"ProductAmount": 100.00,
"MerchantEarningId": 2104,
"MerchantEarning": 0.00,
"MerchantReflectionDate": "2023-09-17T00:00:00",
"SubMerchantEarningId": 2103,
"SubMerchantEarning": 99.00,
"SubMerchantReflectionDate": "2023-11-18T00:00:00",
"MerchantEarningStatusId": 10,
"MerchantPayoutTransactionId": 0,
"SubMerchantEarningStatusId": 11,
"SubMerchantPayoutTransactionId": 0
}
}
Last updated