4. Delete

You can delete your cards.

Delete Card

DELETE {{Base Address}}/api/paywall/card/production/delete

Simply making a request to the address provided above will suffice. You can use the 'Base Address' as you wish for both the Test environment and the Production environment.

Important: In order to use the Card - Delete service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' section.

PaymentAPI Address

Please provide the English translation of this sentence:

Parameter
Type
Compulsory
Description

apikeyprivate

string

Yes

Private Key obtained from the merchant dashboard

apiclientprivate

string

Yes

Private Client obtained from the merchant dashboard

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

Parameter
Type
Compulsory
Description

CardId

int

Yes

The Id information of the card in Paywall. Returns at creation time.

{
    "CardId": 12
}

Response returned from the service:

Parameter
Type
Description

Body

object

Returns null. No details provided

ErrorCode

int

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

Result

bool

It returns a true or false value. It returns 'true' if the operation is successful.

Message

string

If the operation fails, this is the specified error message, providing language support based on the locale parameter.

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

Last updated