Is there an API to transfer funds between Spot and Funding wallets?

I can’t seem to find the API endpoint to transfer funds between the different wallets on a single account.

Specifically interested in how to transfer from Spot to Funding, and from Funding to Spot.

Does such an API exist?

I think I found it. It’s called Universal Transfer.