SaaSFlow
DevelopersAPIReferencetransactions

Link transfer

Link two existing transactions as the two legs of one transfer, so the movement stops counting as income on one side and spend on the other.

Authentication

Checking whether you're signed in…
POST
/companies/{companyId}/transactions/link_transfer

Authorization

headerAuthorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

Path Parameters

companyId*string
Length1 <= length

Request Body

application/json
  1. body
sourceTransactionId*string
Length1 <= length
sourceCategorizationId*string
Length1 <= length
targetTransactionId*string
Length1 <= length

Response Body

Transfer linked

application/json
  1. response
success*boolean
curl -X POST "https://example.com/companies/string/transactions/link_transfer" \  -H "Content-Type: application/json" \  -d '{    "sourceTransactionId": "string",    "sourceCategorizationId": "string",    "targetTransactionId": "string"  }'
{  "success": true}