Create a book transfer
Move USD between virtual accounts in the same Account.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
Unique caller-generated key for one create request. Once an authenticated, schema-valid request reaches the operation, the key is permanently consumed for that operation and legal entity whether the operation succeeds or fails. Reusing it in that scope returns 409 and never replays a response, unlike API v1, which replays the original response for a matching key.
1 - 255The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.
^le_[a-zA-Z0-9]+$Body
Move USD between virtual accounts in the same Account.
A positive USD amount expressed in cents.
Source virtual-account id with the subaccount_ prefix.
"subaccount_source123"
Destination virtual-account id in the same Account.
"subaccount_destination123"
Human-readable private transfer memo.
"Move funds to payroll"
Response
The created book transfer.
A transfer between Slash balances in the same Account.
Transfer id with the transfer_intent_ prefix.
"transfer_intent_2rj4l7hmrrrcv"
Account containing the source balance.
"sa_group_primary123"
A signed monetary amount expressed in minor units.
Transaction ids produced by this transfer.
Transaction id with the agg_tx_ prefix.
Time the transfer was created.
book Lifecycle state of a book transfer between Slash balances.
pending, scheduled, in_review, canceled, failed, settled Source virtual-account id, when the transfer is scoped to one.
"subaccount_operations123"
Human-readable private transfer memo.
"Invoice 1042"
Statement or network descriptor supplied when the transfer was created.
"VENDOR PAYMENT"
Time the transfer was submitted for processing.
Time the transfer settled.
Time the transfer failed.
Time the transfer was canceled.
Destination virtual-account id.
"subaccount_payroll123"