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
The earning must be unpaid to perform this operation. Otherwise, the Paywall service will return an error message.
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:
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:
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