3. Delete Debt

In cases such as shipping fees, discounts, etc., you can delete the debts of sub-merchants in your payments whenever needed.

Delete Debt

DELETE {{Base Adres}}/api/paywall/marketplace/debt/delete/id

Important: To use the Delete Debt service, you must include the parameters apikeypublic and apiclientpublic in the Header section. PaymentAPI Address

Parameter
Type
Compolsory
Description

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:

Parameter
Type
Desciption

Id

int

The ID information of the debt.

Response returned from the service:

Parameter
Type
Description

ErrorCode

int

Error code. Returns '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