Skip to main content
GET
/
accounts
/
api
/
costs
Get cost configuration
curl --request GET \
  --url https://api.upstackdata.com/accounts/api/costs \
  --header 'x-api-key: <api-key>' \
  --header 'x-pixel-id: <api-key>'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Your Upstack API key. Starts with upstack_.

x-pixel-id
string
header
required

The pixel id the request targets.

Query Parameters

type
enum<string>

Filter to a single cost type. Cost configuration type. Used to filter /api/costs.

Available options:
global_product_override,
order,
gateway,
shipping,
variable,
fixed

Response

The cost configuration (or the filtered subset).

Shape depends on ?type= — without a filter, returns the full configuration bag keyed by cost type.