#uladzislauchekanau
1 messages ยท Page 1 of 1 (latest)
Hey ๐
Hi there ๐ apologies for the delay.
I'm not too familiar with those treasury flows offhand, and am taking a look at those. While I do, can you help me understand how you're hoping to use that Payment Method, or what for?
I wanna use it for inbound/outbound transfer
Before we were creating a customer account and attaching payment method to it via SetupIntent, on setup_intent.succeeded event we create externalAccount for connected account, but we can't create an InboundTransfer because it has no mandate (mandate doesn't propagates into externalAccount :/), so we think attaching payment method directly to connected account should help?
Gotcha.
I think you'll want to follow the process outlined in this document, this section seems the most relevant:
https://stripe.com/docs/treasury/moving-money/working-with-bankaccount-objects#setupintents
When creating a Setup Intent to collect those details, it looks like you'll want to leverage the flow_directions and attach_to_self parameters:
https://stripe.com/docs/api/setup_intents/create#create_setup_intent-flow_directions
https://stripe.com/docs/api/setup_intents/create#create_setup_intent-attach_to_self
I see, thank you ๐