#thepro-transfer-balance
1 messages · Page 1 of 1 (latest)
thepro-transfer-balance
@fervent scaffold what are you doing that causes this error? Creating a Payout to send money outside of Stripe? Or a Transfer to send money to a connected account
Transfer to a connected account
I was able to transfer it through the stripe dashboard manually, not through code though
So the error message is really descriptive here and tells you to look at your balance. Did you look at it? What's the response? Do you have funds in available or in pending?
As I wrote above, manually it works, there's enough funds.
This is the ID of the manual transfer: tr_1NVAY5C0RbkXAFsAuP4PA2QF
and this is the ID from the POST req that failed:
req_wtv7ZIjuMs8vyK
Sure, and as I wrote above: did you fetch your balance and what do you see
What do you mean by fetch my balance?
The error message tells you exactly what to do in details including an exact link to the API Reference showing the exact call to make: https://stripe.com/docs/api/balance/balance_retrieve
As the developer, this is something you need to do to familiarize yourself with our API and how things work. And then it will be extremely obvious what the problem is
I've been reading through the docs for weeks, but there's a lot of it
Please focus on what I am saying
Ignore everything else. You literally copy pasted an error message that tells you everything. Read it carefully end to end first.
then load https://stripe.com/docs/api#balance and make that call. You're a developer. You're writing code in Node.js to create that Transfer. You can write code in Node.js to retrieve your balance exactly as documented on that link
Stripe Account Balance: {
object: 'balance',
available: [ { amount: 927540, currency: 'eur', source_types: [Object] } ],
connect_reserved: [ { amount: 0, currency: 'eur' } ],
livemode: false,
pending: [ { amount: 359848, currency: 'eur', source_types: [Object] } ]
}
perfect, so what is your balance?
As I said, I have funds.
I know you're frustrated, but I am helping you understand things. Please focus on what I am saying and in 5 minutes we're done
You shared the balance response. It's JSON mostly. Please read that JSON and tell me what your available balance is
9275,40 is the balance in EUR, and I am trying to withdraw 100 USD
Or transfer, I mean
That's your problem. You have a EUR balance. You can send EUR. You can't send USD.
🤔
Let me try.
I see.
I know I could just read the docs, but I know you will give me the answer much faster, do I have to set one currency somewhere in stripe settings and then based on that use only that currency everywhere?
And you're right, I've been spending weeks trying to figure out how to send money to people, even though I managed to get PaymentIntents to work in a few days, this system seems much more complicated.