Cancel Transfer
cancel_transferCancel a pending inbound domain transfer and receive a refund. Verifies registry withdrawal before refunding; if state is unconfirmed, it restores the transfer and returns an error.
Instructions
Cancels a paid inbound transfer and refunds the order. Confirm with the user first. The order is deliberate: mark cancelled locally, withdraw at the registry, verify the registry accepted the withdrawal, then refund. If the registry state cannot be confirmed it restores the transfer and returns TRANSFER_STATE_UNCONFIRMED rather than refunding something that may still be live — escalate to support in that case rather than retrying. The response reports withdrawnAtRegistry, registryResultCode, refunded and refundAmount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain whose pending inbound transfer should be cancelled. | |
| dry_run | No | Preview what would happen without cancelling or refunding. |