#amraneze-bank
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Thanks! Give me a few minutes to look into this.
Can you confirm if I understood correct?
- You created a bank account token with https://stripe.com/docs/api/tokens/create_bank_account
- And now you are trying to set that token as a source for a customer
- And your plan is to change that customer using that bank account
?
Yes, I created a token using Stripe Token API
and added that token as a source for a customer
but we don't want to charge them, we want to transfer money to those bank accounts
when the user wants to withdraw money from stripe
you can't use ACH on a Canadian Stripe account, really, that's just it. You need to create a Stripe account in the US.
how can I add a bank account to a customer ?
But that for using a bank account as payment which is not the case for my application
what we want is to setup a bank account in a customer, and when they want to withdraw funds from stripe to their bank account we can use it
ok
so you actually mean Connect then
note that customers are people who pay money to you. Connected accounts are what you sue to send money to other parties like the use case you describe.
@steady slate i'm getting now
The provided key 'sk_test_******************' does not have access to account 'cus_******' (or that account does not exist). Application access may have been revoked.
For your information, we are only creating customers
yes, you are quite lost on how Connect works
Yes 😦
you need to read the Connect docs I linked above. You can't do this without first onboarding an account using Connect. That gives you an account object acct_xxx which is what you'd pass to calls like that one that's failing.
a cus_xxx Customer is completely different. It's important to understand that distinction I made above between Customer and Connected accounts.
Ok, I understand what you meant
I will try to read
but I will ahve an issue
the users can be customers and clients
so we need to create for each a customer for paying with credit card
and a client (using connect) for saving their bank details
is this the right way ?