![](/img/trans.png)
[英]NodeJS - Connected account is required to transfer money from stripe account to another stripe account?
[英]how to transfer amount from stripe to account in nodejs?
我正在使用數據條支付網關,我需要將數據從數據條賬戶轉移到銀行帳戶,我已閱讀此文檔, https://stripe.com/docs/api#account_create_card
我將此代碼用於nodejs
var stripe = require("stripe")(
"sk_**********************nUl"
);
stripe.accounts.createExternalAccount(
"acct**************6Y",
{ external_account: "to**************52s" },
function(err, card) {
// asynchronously called
}
);
我從stripe收到此錯誤,但是我使用了相同的密鑰進行付款。
錯誤:提供的鍵“ sk_test _ ******************** unUl”對該帳戶“ acct_19aqKGBABF9ppg6Y”的終結點沒有所需的權限。 擁有更多權限將允許該請求繼續。
例如,如果您正在使用對關聯帳戶具有只讀訪問權限的API密鑰,則可能會發生這種情況。 我建議您寫信給Stripe支持,以便有人可以直接查看您的帳戶並提供具體建議!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.