PUT /fees/{id}

Creates or updates (upserts) a fee entry.

Important: This operation is experimental and may not be backward compatible.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String No

ID of the fee.

_links[] Array No

Related links.

_links[].href String No

Link URL.

_links[].rel String No

Type of link.

Valid values:

  • "self"
settlementSettings Object No

Fee settlement settings. This value overrides the gateway account financial settings of the transaction.

name String Yes

Name of the fee.

formula Object Yes

Formula that is used to calculate the fee.

updatedTime String No

Date and time when the resource is updated. This value is set automatically when the resource is updated.

filter String No

Filter that is based on the properties of the transaction and used to determine when to apply the fee.

createdTime String No

Date and time when the resource is created. This value is set automatically when the resource is created.

type String Yes

Type of fee.

Valid values:

  • "buy"
  • "sell"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.