2. Postpone Profit
You can extend the calculated profits of products for which you know the Id information before the reflection date and postpone your payments.
Product-specific profit deferral
PUT
{{PaymentBaseAddress}}/api/paywall/marketplace/earning/postpone/product
Important: In order to use the Product-Specific Profit Deferral service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' section. PaymentAPI Address
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikeypublic | string | Yes | The Public Key obtained from the merchant panel. |
apiclientpublic | string | Yes | The Public Key obtained from the merchant panel. |
The parameters that need to be sent to the service are as follows:
Parameter | Type | Description |
---|---|---|
ProductId | int | The Id (identifier) information related to the product. It is returned within the PayWall response object during payment. |
Day | int | The number of days by which the profit is to be deferred. When set to 10, the profit will be credited 10 days after the existing date. |
Servisten dönen cevap:
Parameter | Type | Description |
---|---|---|
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 |
Last updated