Skip to main content
PATCH
/
v1
/
fees
/
{id}
Update
curl --request PATCH \
  --url https://{defaultHost}/v1/fees/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fee": {
    "amount": 25
  }
}
'
{
  "id": "dfe27946-540d-4dd1-b1ea-9ef44811d155",
  "object": "fee",
  "amount": 25,
  "description": "Transaction Fee",
  "fee_type": "manual",
  "line_item": "2852a418-3bcf-4ef8-8ed7-e2d1f6c5082b",
  "created_at": 1767909701,
  "updated_at": 1767909701
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
fee
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

amount
integer

The amount in cents to be added or subtracted, represented as an integer. For example 9900 is equivalent to $99.

description
string

A short description of the fee.

fee_type
string

The type of fee – one of auto, bump, manual, setup, upsell.

line_item

Expandable – The associated line item ID.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.