Postman Collection
Import our Postman collection to quickly explore and test the VasBox API.
Our Postman collection includes pre-configured requests for all VasBox API endpoints, making it easy to explore the API and test your integration.
New to Postman? Download Postman to get started.
Installation
Import the VasBox collection into Postman:
One-Click Import
Click the button below to import the collection directly into Postman:
Manual Import
- Download the VasBox Postman Collection
- Open Postman
- Click Import in the top left
- Drag the downloaded file or click Upload Files
- Click Import to confirm
Configuration
Configure the collection with your API credentials:
Environment Setup
- Click Environments in the left sidebar
- Select VasBox Sandbox (imported with collection)
- Set your API key in the
vasbox_api_keyvariable - Click Save
- Select the environment from the dropdown in the top right
Environment Variables
{
"vasbox_api_key": "vb_test_your_api_key_here",
"vasbox_base_url": "https://sandbox.api.vasbox.co.zw/v1"
}
Never share your API key. Use the "Current Value" column for sensitive data, which won't be synced to Postman's servers.
Using the Collection
The collection is organized by resource type:
Collection Structure
- Invoices - Create, list, get, update, submit, void
- Receipts - Create, list, get, void
- Products - CRUD operations for products
- Customers - CRUD operations for customers
- Webhooks - Webhook management
- Reports - Generate various reports
Running Requests
- Expand a folder (e.g., "Invoices")
- Select a request (e.g., "Create Invoice")
- Review and modify the request body if needed
- Click Send
- View the response in the lower panel
Using Variables
The collection uses variables for common values. After creating a resource, save its ID as a variable:
- Create an invoice using "Create Invoice"
- Copy the
idfrom the response - Set it as
invoice_idin your environment - Other requests will automatically use this ID
Environments
The collection includes two pre-configured environments:
Sandbox Environment
Use for development and testing. No real transactions are created.
- Base URL:
https://sandbox.api.vasbox.co.zw/v1 - Use test API keys (prefix:
vb_test_)
Production Environment
Use for live transactions with real ZIMRA submissions.
- Base URL:
https://api.vasbox.co.zw/v1 - Use live API keys (prefix:
vb_live_)
Warning
Production requests create real transactions and are submitted to ZIMRA. Double-check your data before sending.
Previous JavaScript SDK