I have this code, from the examples on Stripe API docs site:
stripe.Key = "my_key"
s, err := sub.New(&stripe.SubParams{
Customer: "test_customer",
Plan: "month-plan",
})
This code works just fine. But I couldn't find how to add metadata to this request, like Product: "special-services"
.
Can I do it in one request on subscription creation, and if so, then how?
Thanks!