Get Started in Sandbox

Introduction

As an integrator you will gain access to our testing environment (Sandbox). Which is entirely separated from our production environment. This is so you can safely develop your integration with no consequence.

To start using the Invoice API you first need an authorization token issued by Waya's Vanguard service.

After registering as a Waya Client, you should have received an email with the sandbox integration details necessary to authenticate and authorize with Vanguard:

Integration ID: <integration-id> Issuer URL: <issuer-url> Account ID: <account-id> Key ID: <key-id> Key Material: <key-material>

1. The Invoice API Base URL

To get started, either copy the sandbox URL into your browser to open our Sandbox Swagger, or into your API client (Such as Postman, Insomnia):

Sandbox base url

https://api.sandbox.waya.se/v4/rest

Production base url

https://api.waya.se/v4/rest

2. Authentication

Generate a token according to the authentication guide.

3. Calling the Invoice REST API

You can now use your authorization token to call the Invoice API. See below curl example or use your API client.

curl --request GET \ --url 'https://api.sandbox.waya.se/v4/rest' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <authorization-token>'

This returns your invoices and pagination metadata. Do note though, the response could be empty as you might not have any invoices yet.