Skip to main content
POST
/
v1
/
checkout_fees
Create
curl --request POST \
  --url https://{defaultHost}/v1/checkout_fees \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "checkout_fee": {
    "amount": 10,
    "description": "Setup fee",
    "checkout": "8bfa2873-be68-46df-9d0a-1f5ef936987e"
  }
}
'
{
  "id": "f301ef1f-0d36-4de7-994f-15a27d7978ee",
  "object": "checkout_fee",
  "amount": 10,
  "description": "Setup fee",
  "fee_type": "manual",
  "checkout": "8bfa2873-be68-46df-9d0a-1f5ef936987e",
  "created_at": 1767909678,
  "updated_at": 1767909678
}

Authorizations

Authorization
string
header
required

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

Body

application/json
checkout_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 checkout fee.

fee_type
string

The type of checkout_fee – one of auto or manual.

checkout

Expandable – The associated checkout 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.