API Reference
Log In
API Reference

Trigger Billing Data Refresh

Triggers a billing data refresh for the specified organization.

Refresh Types:

  • intraday (default): Synchronous. Fetches today's data and returns 200 when complete
  • historical: Asynchronous. 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.

string

Unique identifier of the provider credential. Format: Revenium hashid (URL-safe encoded string).
Required when refreshType is 'historical'.

credentialIds
array of strings

List of provider credential identifiers. Format: Revenium hashid (URL-safe encoded string).
Required when refreshType is 'historical'.

credentialIds
string
enum
Defaults to intraday

Type of refresh to perform:

  • intraday: Fetches today's data with hourly granularity (up to current hour)
  • historical: Fetches historical daily data for the specified number of days
Allowed:
integer
1 to 90
Defaults to 90

Number of days to fetch when refreshType is 'historical'. Only applicable for historical refresh. 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
*/*