Skip to main content
PATCH
Update a transfer

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

If-Match
string

The ETag you last read for this record. If the record has changed since, the change is refused with 412 stale_write, which carries its current ETag. Optional, and recommended: without it the last write wins.

Path Parameters

transferId
string
required

The transfer’s id, shared by its two lines in the books. Opaque: pass it back exactly as read.

Pattern: ^transfer_[A-Za-z0-9_-]{1,80}$

Body

application/json

A field not listed here is refused with a 400.

amount
string

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

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

The day the money left.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
destinationDate
string<date>

The day it arrived. At most 7 days from date.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
description
string
Required string length: 1 - 500
reference
string | null

The bank reference; null clears it.

Required string length: 1 - 200
{key}
any

Response

OK

data
object
required
{key}
any