We might want to change the endpoints from charges to something else (so that we have nicer urls). but this is fine for now!