API Reference
Log In
API Reference

Trigger Historical Billing Refresh

Triggers an asynchronous historical billing refresh for the given provider credentials, taken
from a JSON body so a team with many credentials is not limited by the query-string length of
GET /v2/api/billing/refresh. Duplicate ids are refreshed once.

Validates synchronously, dispatches background processing, and returns 202 Accepted immediately.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

ID of the team that owns this data.

Body Params

Provider credentials to refresh historically, and how many days to fetch.

credentialIds
array of strings
length between 1 and 2000
credentialIds

Provider credential identifier. Format: Revenium hashid (URL-safe encoded string).

int32
1 to 90
Defaults to 90

Number of days to fetch. Must be between 1 and 90.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*