Create a book transfer
Changed onMove USD between virtual accounts in the same Account.
post/v2/transfers/book
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/transfers/book
- AuthAPI key in header X-API-Key
Headers
X-Idempotency-Keystring required
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.
Request body
Example request
{
"amount": {
"amount": 1250
},
"fromAccount": "subaccount_source123",
"toAccount": "subaccount_destination123",
"description": "Move funds to payroll"
}Response
The created book transfer.
Example response
{
"id": "transfer_intent_2rj4l7hmrrrcv",
"accountId": "sa_group_primary123",
"fromAccount": "subaccount_operations123",
"description": "Invoice 1042",
"statementDescriptor": "VENDOR PAYMENT",
"billId": "bill_2rj4l7hmrrrcv",
"transactionIds": [
"agg_tx_2rj4l7hmrrrcv"
],
"toAccount": "subaccount_payroll123"
}Changes
- info
endpoint added
- info