#brianhhough
1 messages · Page 1 of 1 (latest)
You can use this parameter to set metadata on the subscription https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
In Stripe, metadata is largely not copied between related objects. So setting metadata at the top level of the create session call will only set the metadata on the session, not the subscription, hence the extra param