#thepro-transfer-balance

1 messages · Page 1 of 1 (latest)

quick inletBOT
graceful solar
#

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

fervent scaffold
#

Transfer to a connected account

#

I was able to transfer it through the stripe dashboard manually, not through code though

graceful solar
#

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?

fervent scaffold
#

This is the ID of the manual transfer: tr_1NVAY5C0RbkXAFsAuP4PA2QF

#

and this is the ID from the POST req that failed:
req_wtv7ZIjuMs8vyK

graceful solar
#

Sure, and as I wrote above: did you fetch your balance and what do you see

fervent scaffold
#

What do you mean by fetch my balance?

graceful solar
#

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

fervent scaffold
#

I've been reading through the docs for weeks, but there's a lot of it

graceful solar
#

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

fervent scaffold
#

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] } ]
}

graceful solar
#

perfect, so what is your balance?

graceful solar
#

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

fervent scaffold
#

Or transfer, I mean

graceful solar
#

That's your problem. You have a EUR balance. You can send EUR. You can't send USD.

fervent scaffold
#

🤔

#

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?

graceful solar
fervent scaffold