#Twisted - Payouts
1 messages · Page 1 of 1 (latest)
Hi 👋
So you are calling the trigger event and it returns with insufficient balance?
Sorry actually it is the stripe trigger payout.updated
and it returns:
Trigger failed: Request failed, status=400, body={
"error": {
"code": "balance_insufficient",
"doc_url": "https://stripe.com/docs/error-codes/balance-insufficient",
"message": "You have insufficient funds in your Stripe account for this transfer. Your card 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).",
"type": "invalid_request_error"
}
}
Naively I just expected this to not really take the balance into account since I was using the test key, so I am guessing that I have to try and update the balance to bring it inline with some threshold there is for a payout?
Yeah I would just bump the balance amount using the Balance API
Awesome!!!! Appreciate the help!
Actually you'll want to use the Top Ups API to bump the account balance
https://stripe.com/docs/api/topups/create