4. Update
This service should be used to update an existing record in the system.
Update Wallet
PUT
{{WalletUrl}}/api/v1/wallet
The parameters that must be sent to the service are as follows:
apikeypublic
string
Yes
It is the public key used for authentication during API access.
apiclientpublic
string
Yes
It is the key value used to specify the identity of the API client.
{
"Id": "0000-0000-0000-0000-0000",
"Name": "cüzdanın güncellenen ismi"
}
{
"Value": {
"Id": "30bac1c0-ad6b-4c50-a52e-1b34f9b487a7",
"WalletOwnerId": "b5708099-be62-4d34-af06-27132082eb78",
"Name": "juzdan1",
"Alias": "8203287943",
"MerchantId": 2071,
"RegionId": 1,
"CurrencyCode": "TRY",
"Balance": 1.00,
"AvailableBalance": 1.00,
"TotalGiftBalance": 0,
"BlockedBalance": 0,
"FrozenUntil": "0001-01-01T00:00:00",
"IsFrozen": false,
"IsDeleted": false,
"CreatedAt": "2025-04-24T09:05:47.980805Z",
"UpdatedAt": "2025-04-25T10:01:20.870433Z",
"TransactionId": null
},
"Errors": [],
"IsSuccess": true,
"IsFailure": false
}
Service Response
IsFailure
bool
It is the control field that determines whether the operation has resulted in failure or not.
IsSuccess
bool
It is the flag value that indicates whether the API call was successfully completed.
Errors
Array
It is the list structure containing the error details that occurred during the service operation.
Value
Array<Items>
It is the list of data returned after successful calls.
Service Response (Value)
Id
Guid
It is the unique identifier number of the object registered in the system.
WalletOwnerId
Guid
It is the unique identity of the relevant wallet owner.
Name
string
It is the field representing the wallet owner's name or company name.
Alias
string
It is the alternate name or short name assigned to the wallet.
MerchantId
Guid
It is the merchant ID associated with the wallet owner.
RegionId
string
It is the code representing the region where the wallet is registered.
CurrencyCode
string
It is the international code of the currency used in the wallet.
Balance
decimal
Shows the total balance amount on the wallet
AvailableBalance
decimal
Indicates the currently available balance amount for transactions.
TotalGiftBalance
decimal
Represents the total amount of gift balance.
BlockedBalance
decimal
Represents the blocked balance that cannot be used.
FrozenUntil
DateTime
It is the valid date until the wallet's frozen period ends.
IsFrozen
bool
Indicates whether the wallet is in a frozen (freeze) state.
IsDeleted
bool
Indicates whether the wallet record has been deleted from the system.
CreatedAt
DateTime
It is the timestamp when the record was created in the system.
UpdatedAt
DateTime
It is the date and time when the record was last updated.
TransactionId
Guid
It is the unique identifier of the transaction record in the system.
Last updated