billing

Record metered API usage for Terra

Changed on
post/billing/terra/metered-usage

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/billing/terra/metered-usage
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Request body

subscriptionItemIdstring required
quantityinteger required
action'increment' | 'set'

Response

Usage recorded

Changes