Test with Postman
The official collection includes the routes and examples from the interactive reference, including messages, media, contacts, groups, webhooks, telephony and payments.
Download the ViperConnect Postman collection
Import
- Download the file above.
- Select Import in Postman and choose the JSON file.
- Open ViperConnect API, then select Variables.
- Fill in
base_url,token,phone,sessionandto. - Save the collection before sending the first request.
The collection applies Authorization: Bearer automatically. The distributed file never contains a real credential.
Test the payment lifecycle
In the Mensagens folder:
- Run a creation example such as PIX dinâmico avulso.
- Set a new
payment_reference_idand send the charge. - Wait until its webhook status reaches
sentordelivered. - Run Confirmar pagamento e manter pedido em processamento.
- Run Concluir pedido já pago after fulfillment finishes.
The collection refreshes unix_timestamp automatically before every request. WhatsApp does not verify bank settlement; send the confirmation only after your bank, gateway or PSP reports that the payment was captured.
Maintenance
The collection is generated from docs/openapi.yaml with:
yarn build:docsDo not edit the generated JSON manually. Update the OpenAPI source and generate it again so the collection and interactive reference remain synchronized.