3. Delete Card

Delete the Card within the Recurring Payment Membership Scope

Delete Card within Recurring Payment Scope

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

Important: In order to use the payment service, you need to send the '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

Id

int

Yes

This is the Id information returned by the service that lists registered cards.

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

{
    "Id": 1223428
}

The parameters returned from the service are as follows:

Parameter
Type
Description

ErrorCode

int

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

Result

bool

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

Message

string

This is the message specified for the error if the transaction is unsuccessful.

Body

object

No details are returned.

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

Last updated