> For the complete documentation index, see [llms.txt](https://developer.paywall.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.paywall.one/payment-orchestration-integration-document/card-storage-service/blacklist/2.-delete.md).

# 2. Delete

## Remove Card from Blacklist

<mark style="color:red;">`DELETE`</mark> `{{Base Adres}}/paywall/blacklist/card`

{% hint style="info" %}
Important: Card operations are high-security transactions. Therefore, you must send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field.\
\
[<mark style="color:green;">**CardWallAPI Address**</mark>](/payment-orchestration-integration-document/environment.md)
{% endhint %}

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

<table><thead><tr><th width="176">Parameter</th><th width="110.828125">Type</th><th width="154.484375">Compulsory</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeyprivate</td><td>string</td><td>Yes</td><td>The Private Key you obtained from the merchant panel.</td></tr><tr><td>apiclientprivate</td><td>string</td><td>Yes</td><td>The Private Client you obtained from the merchant panel.</td></tr></tbody></table>

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

<table><thead><tr><th width="195.82421875">Parameter</th><th width="93">Type</th><th width="162.8828125">Compulsory</th><th width="336">Description</th><th></th></tr></thead><tbody><tr><td>PartnerBased</td><td>bool</td><td>No</td><td>Valid for cards registered within the scope of Partnership.</td><td></td></tr><tr><td>PartnerIdentity</td><td>string</td><td>Yes/No</td><td>Valid for cards registered within the scope of Partnership.</td><td></td></tr><tr><td>CardNumber</td><td>string</td><td>Yes</td><td>The card number to be added to the blacklist.</td><td></td></tr><tr><td>IsSavedCard</td><td>bool</td><td>Yes</td><td>It should be sent as <strong>true</strong> if the process will proceed using a stored card.</td><td></td></tr><tr><td>UniqueCode</td><td>string</td><td>Yes/No</td><td>It is the identity information of the stored card.</td><td></td></tr></tbody></table>

{% tabs %}
{% tab title="JSON" %}
{% code lineNumbers="true" %}

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

{% endcode %}
{% endtab %}
{% endtabs %}

**The parameters returned from the service are as follows:**

<table><thead><tr><th width="189">Parameter</th><th width="100.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>ErrorCode</td><td>int</td><td>Error code. Returns '0' if the operation is successful.</td></tr><tr><td>Result</td><td>bool</td><td>Returns a true or false value. If the operation is successful, it returns 'true'.</td></tr><tr><td>Message</td><td>string</td><td>If the operation fails, this is the message describing the error and provides language support based on the locale parameter.</td></tr><tr><td>Body</td><td>object</td><td>If the operation fails, this is the detail object related to the error.</td></tr></tbody></table>

{% tabs %}
{% tab title="✅ Successful" %}
{% code lineNumbers="true" %}

```json
{
    "ErrorCode": 0,
    "Result": true,
    "Message": "Deleted from Blacklist",
    "Body": null
}
```

{% endcode %}
{% endtab %}

{% tab title="❌ Failed" %}
{% code lineNumbers="true" %}

```json
{
    "ErrorCode": 5,
    "Result": false,
    "Message": "Card not found in BlackList",
    "Body": null
}
```

{% endcode %}
{% endtab %}
{% endtabs %}
