I'm seeing some strange behavior around creating transfers between two standard connected accounts.
When I check my balance using the API, I see sufficient funds:
Stripe::Balance.retrieve
=> #<Stripe::Balance:0x3fc6b27cdb6c> JSON: {
"object": "balance",
"available": [
{"amount":60601,"currency":"usd","source_types":{"bank_account":0,"card":60601}}
],
"connect_reserved": [
{"amount":0,"currency":"usd"}
],
"livemode": false,
"pending": [
{"amount":0,"currency":"usd","source_types":{"bank_account":0,"card":0}}
]
}
however when I attempt a transfer, I see the following message:
transfer = Stripe::Transfer.create({ amount: 600_00, currency: 'usd', destination: 'acct_19qTdgFTAf4mtqpM' })
Stripe::InvalidRequestError: You have insufficient funds in your Stripe account for this transfer. Your ACH balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance).
any idea what's going on here? if it matters, I'm using API version 2017-04-06.