Skip to main content
POST
Move money between budgets

Authorizations

Authorization
string
header
required

A group API key, sent as Authorization: Bearer sw_live_…. Keys from staging and the demo start sw_test_ instead. A group admin creates keys in Settings → Integrations → API keys.

Scopes

accounting:write

Headers

Idempotency-Key
string

Unique per transfer: any printable text up to 255 characters. A retry with the same key and body within 24 hours answers with the first transfer instead of making another. Recommended.

Required string length: 1 - 255

Body

application/json

A field not listed here is refused with a 400.

sourceBudgetId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
destinationBudgetId
string<uuid>
required

In the same accounting year, and of the same type.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
amount
string
required

Pounds, as a string with at most two decimal places: "12.50". Always positive: the type gives the direction.

Pattern: ^\d+(\.\d{1,2})?$
reason
string

Shown in Scoutworks. Free text, so never returned.

Maximum string length: 500
{key}
any

Response

The transfer an earlier request with the same Idempotency-Key made.

data
object
required