2. Delete

You can use this service to remove a card from the blacklist.

Remove Card from Blacklist

DELETE {{Base Adres}}/paywall/blacklist/card

Important: Card operations are high-security transactions. Therefore, you must send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field. CardWallAPI Address

The parameters that must be sent to the service (HEADERS) are as follows:

Parameter
Type
Compulsory
Description

apikeyprivate

string

Yes

The Private Key you obtained from the merchant panel.

apiclientprivate

string

Yes

The Private Client you obtained from the merchant panel.

The parameters that must be sent to the service (BODY) are as follows:

Parameter
Type
Compulsory
Description

PartnerBased

bool

No

Valid for cards registered within the scope of Partnership.

PartnerIdentity

string

Yes/No

Valid for cards registered within the scope of Partnership.

CardNumber

string

Yes

The card number to be added to the blacklist.

IsSavedCard

bool

Yes

It should be sent as true if the process will proceed using a stored card.

UniqueCode

string

Yes/No

It is the identity information of the stored card.

{
    "PartnerBased": false,
    "PartnerIdentity": "0000-0000-0000-0000-0000",
    "IsSavedCard": true,
    "UniqueCode": "mfUpwRXYvgxCy2n4aGWT+ygqQ==",
    "CardNumber": ""
}

The parameters returned from the service are as follows:

Parameter
Type
Description

ErrorCode

int

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

Result

bool

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

Message

string

If the operation fails, this is the message describing the error and provides language support based on the locale parameter.

Body

object

If the operation fails, this is the detail object related to the error.

Last updated