Transfers
POST/v1/transfers/orders
Book a transfer
Books at the supplier immediately — there is no hold step, so a successful answer is a real booking.
Your account is checked and reserved BEFORE the supplier is contacted, so an insufficient balance costs you nothing. externalReference is the idempotency key: repeating a request with the same value returns the same order rather than buying a second transfer, which is what makes a retry after a timeout safe.
- Auth
- API key
- Scope
- transfers:book
- Rate limit
- BOOKING
- Search quota
- Free
- Idempotency
- Idempotency-Key
Request headers
Request body
CreateTransferOrderDto — required, sent as application/json.
Responses
201 · TransferOrderDto
Errors
Every one of these carries the same envelope. What each error.type means, and whether a retry can succeed, is on the error index — once, for all operations.
Response headers
Set on every response of this operation, successful or not.
Example
curl -sS -X POST "$VACABEE_API_URL/v1/transfers/orders" \
-H "Authorization: Bearer $VACABEE_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"quoteId": "qte_9dJ2…",
"externalReference": "<string>",
"holder": {
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "+351912345678"
}
}'Set VACABEE_API_URL to https://api.vacabee.com with a live key, or to https://sandbox-api.vacabee.com with a vcb_test_ key. Binding a host to one kind of key is planned and is not enforced by the host yet, so nothing stops a key from being answered at the wrong base URL — assert the prefix against your configured URL yourself. What the sandbox answers
TypeScript SDK
await vacabee.transfers.book(…);The typed method sends the right headers, derives the idempotency key where one is required, and returns the response type generated from this document. Installing and using the SDK

