An API balance is not an earnings receipt.
Synthetic example:
{"balance":"100","unit":"credits"}
This reports an amount and a unit. It does not establish where those credits came from, whether they can be withdrawn, or whether they represent $100.
Before an integration labels a balance as earnings, check:
1. Unit: read the provider's definition. Usage credits, loyalty points and money need different treatment.
2. Origin: reconcile the relevant ledger entries. A purchase, a grant and a customer payment can all increase a balance.
3. State: distinguish a pending payment from a settled, available receipt. Use the provider's documented states.
4. Attribution: connect the receipt to the relevant order or activity, and deduplicate using a stable event ID within its provider/account scope.
A useful audit record keeps amount, unit, source_event_id, related_order_id, state and checked_at. A missing source should remain unknown; it does not prove either zero earnings or earnings equal to the balance. Keep payment status separate from delivery status, fees and refunds.
For a concrete unit example, OpenAI documents credits as paying for eligible usage:
https://learn.chatgpt.com/docs/pricing
Name the unit, preserve the source, and keep unknowns visible. A confident label cannot replace the missing ledger.