Base API library for OAuth Commerce