The former first minister declared the payment on the official Register of Interests at the Scottish Parliament, with the cash paid to her own company.