curl --request POST \
--url https://gateway.varchev.com/wallet/{walletId}/asset/{assetId}/operation/{operationId}/limit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"action": "deny",
"priority": 0.8008281904610115,
"conditions": [
{
"priority": 1.4658129805029452,
"operation": "lessThan",
"requirementType": "kyc",
"order": 5.962133916683182
},
{
"priority": 1.4658129805029452,
"operation": "lessThan",
"requirementType": "kyc",
"order": 5.962133916683182
}
],
"enforcementPoint": [
"UI",
"UI"
],
"order": 6.027456183070403
}'
{
"walletId": "walletId",
"assetId": "assetId",
"tenantId": "tenantId",
"oprationLimit": {
"action": "deny",
"priority": 0.8008281904610115,
"conditions": [
{
"priority": 1.4658129805029452,
"operation": "lessThan",
"requirementType": "kyc",
"order": 5.962133916683182
},
{
"priority": 1.4658129805029452,
"operation": "lessThan",
"requirementType": "kyc",
"order": 5.962133916683182
}
],
"enforcementPoint": [
"UI",
"UI"
],
"order": 6.027456183070403
}
}
curl --request POST \
--url https://gateway.varchev.com/wallet/{walletId}/asset/{assetId}/operation/{operationId}/limit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"action": "deny",
"priority": 0.8008281904610115,
"conditions": [
{
"priority": 1.4658129805029452,
"operation": "lessThan",
"requirementType": "kyc",
"order": 5.962133916683182
},
{
"priority": 1.4658129805029452,
"operation": "lessThan",
"requirementType": "kyc",
"order": 5.962133916683182
}
],
"enforcementPoint": [
"UI",
"UI"
],
"order": 6.027456183070403
}'
{
"walletId": "walletId",
"assetId": "assetId",
"tenantId": "tenantId",
"oprationLimit": {
"action": "deny",
"priority": 0.8008281904610115,
"conditions": [
{
"priority": 1.4658129805029452,
"operation": "lessThan",
"requirementType": "kyc",
"order": 5.962133916683182
},
{
"priority": 1.4658129805029452,
"operation": "lessThan",
"requirementType": "kyc",
"order": 5.962133916683182
}
],
"enforcementPoint": [
"UI",
"UI"
],
"order": 6.027456183070403
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Sample Payload
The body is of type object
.
successful operation
The response is of type object
.