stripe connected account add bank details api code example
Example: stripe api accounts transfer to bank
EDIT: On newer API versions (>= 2017-04-06), "internal transfers"
are now simply known as "transfers", and "external transfers"
are now known as "payouts". Cf. this doc page for more information.