#feni-patel_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1334462486111588393
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I need testing payment method id for checking the flow
There's loads of test cards/tokens here for various scenarios: https://docs.stripe.com/testing
and also i am using the create saparate charge and transfer method. but currently i am facing one error like,
"Payment Failed: You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance".
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Generally this is expected, since the funds from the charge are not available for Payout or Transfer yet.
However, there's a trick to Transfer funds to a Connected account before they become available by using source_transaction: https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-availability
where can i get the request id ?
Where do you see this error?
Into my api
code
const merchantTransfer = await stripe.transfers.create({
amount: Math.round(paymentDetails.merchantAmount.totalAmount * 100),
currency: 'usd',
destination: paymentDetails.merchantAmount.acountId,
source_transaction: paymentIntentID,
});
this is how i created the transfer
The error that is thrown from this call should contain the Request ID.
then what do i need to changed ?
Please refer to the doc I shared here.
which one ?