1. Increase Debt

You can increase the sub-merchant debts that occur in your payments (such as shipping, discounts, etc.) if additional new costs arise.

Increase Debt

PUT {{PaymentBaseAddress}}/api/paywall/marketplace/debt/increase/id

Important: In order to use the Debt Increase service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' field. PaymentAPI Address

To perform the relevant transaction, the debt must not have been paid. Otherwise, the PayWall service will return an error message.

ParameterTypeMandatoryDescription

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 need to be sent to the service are as follows:

ParameterTypeDescription

Id

int

The identity information related to the debt.

Debt

decimal

The amount you want to increase the debt by.

The response returned from the service:

ParameterTypeDescription

ErrorCode

int

Error code. If the transaction is successful, it returns '0'.

Result

bool

It returns a boolean value, either 'true' or 'false'. If the transaction is successful, it returns 'true'.

Message

string

If the transaction is erroneous, it provides a message specific to that error, with language support based on the 'locale' parameter.

Body

object

Transaction details

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

Last updated