#-nurdism-_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1282926879250055168
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, you can use this param to add a headline in the portal https://docs.stripe.com/api/customer_portal/configurations/update#update_portal_configuration-business_profile-headline
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ahh thank you. Is there a way to do this on stripe()->billingPortal->sessions->create()? or I guess I have to do an "Update a portal configuration" then send him that session with the configuration pram set?
Yes you can do that, or you can create a new portal session with the updated headline.
does this accept an object? https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-configuration
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it says a string so I'm assuming I need to make/update a portal configuration then create a session? or am I wrong on that?
It's the ID of the configuraiton.
I'm just confused,
you can create a new portal session with the updated headline
makes it sound like I can do both in one request?
but in the https://docs.stripe.com/api/customer_portal/sessions/create docs I dont see where I can do that here
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sorry my mistake, you can create a portal session configuration with the updated headline, and create a portal session with the newly created configuration.
ahh gotcha, ty for the clarification 
is there a way to create a share link to update payment through the api like this https://docs.stripe.com/billing/subscriptions/update-payment-method
No, this is a Dashboard-only feature.