2. Defer Earnings

Id bilgisini bildiğiniz ürünlerin hesaplanmış kazançlarının yansıma tarihi öncesinde uzatabilir, ödemelerinizi erteleyebilirsiniz

Product-Based Earnings Deferral

PUT {{Base Adres}}/api/paywall/marketplace/earning/postpone/product

Önemli: Ürün Bazlı Kazanç Erteleme servisini kullanabilmeniz için 'Header' alanında 'apikeypublic' ve 'aTo use the service, you must include the apikeyprivate and apiclientprivate parameters in the header. 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

ProductId

int

Product ID information. It is returned in the Paywall response object at the time of payment.

Day

int

Number of days to defer the earnings. If set to 10, the earnings will be paid 10 days after the original date.

ApplyAll

bool

It affects both the earnings for the product and the platform's (your) earnings associated with the product.

Example: If TRUE is sent, both your seller's earnings and your platform earnings will be affected.

Response returned from the service:

Parameter
Type
Descripiton

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