add pricing endpoint and tests