api: implement basic CRUD for accounts and payment methods

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>