1. Block Balance
You can use this service to define a blocked balance for a specific wallet.
Block Balance
POST
{{WalletUrl}}/api/v1/wallet/balance/blocked
The parameters to be sent to the service are as follows:
apikeypublic
string
Yes
The general key used to provide API access.
apiclientpublic
string
Yes
The public identification key specific to the API client.
{
"Id": "0000-0000-0000-0000-0000", // walletId
"Amount": 0.01,
"Description": "string"
}
{
"Value": {
"Id": "0001494f-522e-40e1-96d2-18c03caecd29",
"WalletId": "8811e7f9-7a49-43c2-9193-1c4825b81c24",
"Amount": 100,
"Description": "string",
"IsActive": true,
"CreatedAt": "2025-05-01T15:34:43.7633053Z",
"UpdatedAt": null
},
"Errors": [],
"IsSuccess": true,
"IsFailure": false
}
Service Response
IsFailure
bool
Indicates whether the operation was unsuccessful. If true, an error has occurred.
IsSuccess
bool
Indicates whether the operation was successful. If true, it has been completed successfully.
Errors
Array
A list containing the details of any errors that occurred.
Value
Array
Contains the main data content returned in the case of a successful response.
Service Response (Value)
Id
Guid
Blocked balance identification number
WalletId
Guid
Wallet identification number
Amount
decimal
Blocked amount
Description
string
Description of the blocked balance
IsActive
bool
The active status of the blocked amount
CreatedAt
DateTime
The creation date of the record
UpdatedAt
DateTime
The date when the record was last updated
Last updated