example REST checkout flow