#Rishikesh
1 messages · Page 1 of 1 (latest)
Hi there, do you have the paymentIntent ID?
let customer = 'cus_NgzC6tPGVdmQ4w'
stripe.transfers.create(
{
amount: 400,
currency: "usd",
source_transaction: customer.payment_method,
destination: "acct_1MvbEORJsVvIupOW",
},
function (err, transfer) {
if (err) {
console.error(err);
} else {
console.log("Transfer created:", transfer);
}
}
);
this is my code where can i get paymentIntent ID
Was this request processed successfully?
https://dashboard.stripe.com/test/payments you can view the list of payments here
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes it was
Is this the correct charge ID? the amount is 1000
yes it correct
Transfer created: {
id: 'tr_1MvbVDEhOnQTY630AkTaDvEU',
object: 'transfer',
amount: 1000,
amount_reversed: 0,
balance_transaction: 'txn_1MvbVDEhOnQTY630nCefTahB',
created: 1681197631,
currency: 'usd',
description: null,
destination: 'acct_1MvbEORJsVvIupOW',
destination_payment: 'py_1MvbVDRJsVvIupOWz0NocMhe',
livemode: false,
metadata: {},
reversals: {
object: 'list',
data: [],
has_more: false,
total_count: 0,
url: '/v1/transfers/tr_1MvbVDEhOnQTY630AkTaDvEU/reversals'
},
reversed: false,
source_transaction: null,
source_type: 'card',
transfer_group: null
}
this was reply
But your code's amount is 400
i have changed the code after sending transfer
Anyway py_1MvbVDRJsVvIupOWz0NocMhe was created successfully on the connected account.
It will take time to be reflected in your connected account's balance.
yes but its not showing in destination account
Are you checking on the correct connected account?
yes
here you can see the image is showing successful
but in the other image its showing restricted
yesterday i have created a transfer 20Hrs before it still not reflected
how much time it will take to reflect on my account ?
Payout speed varies by country https://stripe.com/docs/payouts#standard-payout-timing
There's no need to shout.
If you search the table, the payout speed for US is two business days.
so my code working correctly then
I don't see a problem here. The transfer was created successfully.
if you dont mind can you pleas explain why its showing restricted ?
Sure, an account is restricted when it needs more information to be collected. Its requirements hash (https://stripe.com/docs/api/accounts/object?lang=node#account_object-requirements) would tell you what are needed.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
btw you can use these test card to make the funds available in you balance, bypassing pending balance https://stripe.com/docs/testing#available-balance