I see a Spencer serial #9824, #9835, and #9838 listed as a Spencer Rifles. Randomly, Four digit serial #s were intermixed as rifles and carbines, with more rifle designations listed.
Your serial #9822 looks to be a Spencer Carbine. The serial # also appears on the underside of the barrel under the wooden forearm. Ask the seller to check if the serial # found there is the same as on the receiver.
Two Flints BTW, Check Dave Taylor's Civil War Antiques for Spencer offerings.