#cco3
1 messages · Page 1 of 1 (latest)
hello! you can pass it in https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata. The invoice line item will contain the subscription metadata : https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-metadata
Hm, the invoice line item; I suppose that will work.
metadata on the invoice itself would be more convenient, but I suppose that's not an option?
yeah, it's not an option.
I'm trying to get consistent behavior with payment mode...is there a way to attach metadata to the invoice line items in payment mode?
i think this is what you're looking for? https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation-invoice_data-metadata
the metadata would be on the Invoice though, not on the invoice line items