5. Update Date

You can list your earnings records and update the date when the selected earning will be paid.

Update earning date by earning ID (EarningId)

PUT {{Base Adres}}/api/paywall/marketplace/earning/reflection/id

Important: To use the Update Earning Payment Date service, you need to send the apikeypublic and apiclientpublic parameters in the header. PaymentAPI Address

Parameter
Type
Compolsory
Description

apikeypublic

string

Yes

Public Key obtained from your merchant panel

apiclientpublic

string

Yes

Public Client obtained from your merchant panel

Parameters to be sent to the service are as follows:

Parametre
Tip
Açıklama

Id

int

The ID (identifier) of the earning

ReflectionDate

DateTime

The date when you want the earning to be paid

Response returned from the service:

Parameter
Type
Description

ErrorCode

int

Error code. Returns '0' if the operation is successful.

Result

bool

Returns true or false. Returns 'true' if the operation is successful.

Message

string

If the operation fails, this is the message related to the error. Provides language support based on the locale parameter.

Body

object

Operation detail information

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

Last updated