# 6. Delete

## **Delete Wallet Transaction**

<mark style="color:red;">`DELETE`</mark> `{{WalletUrl}}/api/v1/wallet`&#x20;

{% hint style="info" %}
**Note:** Before calling this service, the apikeypublic and apiclientpublic parameters must be included in the Header section.

[<mark style="color:green;">**WalletAPI Address**</mark>](/payment-orchestration-integration-document/environment.md)
{% endhint %}

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

<table><thead><tr><th width="162">Parameter</th><th width="114.18359375">Type</th><th width="138.4765625">Compulsory</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>It is the public key used for access verification in API requests.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>It is the public key used for authentication of the client making the API call.</td></tr></tbody></table>

{% tabs %}
{% tab title="Service Request - JSON" %}

```json
{
  "Id": "{{walletId}}"
}
```

{% endtab %}
{% endtabs %}

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

```json
{
    "IsSuccess": true,
    "IsFailure": false
}
```

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

## **Service Response**

<table><thead><tr><th width="192">Parameter</th><th width="147.89192708333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>IsFailure</td><td>bool</td><td>It is a boolean value indicating whether the request was successful or not.</td></tr><tr><td>IsSuccess</td><td>bool</td><td>It is the information that indicates whether the API call was successfully completed or not.</td></tr><tr><td>Errors</td><td>Array</td><td>It is the dataset that lists the error messages and details encountered during the transaction.</td></tr><tr><td>Value</td><td>Array&#x3C;Items></td><td>It is the content arranged as a list of data objects returned in the service response.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.paywall.one/payment-orchestration-integration-document/wallet-services/2.-wallet/6.-delete.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
