Skip to content

Conversation

andreaskienast
Copy link
Contributor

@andreaskienast andreaskienast commented Aug 18, 2025

Why?

In an application that deals with different Stripe accounts, a mapping is required to keep track of the customer ids to one specific application user.

What?

The method BaseStripeClient::getStripeAccount() is introduced that allows to obtain the configured stripe_account from the used client instance again.

Fixes: #1893

Changelog

  • Add getStripeAccount method on BaseStripeClient to retrieve Stripe Account ID from a StripeClient instance.

The method `BaseStripeClient::getStripeAccount()` is introduced that
allows to obtain the configured `stripe_account` from the used client
instance again.

Fixes: stripe#1893
@andreaskienast andreaskienast requested a review from a team as a code owner August 18, 2025 12:55
@andreaskienast andreaskienast requested review from prathmesh-stripe and removed request for a team August 18, 2025 12:55
Copy link

cla-assistant bot commented Aug 18, 2025

CLA assistant check
All committers have signed the CLA.

@prathmesh-stripe prathmesh-stripe changed the title Add getter for configured Stripe account Add getter for Stripe Account on BaseStripeClient Aug 19, 2025
@prathmesh-stripe prathmesh-stripe merged commit b800cc2 into stripe:master Aug 19, 2025
26 checks passed
@andreaskienast
Copy link
Contributor Author

Thank you very much for taking care of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add getter for stripe_account
2 participants