# 1. Create (System)

## Create System-Wide Limit

<mark style="color:yellow;">`POST`</mark>`{{WalletUrl}}/api/v1/limit`&#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>](https://developer.paywall.one/payment-orchestration-integration-document/environment)
{% endhint %}

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

<table><thead><tr><th width="162">Parameter</th><th width="79">Type</th><th width="107">Required</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>It is the user's general API key information used for service authorization.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>It is the client-specific general identity information used for service access.</td></tr></tbody></table>

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

```json
{
  "LimitType": 1, // Daily = 1 || Monthly = 2
  "LimitCategory": 1, // Deposit = 1, Withdrawal = 2, Transfer = 3, Purchase = 4, Total = 5
  "LimitApproach": 1, // Amount = 1, Count = 2
  "CurrencyCode": "try", // usd, eur, all
  "Value": 1000
}
```

{% endtab %}
{% endtabs %}

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

```json
{
    "Value": "5c9f2a4b-f4a7-486a-b3c9-b42c5b69386c",
    "Errors": [],
    "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 indicates whether the service call resulted in an error or not.</td></tr><tr><td>IsSuccess</td><td>bool</td><td>It indicates whether the service call was successfully completed or not.</td></tr><tr><td>Errors</td><td>Array</td><td>It is an array of data containing the error details that occurred during the service.</td></tr><tr><td>Value</td><td>Array&#x3C;Items></td><td>It is the list that contains the data set or returned items related to the transaction.</td></tr></tbody></table>
