Skip to main content
POST
/
v1
/
fees
Create
curl --request POST \
  --url https://{defaultHost}/v1/fees \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fee": {
    "amount": 10,
    "description": "Setup fee",
    "line_item": "e6818e32-542a-40ce-8019-5ade384a4e8d"
  }
}
'
{
  "id": "3cb5e502-f29c-4b7b-953e-0a94c5b8b885",
  "object": "fee",
  "amount": 10,
  "description": "Setup fee",
  "fee_type": "manual",
  "line_item": "e6818e32-542a-40ce-8019-5ade384a4e8d",
  "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.

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.