Calculate Package Total

View as Markdown
Calculate the total price for a package at a given billing cycle.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

package_idstringRequired
account_idstringRequired

Request

This endpoint expects an object.
billing_cycleenumRequired
Billing cycle to calculate for

Response

Successful Response
billing_cyclestring
currencystring
total_amount_atominteger

Total in atomic units (cents)

itemslist of maps from strings to anyOptional

Breakdown per item with product_id, price_id, quantity, amount_atom

Errors

422
Unprocessable Entity Error