3. Increase Earnings
You can list your earnings records and increase the amount of the relevant earnings.
Increase earnings with EarningId.
PUT
{{PaymentBaseAddress}}/api/paywall/marketplace/earning/increase/id
Important: To use the Earnings Increase service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' section. PaymentAPI Address
To perform the relevant transaction, the earnings must not have been deposited. Otherwise, the PayWall service will return an error message.
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. |
The parameters that need to be sent to the service are as follows:
Parameter | Type | Description |
---|---|---|
Id | int | The identifier information for earnings. |
Earning | decimal | The amount you want to increase the earnings by. |
The response returned from the service:
Parameter | Type | Açıklama |
---|---|---|
ErrorCode | int | Error code. It returns '0' if the transaction is successful. |
Result | bool | It returns either 'true' or 'false'. If the transaction is successful, it returns 'true'. |
Message | string | If the transaction is erroneous, this is the specified error message that provides language support based on the 'locale' parameter. |
Body | object | Transaction information |
Last updated