This guide should give you a quick start for the integration of the Issuer API. We'll use easy to read python code. For HTTP interactions we will use the requests package.
At the end of this guide, you will also find the complete python script for you to copy, paste and try out.
Getting started
Before you get started make sure that you've installed an up-to-date python version. To run the script you will also need the requests package.
First we are going to import the packages that we need and set up some basic variables. The client ID and client secret will be provided to you during the set up of the demo environment.
We add an additional helper function that with every call creates a random idempotency key. In your application, you would use an idempotency key that correlates to the internal object on your side.
Creating an issuer
First we create an issuer by providing issuer company data.
Creating a product
After we have created an issuer, we create a product by referencing the issuer.
Creating a listing
Full script
Below you find the full script for you to copy, paste and try out.
Make sure Python and the requests package are installed.
Remember to insert your account specific information before running the script.