Accounts service API usage examples