The Stripe Java Library by Stripe is a REST resource. The library API is designed for predictable, resource-oriented URLs and HTTP response codes to indicate API errors. Further, it is aims to support the built-in HTTP features, like HTTP authentication and HTTP verbs with off-the-shelf HTTP clients, and the support cross-origin resource sharing to allow interaction with the API from a client-side web application. The returns are in JSON, including errors.
Technology and entertainment retailer Best Buy is leading the way with the latest addition to the Best Buy API. It now allows developers to not just search the company's catalogue, but also complete the purchases within their own applications. Developers then earn a portion of the sale, which one would expect to be more likely than when applications must hand off the customer to Best Buy's site.