Fixing the end on the pricing api