将资金从条纹帐户转移到其他帐户 [英] Transfer money from stripe account to other account
本文介绍了将资金从条纹帐户转移到其他帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用它向连接的帐户收费,将钱汇到另一个帐户,但我不断收到此错误消息.
I'm using this to charge a connected account the send the money to another account but I keep getting this error message.
我不断收到此错误消息:
I keep getting this error message:
在对连接的帐户收费时,您不能提供 destination
.
You cannot supply a
destination
when charging a connected account.
return stripe.charges.create({
amount: 1000,
currency: "usd",
source: customer_id,
destination: {
account: "acct_1BxnsfGGXo2wovzm"
},
});
我该怎么做?谢谢
推荐答案
查看错误消息似乎 api 认为您正在使用帐户借方,而目标参数没有意义:
Looking at the error message it seems the api believes you're using account debits where the destination parameter does not make sense:
https://stripe.com/docs/connect/account-debits
因此,您的 customer_id
变量可能包含帐户 ID,而不是此处的客户 ID.
So it's likely that your customer_id
variable contains an account id instead of a customer id here.
这篇关于将资金从条纹帐户转移到其他帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文