Calculate Package Total
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_id
account_id
Headers
Idempotency-Key
A unique key for this request. A retry with the same key returns the first response instead of running again, for 24 hours. Keys are per caller.
Request
This endpoint expects an object.
billing_cycle
Billing cycle to calculate for
Allowed values:
Response
Successful Response
billing_cycle
currency
total_amount_atom
Total in atomic units (cents)
items
Breakdown per item with product_id, price_id, quantity, amount_atom
Errors
422
Unprocessable Entity Error