get
https://api-dev.gettrx.com/onboard/v1/invoices/
Retrieves a single invoice by its unique identifier. The invoice must exist, not be soft-deleted, and belong to the merchant account resolved from the secret key. Line-item price, accountDiscounts, and accountFees follow the same expand pattern as GET subscription (site, customer): id only when not expanded; full embedded JSON when expanded. Use customer to return the full customer object in customer (same semantics as defaultPaymentMethod). Use defaultPaymentMethod (or default_payment_method) to return the full payment method object in defaultPaymentMethod; without expand it remains the payment method id string.
