> For the complete documentation index, see [llms.txt](https://doc.paynet.com.tr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.paynet.com.tr/english/card-save/deleting-card.md).

# Deleting Card

Used to delete the stored card.

{% hint style="success" %}
<https://api.paynet.com.tr/v1/card/delete>
{% endhint %}

{% tabs %}
{% tab title="Request Parameters" %}

| Parameters Name     | Type   | Required | Description                                                       |
| ------------------- | ------ | -------- | ----------------------------------------------------------------- |
| **card\_owner\_id** | string | yes      | Unique card holder information that has been generated by Paynet. |
| **card\_hash**      | string | yes      | Hash value of card number.                                        |
| {% endtab %}        |        |          |                                                                   |

{% tab title="Response Parameters" %}

| Parameters Name | Type   | Description                                                                                            |
| --------------- | ------ | ------------------------------------------------------------------------------------------------------ |
| **code**        | string | Code of response result. [Expr](https://doc.paynet.com.tr/genel-bilgiler/hata-kodlari/doenues-kodlari) |
| **message**     | string | Response result message.                                                                               |
| {% endtab %}    |        |                                                                                                        |

{% tab title="Request" %}

```
{  
   " card_hash ":"abcdef-8014-435e-8bcc-daf4592f3431",
   " card_owner_id ":"abc45adc20-91ba-4a29-a599-0eb18177247e "
}
```

{% endtab %}

{% tab title="Response" %}

```
{  
   "code":0,
   "message":"Başarılı İşlem"
}
```

{% endtab %}

{% tab title="Service URL" %}

| System          | URL                                                                                                                                                                                       |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Live System** | [https://api.paynet.com.tr\[/v1/card/delete](https://doc.paynet.com.tr/english/card-save/https:/api.paynet.com.tr\[/v1/card/delete)]\(<https://api.paynet.com.tr/v1/card/delete>)         |
| **Test System** | [https://pts-api.paynet.com.tr\[/v1/card/delete](https://doc.paynet.com.tr/english/card-save/https:/pts-api.paynet.com.tr\[/v1/card/delete)]\(<https://api.paynet.com.tr/v1/card/delete>) |
| {% endtab %}    |                                                                                                                                                                                           |
| {% endtabs %}   |                                                                                                                                                                                           |
