marketplace

Submit Billing Data

Changed on

Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour. <br/> Use the credentials.access_token we provided in the Upsert Installation body to authorize this request.

post/v1/installations/{integrationConfigurationId}/billing

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/installations/{integrationConfigurationId}/billing
  • Auth: HTTP bearer

Path parameters

integrationConfigurationIdstring required

Request body

timestampstring date-time required

Server time of your integration, used to determine the most recent data for race conditions & updates. Only the latest usage data for a given day, week, and month will be kept.

eodstring date-time required

End of Day, the UTC datetime for when the end of the billing/usage day is in UTC time. This tells us which day the usage data is for, and also allows for your "end of day" to be different from UTC 00:00:00. eod must be within the period dates, and cannot be older than 24h earlier from our server's current time.

Changes

    • info

      added the non-success response with the status

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added subschema #1 subschema #2 to the request property oneOf list