3. Increase Earnings
You can list your earnings records and increase the amount of the related earning.
Increase earnings by Earning ID (EarningId)
PUT
{{Base Adres}}/api/paywall/marketplace/earning/increase/id
To perform this operation, the earning must not have been paid yet. Otherwise, the Paywall service will return an error message.
apikeypublic
string
Yes
Public Key obtained from the merchant panel.
apiclientpublic
string
Yes
Public Client obtained from the merchant panel.
The parameters to be sent to the service are as follows:
Id
int
Earning ID information
Earning
decimal
The amount by which you want to increase the earnings
Response returned from the service:
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": null
}
Last updated