getOfferToken: on error, 1. check for presence of callback before calling it 2. if there is no error object but the status code is different from 200, create an Error object with the status code