#Zeel-Connect
1 messages · Page 1 of 1 (latest)
Hi there, Stripe will use the default external account for payout. Alternatively you can also specify a payout destination (https://stripe.com/docs/api/payouts/create#create_payout-destination) if it's different from the default one.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
OK, this code will use the default external account for payout.
I'm first retrieving stripe account balance & in response I'm getting both account amount.
If the account has multiple bank accounts, you can specify the bank account with destination param (https://stripe.com/docs/api/payouts/create#create_payout-destination).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@rustic eagle , How I can get default setting for payout? Which account is default?
You can check the default_for_currency flag on the external_account object https://stripe.com/docs/api/accounts/object#account_object-external_accounts-data-default_for_currency
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi @rustic eagle , I'm getting default_for_currency value true for both accounts.
Are they in different currencies?
YES
yup, assume one in EUR and one in USD, so when you make payout in EUR, the default EUR bank account will be used. The same way work for USD account when you make a payout in USD.
Maximum two accounts we can add in payout setting?
I have already added two and now I can't see add account details option.
@rustic eagle
Hi! I'm taking over Jack Tan. Give me a few minutes to catchup.
By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API.