Send Qi to a Payment Code (Two-Step Confirmation)
send_qiSend Qi from a wallet to a recipient's BIP-47 payment code. Preview first, then confirm with your password to complete the transfer.
Instructions
Send Qi from a wallet created with create_qi_wallet/import_qi_wallet to a recipient's BIP-47 payment code (see get_qi_payment_code) -- not a plain address. Qi peer-to-peer transfers work this way for privacy: a payment code is a reusable identifier from which a fresh address is derived for every send, rather than reusing one static address. Sender and recipient can be in different zones (destinationZone). Same two-step pattern as send_transaction and convert_qi_to_quai: preview first (no password needed) to see a confirmationToken, then confirm: true with that token and the wallet password to actually sign and send. The preview cannot verify the wallet's Qi balance (that needs the password), so a confirm can still fail with insufficient funds even after a clean preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to send, in Qi (e.g. "0.5"), not Qit. | |
| confirm | No | Set true only on the second call, together with confirmationToken and password, to actually send. | |
| network | No | Which Quai network to query: "mainnet" or "testnet" (the Orchard testnet). Defaults to mainnet. | mainnet |
| password | No | The sender wallet's password. Required only on the confirm: true call. | |
| walletName | Yes | The name of a Qi wallet previously created with create_qi_wallet or import_qi_wallet. | |
| destinationZone | Yes | Which zone the recipient wants to receive the funds in. | |
| confirmationToken | No | The token returned by the initial preview call. Required when confirm is true. | |
| recipientPaymentCode | Yes | The recipient's Base58 BIP-47 payment code (from get_qi_payment_code on their end). |