curl --request POST \
--url https://gateway.varchev.com/wallet/{walletId}/asset/{assetId}/operation/{operationId}/fee \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"paidBy": "source",
"feeSharing": {
"destination": [
null,
null
]
},
"appliedTo": "base",
"feeApi": "feeApi",
"feeValue": {
"balanceType": "current",
"name": "name",
"instanceRef": {
"refferTo": ""
},
"value": "value"
},
"type": "fixed",
"group": 5.637376656633329,
"order": 2.3021358869347655
}'
{
"walletId": "walletId",
"assetId": "assetId",
"oprationFee": {
"paidBy": "source",
"feeSharing": {
"destination": [
null,
null
]
},
"appliedTo": "base",
"feeApi": "feeApi",
"feeValue": {
"balanceType": "current",
"name": "name",
"instanceRef": {
"refferTo": ""
},
"value": "value"
},
"type": "fixed",
"group": 5.637376656633329,
"order": 2.3021358869347655
},
"tenantId": "tenantId"
}
curl --request POST \
--url https://gateway.varchev.com/wallet/{walletId}/asset/{assetId}/operation/{operationId}/fee \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"paidBy": "source",
"feeSharing": {
"destination": [
null,
null
]
},
"appliedTo": "base",
"feeApi": "feeApi",
"feeValue": {
"balanceType": "current",
"name": "name",
"instanceRef": {
"refferTo": ""
},
"value": "value"
},
"type": "fixed",
"group": 5.637376656633329,
"order": 2.3021358869347655
}'
{
"walletId": "walletId",
"assetId": "assetId",
"oprationFee": {
"paidBy": "source",
"feeSharing": {
"destination": [
null,
null
]
},
"appliedTo": "base",
"feeApi": "feeApi",
"feeValue": {
"balanceType": "current",
"name": "name",
"instanceRef": {
"refferTo": ""
},
"value": "value"
},
"type": "fixed",
"group": 5.637376656633329,
"order": 2.3021358869347655
},
"tenantId": "tenantId"
}
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
.