Sign in

Create bank transfer

documented

Create a bank transfer.

POST /BankTransfersBank Transfersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.xero.com/api.xro/2.0/BankTransfers" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "xero-tenant-id: {{$XERO_TENANT_ID}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Idempotency-Key: {{$idempotency_key}}" \
  -d '{"BankTransfers": [{"FromBankAccount": {"Code": "{{$from_bank_code}}"}, "ToBankAccount": {"Code": "{{$to_bank_code}}"}, "Amount": {{$amount}}, "Date": "{{$transfer_date}}"}]}'