#akash.bhaskar

1 messages · Page 1 of 1 (latest)

wet flickerBOT
#

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.

sullen sapphire
#

If you are trying to connect a specific bank account to your platform account, you can reach out to our support team, they can consult on whether this is possible https://support.stripe.com/?contact=true

#

If you are asking about Stripe Connect, can you give me a bit more detail about your question?

severe bear
#

i am asking about stripe connect

#

let createData = {
type: 'custom',
country: 'US',
email: data.email,
requested_capabilities: ['transfers'],
business_type: 'individual',
business_profile: {
url: data.url, //Not FOR CANADA
mcc: '7392',
},
tos_acceptance: {
date: timestamp,
ip: ip.address(),
// service_agreement: 'recipient',
},
metadata: {
user_id: user.id,
webhook_env: process.env.WEBHOOK_ENV,
},
individual: {
first_name: data.first_name,
last_name: data.last_name,
ssn_last_4: data.ssn_number, // NOT FOR CANADA AND UK
email: data.email,
phone: data.phone_number,
address: {
city: data.address.city,
country: 'US',
line1: data.address.line1,
line2: data.address.line2,
postal_code: data.address.postal_code,
state: data.address.state,
},
dob: {
day: data.dob.day,
month: data.dob.month,
year: data.dob.year,
},
},
external_account: {
object: 'bank_account',
country: 'US',
currency: 'USD',
account_holder_name: data.bank_account.account_holder_name,
account_number: data.bank_account.account_number,
routing_number: data.bank_account.routing_number,
iban: data.bank_account.iban,
},
settings: {
payouts: {
schedule: {
interval: 'manual',
},
},
},
};

this is the code snippet for connected account with external account in US...i want the same for UK

#

so how can it be done? my stripe account handles only us dollar transactions and i am using external account for payouts..so i need to change the currency to gbp for adding uk external account

#

??

sullen sapphire
#

Apologies but the server is very busy right now, just getting back to this

#

Have you tried that call but with GB as the country code and GBP as the currency code?

severe bear
#

so i should change all the country fields from us to gb?

#

the country field in address,external account and the country field at the top in createData object?

sullen sapphire
#

Yes, those would be the places

#

I would reccommend trying this call out in test mode to see how it works

severe bear
#

in external account, am not able to pass iban number, it says i should pass account number

sullen sapphire
#

Can you show me exactly what you are passing in to the external_account parameter here?

#

From the doc it looks like we are expecting only an IBAN but it sounds like that may not be working for you

severe bear
#

external_account: {
object: 'bank_account',
country: 'US',
currency: 'USD',
account_holder_name: data.bank_account.account_holder_name,
account_number: data.bank_account.account_number,
routing_number: data.bank_account.routing_number,
},

thisi is for us

#

external_account: {
object: 'bank_account',
country: 'GB',
currency: 'GBP',
account_holder_name: data.bank_account.account_holder_name,
iban:'iban number'
},

this is for uk

sullen sapphire
#

It looks like you are passing the literal string iban number the API would expect an actual IBAN like GB82WEST12345698765432

severe bear
#

no no..i actually pass this GB82WEST12345698765432, but when i try to create a connect account it shows missing parameter account_number

sullen sapphire
#

Ah, it looks like you may want to pass GB82WEST12345698765432 as the account_number and get rid of your iban parameter

severe bear
#

ohhh great!

#

thanks alot!

#

lemme just try it

wet flickerBOT
severe bear
#

i have one more query

#

do i have to use iban number or sort code for adding uk banks as external accounts for payouts

vernal thorn
#

👋

#

Stepping in