条带发送量自动除以100

stripe sending amount is divided by 100 automatically

当我将金额转移给测试用户时,我是新手 我不知道会发生什么,但是当我转移 5000 时转移 50,当我发送 1000 时转移 100 这是我的代码

StripeConfiguration.ApiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";

        var transferOptions = new TransferCreateOptions
        {
            Amount = 5000,
            Currency = "usd",
            Destination = "xxxxxxxxxxxxxxxxxxxxx", 
        };

        var transferService = new TransferService();
        var transfer = transferService.Create(transferOptions);

您必须发送整数美分,因此如果您想发送 500.00 美元,您需要使用 50000 作为金额。

https://stripe.com/docs/currencies#zero-decimal