5. Update Date

You can update the payment date of the calculated profits of products for which you know the Id information.

Update date on a product basis

PUT {{PaymentBaseAddress}}/api/paywall/marketplace/earning/decrease/product

Important: To use the Product-Based Date Update service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' section.

PaymentAPI Address

ParameterTypeMandatoryDescription

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:

ParameterTypeDescription

ProductId

int

The Id (identifier) information related to the product. It is returned within the PayWall response object during payment.

ReflectionDate

DateTime

The date on which you want the profit to be deposited.

Response from the service:

ParameterTypeDescription

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

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": null
}

Last updated