简体   繁体   English

Stripe,向我的客户汇款

[英]Stripe, send money to my customers

I know how to charge cards of my customers.我知道如何从我的客户的卡中扣款。

BUT how can I send them money with Stripe ?但是我如何用 Stripe 给他们汇款? I just have their card (which can be debit card or credit card).我只有他们的卡(可以是借记卡或信用卡)。

Imagine if Uber or Lyft user stripe, how do they do to pay their drivers through stripe?想象一下,如果 Uber 或 Lyft 用户使用 Stripe,他们如何通过 Stripe 向司机付款?

Thanks谢谢

(Disclaimer: I work for Stripe.) (免责声明:我为 Stripe 工作。)

Generally speaking, you can't arbitrarily send funds to third-parties through Stripe.一般来说,您不能通过 Stripe 任意向第三方发送资金。

With Stripe Connect , you can create charges on behalf of third-parties, ie you'd charge a customer on behalf of a seller, and optionally take a cut (an "application fee") out of the transaction.使用Stripe Connect ,您可以代表第三方创建费用,即您可以代表卖家向客户收费,并可选择从交易中扣除(“申请费”)。 These charges have to be for the sale of actual goods or services.这些费用必须用于实际商品或服务的销售。

At this time, your merchants or service providers can be paid out:此时,您的商家或服务提供商可以收到以下款项:

  • in all countries supported by Stripe: to their bank account在 Stripe 支持的所有国家/地区:到他们的银行账户
  • in the US only: to debit cards (not credit or prepaid cards)仅限美国:借记卡(非信用卡或预付卡)

I recommend you spend some time reading through Connect's documentation as well as this support article to find out if Connect would be a good fit for your needs.我建议您花一些时间通读Connect 的文档以及这篇支持文章,以了解 Connect 是否适合您的需求。

I recommend that you reach out to Stripe's support through the contact form and explain your business model and the flow of funds you had in mind.我建议您通过联系表格联系Stripe 的支持人员,并解释您的商业模式和您想到的资金流向。 The support staff will be able to confirm whether your business model can be supported by Stripe and how you'd use the API to implement it.支持人员将能够确认 Stripe 是否可以支持您的业务模型,以及您将如何使用 API 来实现它。

One way would be to setup a system that handles the payment and then based on the card you have pass it to 3:e party API that does money transfers or One easy way is if you ask the customers to enter in the needed information you can then use your banks API to from your account send the money to them.一种方法是设置一个处理付款的系统,然后根据您将其传递给进行汇款的 3:e party API 的卡,或者一种简单的方法是,如果您要求客户输入所需的信息,您可以然后使用您的银行 API 从您的帐户向他们汇款。

However easiest way is to use the refund function that the api of stripe has:然而最简单的方法是使用stripe的api具有的退款功能:

charge = await stripe.charges.refund(charge.id, {
amount: 1000
});

or you you can use the create transfer function: https://stripe.com/docs/api#create_transfer Create_transfer can send payments to 3:e party bank or payment service.或者您可以使用创建转账功能: https: //stripe.com/docs/api#create_transfer Create_transfer 可以将付款发送到 3:e 方银行或支付服务。

The thing you should base your system on is what information you will need to perform the task and then set that up once that is done you can use the already made API functions from Stripe to handle the task.你的系统应该基于什么信息来执行任务,然后设置完成后,你可以使用来自 Stripe 的已经制作的 API 函数来处理任务。

Please let me know should you have any further questions.如果您有任何其他问题,请告诉我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM