API

Authentication

Overview

All requests to our API must be accompanied by a valid authentication token.

The authentication token should be attached as a bearer token in the Authorization header.

Example:

$curl https://api.yoco.com/v1/orders/ \
> -H 'Authorization: Bearer <authentication token>' \
> -H 'Content-Type: application/json'

We issue tokens via the OAuth 2.0 flow.

OAuth 2.0

OAuth 2.0 is an open standard designed to allow a website or application access to your information.

With OAuth, other users can install your application and consent to sharing certain information with your application. For example, if you wanted to build an application that integrated a business’ transaction history with an accounting system, you would use OAuth authentication.

Learn more