6. Restart Recurring

Restart Recurring Payment

PUT {{Base Adres}}/api/paywall/recurring/resubscribe

Important: In order to use the Restart Recurring Payment service, you need to send 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' field.

PaymentAPI Address

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.

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

Parameter
Type
Compulsory
Description

SubscriptionMerchantCode

string

Yes

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

Sample to be sent for service JSON and example codes Sample to be sent for service

{
    "SubscriptionMerchantCode": "tesat2merchantcode"
}

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

Parameter
Type
Description

ErrorCode

int

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

Result

bool

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

Message

string

If the transaction is unsuccessful, this is the specified error message.

Body

object

No details returned.

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

Last updated