since billingMethod is an int here you might want to check that the json dict has that as an actual int and not a string