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. Check system logs (`GET /v2/api/logs/system/internal`) to monitor progress.
    
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Unique identifier of the team (organization). Format: Revenium hashid (URL-safe encoded string).

string
            Unique identifier of the provider credential. Format: Revenium hashid (URL-safe encoded string).
            **Required when refreshType is 'historical'**.
        
string
            List of provider credential identifiers. Format: Revenium hashid (URL-safe encoded string).
            **Required when refreshType is 'historical'**.
        
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
*/*