Transfers
Move money between a platform account and its connected accounts.
A transfer moves funds from one account's balance to another's, between a platform account and its connected accounts. Create one with the Create a Transfer endpoint, and see the ones your account sent or received with List Transfers.
Who can transfer to whom
Transfers only work across an active connection, in either direction:
- Platform to connected account. Use the platform's API key and set
destination_account_idto the connected account. - Connected account to platform. Use the connected account's own API key, or the platform's key with the connected account in
On-Behalf-Of. Setdestination_account_idto the platform account.
Transfers to any other account are rejected, including between two connected accounts of the same platform. To move money between them, transfer it to the platform first.
curl -X POST "https://api.kingsplatform.net/api/api/v1/transfers" \
-H "Authorization: Bearer YOUR_PLATFORM_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: settlement-2026-w46-account-7" \
-d '{
"destination_account_id": "0197a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"amount": 250000,
"currency": "idr",
"description": "Weekly settlement",
"client_reference_id": "settlement-2026-w46"
}'Transfers must be enabled for the sending account. When you use On-Behalf-Of, that is the connected account. Contact the KingsPay team to enable them.
Balances and events
The amount leaves the sender's balance as a transfer_out balance transaction and arrives in the receiver's as transfer_in. The transfer.created and transfer.succeeded events go to the sending account's webhook destinations.
Errors
| Code | Meaning |
|---|---|
accounts_not_connected | The two accounts have no active connection with each other. |
transfers_not_enabled | Transfers are not enabled for the sending account. |
account_not_active | The sending or receiving account is not active. |
destination_account_not_found | No account has this destination_account_id. |
insufficient_balance | The sending account's balance is too low for this transfer. |