Postman
Every operation of the API is in a Postman collection, generated from the same contract as the reference, with an environment that holds your key and the ids you are working with.
Download
Section titled “Download”- The collection —
integrations-v1.postman_collection.json - The environment —
integrations-v1.postman_environment.json
Import it
Section titled “Import it”- In Postman, choose Import and drop in both files (or paste their addresses).
- Pick the Passkaar integration API environment from the environment menu at the top right.
- Paste your key into the environment’s
bearerTokenvalue. Use a test shop’spsk_test_key while you are trying things out; its calls act only on the test shop. - Fill in
programIdfrom the answer to The shop’s live cards, then send Sign a customer up. Each later request uses the ids you add to the environment as you go.
The environment holds your key as a secret value. Never share an environment, a workspace or an export that holds a live key.