1. Create (System)

You can use this service to apply limits system-wide.

Create System-Wide Limit

POST{{WalletUrl}}/api/v1/limit

Note: To use this service, it is mandatory to include the apikeypublic and apiclientpublic parameters in the Header field.

WalletAPI Address

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

Parameter
Type
Required
Description

apikeypublic

string

Yes

It is the user's general API key information used for service authorization.

apiclientpublic

string

Yes

It is the client-specific general identity information used for service access.

{
  "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
}
{
    "Value": "5c9f2a4b-f4a7-486a-b3c9-b42c5b69386c",
    "Errors": [],
    "IsSuccess": true,
    "IsFailure": false

Service Response

Parameter
Type
Description

IsFailure

bool

It indicates whether the service call resulted in an error or not.

IsSuccess

bool

It indicates whether the service call was successfully completed or not.

Errors

Array

It is an array of data containing the error details that occurred during the service.

Value

Array<Items>

It is the list that contains the data set or returned items related to the transaction.

Last updated