FAQ
Should principal_id be a user id?
Use a user id only if billing is per-user. For B2B products, use an org or team id.
Can I retry a timed out write?
Yes. Retry with the same Idempotency-Key and the same body.
How do I obtain billing_account_id?
Use POST /mgt/v1/token/issue from your backend and store the mapping.