POST
/
transfer
/
virtual-account

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Headers

X-Idempotency-Key
string
required

Unique key to ensure idempotency of the transfer.

Body

application/json
amountCents
number
required

The amount of money to send in cents.

destination
string
required

The ID of the virtual account to transfer money to.

source
string
required

The ID of the virtual account to transfer money from. Can also be the virtual account linked to a primary Slash account to fund a new virtual account (Virtual account with the name 'Primary account').

Response

200 - application/json
transferId
string
required

The ID of the transfer that was created.