More generally, you could let them specify the pay probability p or price $Y >= $X. Given p, have them pay $X/p. Given $Y, make them pay with probability $X/$Y.
More generally, you could let them specify the pay probability p or price $Y >= $X. Given p, have them pay $X/p. Given $Y, make them pay with probability $X/$Y.