Unfortunately I can confirm that you were not hired on a official contract. In order to be eligible for our Upwork Payment Protection you will need to be hired on a official contract.
Where did you communicate with your client about this tasks?
I would also strongly advise you to check out the Safety first section on this Thread and learn more on how to protect yourself.
This thing happens with a-lot of new freelancers, because they are unaware how this system works.
You must have been hired to get your payment from the client. Check under MY JOBS section from top menu. If there is a job that means you are hired for this job. Submit that job to your client after submitting you will get your payment.
But if nothing appears after clicking on MY JOB section this means you are not hired for any project.
So please Be assure that you have actually been hired by the client before working on any project.
As I've stated previously numerous times, I'm absolutely amazed (not in a positive manner) when new Freelancers (or Clients for that matter) just jump into Upwork without educating themselves first. IMO there's absolutely no excuse for this as there's such an abundance of helpful information (some that's absolutely necessary) to read, view...
As I've also asked before-would someone get into a vehicle and drive it without first learning how? Ahhhhhhhhhhhhhhh, yes; evidently and quite unfortunately for themselves and others some would...