#akfdmrzn
1 messages · Page 1 of 1 (latest)
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
for example
I will charge to this id 'acct_1MUteI8A2giPr9Pb'
there is an connected user in my dashboard like that
You will need to share the error or the failing request ID with me (req_xxx) so I can understand the issue
hmm okay I understood wrongly
okay I will.
this is id for request
req_M2bzd2dtwWT13Y
Error looks pretty clear to me. Your account doesn't have sufficient balance to cover the transfer you're creating
yeah but
my problem is not that
I want to transfer money to destination when making a payment actually
like a fee
because in my first code screenshot, I can transfer money like a fee to one user but I don't transfer money to two differents users
You can't do that directly with a Payment Intent, it only supports transfers to a single account. You need to use separate charges and transfers if you need to send funds to multiple accounts: https://stripe.com/docs/connect/charges-transfers
yeah I readed this, so for separate charges, I need to load some money firstly in test mode, Am I wrong?
Yes, you need to accumulate an account balance to cover the transfer. Depending on what test card(s) you're using, it's likely the balance is in a pending state (and unavailable for transfers for X days). Use these cards to skip the pending balance: https://stripe.com/docs/testing#available-balance
Use those to pay your Payment Intent, and then the balance form that PI will be immediately available and your Transfer creation should succeed
My last question is that;
I copied these codes in my api and I write any stripeAccountId
but I got the same error, Before from these steps,
I need to load money
What's the pi_xxx ID?
status: "requires_payment_method"
You need to confirm the PI and provide a card/payment method
In your creation request, pass the following:
confirm: true,
payment_method: "pm_card_bypassPending"
Sure, that's expected. The Payment Intent is a state machine: https://stripe.com/docs/payments/intents
It's not like the Charges API, if you're familiar with that
so I want to return client Secret Key for ios app, and then IOS Payment sheet will appear with these secret key
yeah I see
I guess I need to read these documents
thank you
ynnoj
Start here if iOS: https://stripe.com/docs/payments/accept-a-payment?platform=ios
You can then build upon that for your separate transfers
yeah I did all of these but just one signle person fee's
I can take a pamynet and I will load money to another user with stripe accountID
but I want to make these for multiple accounts in one payments
so, you say you need to use charge api not payment intent
No, I didn't say that
You need to create and confirm a Payment Intent before you can do anything else
All you have right now is an incomplete PI and no balance to do the transfers
Create the PI as I showed you, and then it will be in a succeeded state and the balance available to be transferred to your accounts as you need
I'd really recommend reading some of the documentation however