Transfer money to/from Alpaca account using API

How can I transfer money to/from my Alpaca account using the API? I already have my external bank account linked to my Alpaca account, and I’m already able to do transfers through the Alpaca website. What I’d like to do is to initiate these transfers through an API call.