cURL
curl --request GET \ --url https://api.decodahealth.com/analytics/dashboards/provider-earnings/provider-earnings \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "data": [ { "provider": { "id": "<string>", "firstName": "<string>", "lastName": "<string>", "email": "<string>", "createdDate": "2023-11-07T05:31:56Z" }, "totalSold": 123, "discounts": 123, "tips": 123, "voidAdjustments": 123, "taxes": 123, "outstandingBalances": 123, "refunds": 123, "totalEarnings": 123, "uniquePatients": 123, "uniqueLocations": 123 } ], "total": 123 }
Get provider earnings data with separate queries to avoid double counting
The tenant you are making this request on behalf of
Your api key
x >= 1
1 <= x <= 100
Successful Response
Show child attributes
Provider schema for earnings reports, allows None id for uncategorized items