Resolve a Stripe reference that may be either an ID string or an expanded
object, to its ID.
Stripe fields like customer / subscription / product are a bare ID
string unless expanded, in which case they are the full object. This
collapses both forms.
Resolve a Stripe reference that may be either an ID string or an expanded object, to its ID.
Stripe fields like
customer/subscription/productare a bare ID string unless expanded, in which case they are the full object. This collapses both forms.