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

Important: To use the Increase Earnings service, you must include the apikeypublic and apiclientpublic parameters in the Header section. PaymentAPI Address

Parameter
Type
Compolsory
Description

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:

Parameter
Type
Description

Id

int

Earning ID information

Earning

decimal

The amount by which you want to increase the earnings

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": null
}

Last updated