无法将资金发送到位于我们的帐户,因为它在您的平台区域之外 [英] Fund cannot be sent to accounts located in Us because its outside of your platform region

查看:16
本文介绍了无法将资金发送到位于我们的帐户,因为它在您的平台区域之外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

await stripe.transfers.create({
   amount: amount,
   currency: account.default_currency,
   source_transaction: chargeId,
   destination: accountId
});

from stripe account (uk) to Us stripe connected account

推荐答案

条带不允许转移到平台区域外部

您可以使用以下方法管理多个国家/地区的业务

首先使用带有目的费用的条带创建收费API

const charge = await stripe.charges.create({
  customer: data.customer,
  source: data.cardId,
  amount: amount,
  currency: user.currency,
  description: process.env.APP_NAME,
  statement_descriptor: process.env.APP_NAME,
  application_fee: platformFee,
  destination: accountId
});

创建费用后,您可以使用Create Payout API将该支出转移到已连接的帐户

await stripe.payouts.create({
    amount: amount,
    currency: currency,
 }, {
    stripeAccount: accountId,
});

此流程对我有效

这篇关于无法将资金发送到位于我们的帐户,因为它在您的平台区域之外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆