1. Increase Debt
You can increase the debts of sub-merchants arising in your payments (such as shipping, discounts, etc.) when additional new costs occur.
Increase Debt
PUT
{{Base Adres}}/api/paywall/marketplace/debt/increase/id
To perform the relevant operation, the debt must not have been paid. Otherwise, the Paywall service will return an error message.
apikeypublic
string
Yes
The Public Key you obtained from the merchant panel.
apiclientpublic
string
Yes
The Public Client you obtained from the merchant panel.
The parameters that must be sent to the service are as follows:
Id
int
The ID information of the debt.
Debt
decimal
The amount you want to increase the debt by.
Response returned from the service:
ErrorCode
int
Error code. Returns a value of '0' if the operation is successful.
Result
bool
Returns a value of true or false. If the operation is successful, it returns 'true'.
Message
string
If the operation fails, this is the message describing the error. Language support is provided based on the locale parameter.
Body
object
Transaction detail information.
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": null
}
Last updated