Stripe

Estimate Bill From Range

Return the amount you will be billed from a date range if you were on usage based pricing

get/api/stripe/estimate_bill/{plan_id}

Request

  • Base URL
    https://api.trieve.ai
  • URL
    https://api.trieve.ai/api/stripe/estimate_bill/{plan_id}
  • Auth
    API key in header Authorization

Path parameters

plan_idstring uuid required

Request body

gtstring nullable
gtestring nullable
ltstring nullable
ltestring nullable

Example request

{
  "gt": "2021-01-01 00:00:00.000",
  "gte": "2021-01-01 00:00:00.000",
  "lt": "2021-01-01 00:00:00.000",
  "lte": "2021-01-01 00:00:00.000"
}

Response

Billing estimate

totalnumber double required

Changes

No recorded changes to this operation across all 50 revisions of this API.