3. Create (Wallet)
You can use this service to apply limits on a wallet basis.
Create Limit Based on Wallet
POST
{{WalletUrl}}/api/v1/limit/by/wallet
The parameters that need to be sent to the service are as follows:
Parameter
Type
Required
Description
apikeypublic
string
Yes
It is the general key information used to access the API.
apiclientpublic
string
Yes
It is the general client key used to identify the client application.
{
"WalletId": "0000-0000-0000-0000-0000", // Cüzdan 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
}
{
"Value": "7e39fab1-2692-4895-b920-3b7df7e1563d",
"Errors": [],
"IsSuccess": true,
"IsFailure": false
}
Service Response
Parameter
Type
Description
IsFailure
bool
It returns false if the transaction failed, and true if it was successful.
IsSuccess
bool
It returns true if the transaction was successful, and false if it failed.
Errors
Array
It is an array (list) containing the details of any errors that occurred.
Value
object
It is the main data object returned if the service is successful (it is a detailed object structure).
Last updated