Transfers

Move money at once to another Swichi business, by its account id.

A transfer moves money at once to another Swichi business, by its account id (account in GET /v1/balance). Your sandbox has a Test Shop to try it with (its id is on the Sandbox page).

# Move money at once to another Swichi business, by its account id.
curl https://gateway.swichi.cc/v1/transfers \
  -H "Authorization: Bearer $SWICHI_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: stock-9" \
  -d '{"amount": 3000, "currency": "TZS", "destination_account": "$TEST_SHOP", "description": "Stock"}'

A transfer your key made sends a transfer.succeeded webhook. Read one with GET /v1/transfers/{id}, or list them with GET /v1/transfers. An account id that does not exist answers destination_not_found.

Next steps

On this page