Try the APIs

See the following for some examples of how you can explore API calls and authorisation before you start building your Zettle integration.

Prerequisites

Test API calls

  1. Choose one or more APIs to test some calls, see for example the Purchase API.

  2. To get started with OAuth authorisation, explore this example project.

  3. See the following how to include the access token generated from the OAuth flow in API calls.

    In this example the access token is prefixed by Bearer.

    1
    GET /purchases/v2?startDate=2020-11-19 HTTP/1.1
    2
    Host: purchase.izettle.com
    3
    Authorization: Bearer eyJraWQiOiIxN...R5Y6FDNTva7esJ5Q

Next step