gpt4 book ai didi

paypal - 如何区分我的 BrainTree 商家帐户?

转载 作者:太空宇宙 更新时间:2023-11-03 15:45:24 31 4
gpt4 key购买 nike

我正在开发 2 个应用程序,它们都已部署了 BrainTree V 零支付功能。我在一个 Braintree 帐户用户中也准备了 Braintree 商家帐户。

我只有一个托管服务器 Braintree 端实例。

我的问题是如何通过我的 Get_Token 或支付 API 来区分它们?

先谢谢你!

最佳答案

完全披露:我在 Braintree 工作。如果您还有任何问题,欢迎随时contact support .

听起来您有一个商家 ID 和两个商家帐户 ID。

创建交易时,您可以传递一个 merchant_account_id 来区分您的两个商家帐户。这是 an example来自 Braintree 开发者文档:

result = Braintree::Transaction.sale(
:amount => "10.00",
:merchant_account_id => "your_merchant_account",
:payment_method_nonce => nonce_from_the_client
)

为清楚起见,这里是商家 ID 和商家帐户 ID 之间的区别,also from the docs .

Merchant account ID vs. merchant ID

While merchant account ID and merchant ID sound similar, they are different values with distinct purposes.

Your merchant ID is a unique identifier for your entire gateway account. This value is required for every API request, along with your API credentials.

Your merchant account ID is a unique identifier for a specific merchant account. Within your Braintree gateway, you can have multiple merchant accounts to process transactions for different businesses or currencies. If you have a single merchant account, it is not necessary to specify a merchant account ID in your API requests. If you have multiple merchant accounts and choose not to specify the merchant account ID, all requests will process through your default merchant account.

关于paypal - 如何区分我的 BrainTree 商家帐户?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39433442/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com