我在做一个. net项目. 我正在try 支付一些金额到我的连接帐户. 我试过金额= 15
这是我的账户余额对象.
"object": "balance",
"available": [
{
"amount": 1929490,
"currency": "aud",
"sourceTypes": {
"card": 1929490
},
"rawJObject": null,
"stripeResponse": null
}
],
"connectReserved": [
{
"amount": 0,
"currency": "aud",
"sourceTypes": null,
"rawJObject": null,
"stripeResponse": null
}
],
"instantAvailable": [
{
"amount": 1200000,
"currency": "aud",
"sourceTypes": {
"bankAccount": 0,
"card": 1200000,
"fpx": 0,
"rawJObject": null,
"stripeResponse": null
},
"rawJObject": null,
"stripeResponse": null
}
],
"issuing": null,
"livemode": false,
"pending": [
{
"amount": 108924,
"currency": "aud",
"sourceTypes": {
"card": 108924
},
"rawJObject": null,
"stripeResponse": null
}
],
我试过一些方法.我把它们贴在这里.
Method 1: Connect account selected his bank account for payouts (NOT card) and check following request 请求:
var options = new PayoutCreateOptions
{
// Destination = connectAccountId,
Description = description,
Method = "standard",// standard or instant
SourceType = "bank_account", // options are bank_account, card, or fpx
Amount = amount,
Currency = "aud",
Metadata = new Dictionary<string, string> { { "ConnectAccountId", connectAccountId } },
};
var requestOptions = new RequestOptions();
requestOptions.StripeAccount = connectAccountId;
var service = new PayoutService();
return service.Create(options, requestOptions);
回复: "你的条纹账户中没有足够的资金用于这笔转账.你的ACH余额太低了. 您可以使用/v1/balance端点查看Stripe余额(有关详细信息,请参阅stripe.com/docs/api#balance)."
方法2:连接帐户 Select 他的银行帐户支付(不是卡)和判断以下请求
var options = new PayoutCreateOptions
{
// Destination = connectAccountId,
Description = description,
Method = "standard",// standard or instant
SourceType = "card", // options are bank_account, card, or fpx
Amount = amount,
Currency = "aud",
Metadata = new Dictionary<string, string> { { "ConnectAccountId", connectAccountId } },
};
回复:
"你的条纹账户中没有足够的资金用于这笔转账.你的卡余额太低了. 您可以使用/v1/balance端点查看Stripe余额(有关详细信息,请参阅stripe.com/docs/api#balance)."
方法3:连接帐户 Select 他的借记卡支付(不是银行帐户),并判断以下请求.
请求:与方法2的请求相同.
回复:
"借记卡支付不支持方法standard
."
方法4:连接帐户 Select 他的借记卡支付(不是银行帐户),并判断以下请求.
var options = new PayoutCreateOptions
{
// Destination = connectAccountId,
Description = description,
Method = "instant",// standard or instant
SourceType = "card", // options are bank_account, card, or fpx
Amount = amount,
Currency = "aud",
Metadata = new Dictionary<string, string> { { "ConnectAccountId", connectAccountId } },
};
回复:
"你的条纹账户中没有足够的资金用于这笔转账.你的卡余额太低了. 您可以使用/v1/balance端点查看Stripe余额(有关详细信息,请参阅stripe.com/docs/api#balance)."
方法5:连接帐户 Select 他的借记卡支付(不是银行帐户),并判断以下请求.
请求:
var options = new PayoutCreateOptions
{
// Destination = connectAccountId,
Description = description,
Method = "instant",// standard or instant
SourceType = "bank_account", // options are bank_account, card, or fpx
Amount = amount,
Currency = "aud",
Metadata = new Dictionary<string, string> { { "ConnectAccountId", connectAccountId } },
};
回复:
"你的条纹账户中没有足够的资金用于这笔转账.你的ACH余额太低了. 您可以使用/v1/balance端点查看Stripe余额(有关详细信息,请参阅stripe.com/docs/api#balance)."
我厌倦了寻找这些问题的原因.我想把这笔钱存入Connect的银行账户. 请帮帮我
Updated question:
根据Lucky的回答,我更新了代码.
- 首先,我将金额转移到连接帐户,并试图支付.
var options = new TransferCreateOptions
{
Amount = amount,
Currency = "aud",
Destination = connectAccountId,
Description = description,
// SourceType = "bank_account" //bank_account, card, or fpx // This didn't works. got invalid source type error.
};
var service = new TransferService();
return service.Create(options);
我的Connect帐户余额
"available": [
{
"amount": 30,
"currency": "aud",
"sourceTypes": {
"card": 30
},
"rawJObject": null,
"stripeResponse": null
}
],
"connectReserved": null,
"instantAvailable": [
{
"amount": 30,
"currency": "aud",
"sourceTypes": {
"bankAccount": 0,
"card": 30,
"fpx": 0,
"rawJObject": null,
"stripeResponse": null
},
"rawJObject": null,
"stripeResponse": null
}
],
"issuing": null,
"livemode": false,
"pending": [
{
"amount": 0,
"currency": "aud",
"sourceTypes": {
"card": 0
},
"rawJObject": null,
"stripeResponse": null
}
Method 1: try to pay out to the bank _account
var options = new PayoutCreateOptions
{
// Destination = connectAccountId,
Description = description,
Method = "standard",// standard or instant
SourceType = "bank_account", // options are bank_account, card, or fpx
Amount = amount,
Currency = "aud",
Metadata = new Dictionary<string, string> { { "ConnectAccountId", connectAccountId } },
};
var requestOptions = new RequestOptions();
requestOptions.StripeAccount = connectAccountId;
var service = new PayoutService();
return service.Create(options, requestOptions);
This didn't work. Got the same insufficient error.
方法二: Payout to connects card - worked
var options = new PayoutCreateOptions
{
// Destination = connectAccountId,
Description = description,
Method = "standard",// standard or instant
SourceType = "card", // options are bank_account, card, or fpx
Amount = amount,
Currency = "aud",
Metadata = new Dictionary<string, string> { { "ConnectAccountId", connectAccountId } },
};
After the payout, Connect acc's dashboard looks like this.
What does "Settled" mean? The transactions with "0.15dolar" are only Transfer (Payout failed at that time) 0.48 dolar one is Transfer and payout are succeeded.
How my connect account holder will know these differences? 0.48 is in minus amount What does it mean?