Skip to main content
GET
/
analytics
/
dashboards
/
payment-breakdown
/
payment-breakdown-summary
Get Payment Breakdown Summary
curl --request GET \
  --url https://api.decodahealth.com/analytics/dashboards/payment-breakdown/payment-breakdown-summary \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "groupKey": "<string>",
  "totalPayments": 123,
  "totalAmount": 123,
  "totalFee": 123,
  "totalNetAmount": 123,
  "uniquePatients": 123,
  "uniqueLocations": 123
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Query Parameters

timezone
string
required

Timezone for date grouping (e.g., 'America/New_York', 'UTC')

start_date
string | null
end_date
string | null
location_ids
string[] | null
location_names
string[] | null
payment_mediums
string[] | null
payment_statuses
string[] | null
min_amount
number | null
max_amount
number | null
comment
string | null

Response

Successful Response

Summary statistics for a specific group.

groupKey
string
required

The group key this summary belongs to

totalPayments
integer
required

Total number of payments in this group

totalAmount
integer
required

Total payment amount (formatted as currency)

totalFee
integer
required

Total fee amount (formatted as currency)

totalNetAmount
integer
required

Total net amount after fees (formatted as currency)

uniquePatients
integer
required

Number of unique patients

uniqueLocations
integer
required

Number of unique locations