#prabhaw-soti-ebpearls_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/1221737955425517579
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
const externalAccount =
await this.stripeService.stripe.accounts.retrieveExternalAccount(
userStripeDetails.stripeConnectId,
userStripeDetails.stripeSourceId,
);
const response = {
id: externalAccount.id,
//@ts-ignore
account_holder_name:externalAccount.account_holder_name || ${owner?.first_name} ${owner?.last_name},
//@ts-ignore
account_holder_type:externalAccount.account_holder_type ,
//@ts-ignore
account_type: externalAccount.account_type,
//@ts-ignore
bank_name: externalAccount.bank_name,
country: externalAccount.country,
currency: externalAccount.currency,
last4: externalAccount.last4,
status: userStripeDetails.status
}
https://docs.stripe.com/api/accounts/object#account_object-business_profile-name are you looking for this?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.