PIX code: is the number or QR code that shows who will receive the money in a PIX transaction. You use it to send money from your bank to your Kraken account using PIX.
PIX key: is the unique identifier that represents your bank account in Brazil. You use it when you want to withdraw money.