#iy2011

1 messages · Page 1 of 1 (latest)

feral falconBOT
sinful arch
#

I would like to add metadata associating the usage record with individual sub-customer info such that a monthly subscription invoice can include this. There would be too many to add metadata to the subscription invoice object directly

junior pike
#

Unfortunately there isn't a metadata attribute on the Usage Record. One workaround would be to add it at the Subscription object level or the Customer object level, then programmatically transfer it to each Invoice (though it sounds like you already thought of that)

sinful arch
#

Okay. It is possible to retrieve the usage record ID though right? we would store the metadata association on our side rather than stripe then.

junior pike