Skip to main content
PUT
/
{walletId}
/
asset
/
{assetId}
/
operation
/
{operationId}
/
fee
/
{feeId}
cURL
curl --request PUT \
  --url https://gateway.7exchange.io/wallet/1.0.0/{walletId}/asset/{assetId}/operation/{operationId}/fee/{feeId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --header 'token: <token>' \
  --data '{
  "type": "<string>",
  "feeValue": {
    "balanceType": "<string>",
    "name": "<string>",
    "value": "<string>",
    "ownerId": "<string>",
    "instanceRef": "<string>",
    "instanceBaseRef": "<string>"
  },
  "paidBy": "<string>",
  "feeSharing": {
    "source": {
      "balanceType": "<string>",
      "name": "<string>",
      "value": "<string>",
      "ownerId": "<string>",
      "instanceRef": "<string>",
      "instanceBaseRef": "<string>"
    },
    "destination": {
      "balanceType": "<string>",
      "name": "<string>",
      "value": "<string>",
      "ownerId": "<string>",
      "instanceRef": "<string>",
      "instanceBaseRef": "<string>"
    },
    "ownerId": "<string>"
  },
  "isDynamic": true,
  "feeApiAddress": "<string>",
  "group": 123,
  "order": 123,
  "ownerId": "<string>",
  "appliedTo": "<string>",
  "feeLimit": {
    "enforcementPoint": "<string>",
    "priority": 123,
    "order": 123,
    "action": "<string>",
    "ownerId": "<string>",
    "conditions": [
      {
        "priority": 123,
        "order": 123,
        "requirementType": "<string>",
        "operation": "<string>",
        "objectRef": {
          "ownerId": "<string>",
          "name": "<string>",
          "type": 123,
          "value": "<string>"
        },
        "value": {
          "ownerId": "<string>",
          "name": "<string>",
          "type": 123,
          "value": "<string>"
        },
        "ownerId": "<string>"
      }
    ]
  },
  "defaultApiFee": {
    "balanceType": "<string>",
    "name": "<string>",
    "value": "<string>",
    "ownerId": "<string>",
    "instanceRef": "<string>",
    "instanceBaseRef": "<string>"
  }
}'
{
  "reason": "<string>",
  "path": "<string>",
  "method": "<string>",
  "message": "<string>",
  "timestamp": "<string>",
  "status": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required
token
string
required

Path Parameters

walletId
string
required
assetId
string
required
operationId
string
required
feeId
string
required

Body

application/json
type
string
feeValue
object
paidBy
string
feeSharing
object
isDynamic
boolean
feeApiAddress
string
group
integer
order
integer
ownerId
string
appliedTo
string
feeLimit
object
defaultApiFee
object

Response

Internal server error

reason
string

Reason phrase

path
string

Request path

method
string

Method type of the request

message
string

Error message

timestamp
string

Timestamp of the error

status
integer

Relevant HTTP status code