piiData for withdrawals. What you send depends on whether the destination is a hosted wallet, at a VASP or exchange, or a private wallet. For how to build, encrypt, and send the payload, see Exchanges.
Required fields for withdrawals
Identify the counterparty VASP
ForbeneficiaryVASP, use the VASP’s DID as vaspCode. For a VASP without a DID, set vaspCode to "-2" and vaspName to the VASP’s name. OKX publishes the full list of VASPs it supports through its exchange list endpoint.