#connor11528

1 messages · Page 1 of 1 (latest)

sour depotBOT
violet basin
#

Hi there. One moment

#

That event should be generated for automatic payouts as well

fierce holly
#

okay how do we generate automatic payouts?

#

i tried the stripe cli but maybe some extra params are necessary?

stripe trigger payout.created
violet basin
#

You just want to test automatic payouts?

#

But yeah just doing stripe trigger should be enough to simulate the scenario and call your webhook endpoint

fierce holly
#

okay we're getting an error calling trigger:

Trigger failed: Request failed, status=400, body={
  "error": {
    "message": "Sorry, you don't have any external accounts in that currency (usd).",
    "request_log_url": "https://dashboard.stripe.com/test/logs/req_50xlpYRjnHGHf7?t=1670006677",
    "type": "invalid_request_error"
  }
}
#

yes we want to test receiving the automatic payouts webhook

violet basin
#

Yeah you have to add your bank account if you want to test payouts

#

Just go to the payouts section of your dashbaord

fierce holly
#

in test mode? And do we add the bank account to the parent account or the individual connect account we're testing?

#

Just seeing no test payouts

violet basin
#

You'd add it to whatever account you want to test payouts on

fierce holly
#

okay so we should add those bank account numbers to the stripe connect account

violet basin
#

Correct if that's where you want to test out payouts

#

Then you can payout manually via the api to test

#

Or set up automatic payouts and just wait for the schedule to run

fierce holly
#

okay. is there a way we can mock or create a scheduled payout? I'm looking at the account I want to test and not seeing any upcoming scheduled payouts there..

#

sorry for my face in there lol

violet basin
#

The only difference between an automatic payout and a manual one is that the automatic ones are just run on a schedule by us. So if you switch to manual payouts on the account and trigger one with the API: https://stripe.com/docs/api/payouts, then that should allow you to test your webhook.