#manusw20
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Hello
Hello bismarck
No I don't think we have a specific example, but you would basically just update the line_items.tax_rate unless you are using default_tax_rates?
Yep https://stripe.com/docs/api/subscriptions/update is the API you would use as you referenced
i cans see when i retrieve a subs
"default_tax_rates": [
{
"id": "txr_1JCiiii0bTJW2s",
so i need to set that parameter to the new id
Yep
d "metadata[defautl_tax_rates]"= new one?
No not metadata
That won't actually update the tax rate itself -- just sets metadata
Are you just using cURL to make this update?
yes
First thing to do is to test this out in test mode to make sure you are doing it correctly before you update a live mode Subscription.
yes i am in test
Gotcha, then yeah you want -d "default_tax_rates[]=txr_123"