4. Stop Recurring

Stop Recurring Payment

DELETE {{Base Adres}}/api/paywall/recurring/unsubscribe

Important: In order to use the payment service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' section.

PaymentAPI Address

ParameterTypeMandatoryDescription

apikeypublic

string

Yes

The Public Key obtained from the merchant panel

apiclientpublic

string

Yes

The Public Client obtained from the merchant panel.

The parameters that need to be sent to the service are as follows:

ParameterTypeMandatoryDescription

SubscriptionMerchantCode

string

Yes

The unique tracking number provided by your side for the recurring payment.

Sample to be sent to the service JSON and sample codes is as follows

{
    "SubscriptionMerchantCode": "tesat2merchantcode"
}

The parameters returned from the service are as follows:

ParameterTypeMandatory

ErrorCode

int

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

Result

bool

It returns a true or false value. If the operation is successful, it returns 'true'.

Message

string

If the operation is in error, this is the specified error message

Body

object

No details are provided.

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

Last updated