3. Deactivate

If you want to stop the payment acceptance process of the shared payment page, you can deactivate the shared payment page created via this service.

Deactivate

PUT {{BaseAddress}}/api/paywall/checkout/passive

Important: To use the Deactivate Payment service, you must include the apikeypublic and apiclientpublic parameters in the Header. PaymentAPI Address

The header information that needs to be sent to the service is as follows:

Parameters and descriptions
Parameter
Type
Compulsory
Description

apikeypublic

string

Yes

The Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client obtained from the merchant panel.

Id

int

Yes

The Id value returned in the response when creating the Shared Payment page. To perform this operation, this value must be stored in your system at the time of creation.

{
    "Id": 205334385
}

The parameters returned from the service are as follows:

Parameter descriptions
Parameter
Type
Description

ErrorCode

int

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

Result

bool

Returns true or false. If the operation is successful, it returns true

Message

string

If the operation fails, it returns the relevant error message and provides language support based on the locale parameter

Body

string

Returns the payment link under the Link parameter

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

Last updated