add charge API