API checkout
Fixed API call structure