billing API - fix api log method