API collection (Bruno and Postman)
The collection gathers the requests of the Veriko API so you can try it without writing code. It covers the 75 operations that accept an API key or need no authentication, and it is published as a Bruno collection and as a Postman export.
Getting started
- Download or clone the collection repository.
- Create your API key in the Veriko console and store it in the
VERIKO_API_KEYenvironment variable. - In Bruno, open the folder with Open Collection and pick the
productionenvironment.
In Postman, import postman/postman_collection.json and postman/production.postman_environment.json, pick the environment and set api_key, which is a secret variable. Before the webhook or image requests, also set webhook_receiver_url, receipt_image_url and receipt_image_base64.
The guided flow
The getting-started folder is a numbered flow of 13 steps: validate by fields or by image, enqueue with ?async=1, poll the verdict until it is final, download the CEP, register and test a webhook, list the SPEI banks and check the Banxico status. Run all of it with the Bruno CLI:
bru run getting-started --env productionEvery other folder holds one request per operation, named after its tag in the specification: validations, beneficiaries, webhooks, finance, usage, insights, users, public, banxico-status, plans, billing and dashboard.
Quota and destructive requests
Requests that change or delete data carry the destructive tag, (destructive) in their name and a warning in their documentation. To run a folder without them:
bru run validations --env production --exclude-tags destructiveRepository
The full instructions, the changelog and the contribution guide are in the collection repository.