Upload charge endpoint code(HTTPS encryption needed)