4. Delete Card

It is recommended to perform the deletion of a stored card only through your servers (Back-End). Direct access from your applications (End User) is not recommended.

Delete Stored Card

DELETE {{Base Adres}}/paywall/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.

RelationalId1

string

Yes

The unique information associated with the card.

RelationalId2

string

No

The unique information associated with the card.

RelationalId3

string

No

The second unique information associated with the card.

UniqueCode

string

Yes

The unique identifier (ID) of the stored card.

{
    "PartnerBased": false,
    "PartnerIdentity": "",
    "RelationalId1": "1000923",
    "RelationalId2": "",
    "RelationalId3": "",
    "UniqueCode": "921245xQN85D0+Zuf7oAJv5@@@@@G86eN7RA4cX8L4hHo7Ma3hg7AW7Bq232yPyw2iVPkrt1qEw=="
}

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