3. Delete Card

It is recommended to delete the registered card only through your servers (Back-End). It is not recommended to directly access your applications (End User).

Delete Card

DELETE {{Base Address}}/paywall/card

Important: Card transactions are highly secure transactions. Therefore, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field. CardWallAPI Address

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

ParameterTypeRequiredDescription

apikeyprivate

string

Yes

The Private Key you have obtained from the merchant panel

apiclientprivate

string

Yes

Private Client that you have obtained from the merchant panel

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

ParameterTypeRequiredDescription

RelationalId1

string

Yes

Unique information that the card is requested to be associated with

RelationalId2

string

No

Unique second information to be associated with the card

RelationalId3

string

No

Unique third information to be associated with the card

UniqueCode

string

Yes

Unique information (identity) of the hidden card

The parameters returned from the service are as follows:

ParameterTypeDescription

ErrorCode

int

If the operation is successful, it returns '0'

Result

bool

Returns true or false. Returns 'true' if the operation was successful

Message

string

If the operation is wrong, this is the message about the error, it provides language support according to the locale parameter

Body

object

If the operation is faulty, the detail object of this error

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

Last updated