Skip to Content
API ReferenceCharges

Retrieve the charge summary

Total your completed charges for a date range and compare them with the period before.

See how much your store collected through completed charges in a date range, how many charges completed, and how both compare with the period of the same length just before it. Dates are whole days in your store's time zone. Revenue is in integer minor units of your store currency, so 12450 means $124.50 in USD.

GET
/v2/charges/summary

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Query Parameters

preset?string

A named range in the store's time zone: today, yesterday, this_week, last_week, this_month, last_month, last_7_days, last_30_days (the default), or all_time. this_week, this_month, and the last_*_days presets end today. all_time starts on the day the store was created or took its first order, whichever is earlier. Ignored when start_date or end_date is sent.

Default"last_30_days"
Value in"today""yesterday""this_week""last_week""this_month""last_month""last_7_days""last_30_days""all_time"
start_date?string

First day of the range, YYYY-MM-DD, in the store's time zone. Inclusive. Sent without end_date, the range runs to the end of today.

Formatdate
end_date?string

Last day of the range, YYYY-MM-DD, in the store's time zone. Inclusive. Sent without start_date, the range starts on the day the store was created or took its first order, whichever is earlier.

Formatdate

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/charges/summary' \  -H 'X-STORE: launch-lab'
{  "data": {    "period": {      "preset": "last_30_days",      "start_date": "2026-08-06",      "end_date": "2026-09-04",      "timezone": "America/New_York",      "currency": "USD"    },    "compared_with": {      "start_date": "2026-07-07",      "end_date": "2026-08-05"    },    "revenue": {      "currency": "USD",      "total_cents": 12450,      "previous_total_cents": 9960,      "formatted": "$124.50",      "previous_formatted": "$99.60",      "trend": "25%",      "trend_up": true    },    "completed_charges": {      "count": 6,      "previous_count": 5,      "trend": "20%",      "trend_up": true    }  }}