# 2. Create (WalletOwner)

## Create Limit Based on Wallet Owner

<mark style="color:yellow;">`POST`</mark>`{{WalletUrl}}/api/v1/limit/by/owner`&#x20;

{% hint style="info" %}
**Note:** To use this service, it is mandatory to include the **apikeypublic** and **apiclientpublic** parameters in the Header field.

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

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

<table><thead><tr><th width="162">Parameter</th><th width="116.0390625">Type</th><th width="139.078125">Compolsory</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>It is the general key information used to access the API.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>It is the general client key used to identify the client application.</td></tr></tbody></table>

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

```json
{
  "WalletOwnerId": "0000-0000-0000-0000-0000", // Cüzdan sahibinin kimlik bilgisi
  "LimitType": "Daily", // Daily = 1 || Monthly = 2
  "LimitCategory": "Deposit", // Deposit = 1, Withdrawal = 2, Transfer = 3, Purchase = 4, Total = 5
  "LimitApproach": "Amount", // Amount = 1, Count = 2
  "Value": 0.01,
  "CurrencyCode": "try", // usd, eur, all
  "RegionId": 1
}
```

{% endtab %}
{% endtabs %}

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

```json
{
    "IsSuccess": true,
    "IsFailure": false,
    "Value": "de358e57-523e-4dcf-8d88-6e4b9fb639a5"
}
```

{% 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 returns false if the transaction failed, and true if it was successful.</td></tr><tr><td>IsSuccess</td><td>bool</td><td>It returns true if the transaction was successful, and false if it failed.</td></tr><tr><td>Errors</td><td>Array</td><td>It is an array (list) containing the details of any errors that occurred.</td></tr><tr><td>Value</td><td>object</td><td>It is the main data object returned if the service is successful (it is a detailed object structure).</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/4.-limit-management/2.-create-walletowner.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.
