Appearance
Postman Collection
Download the complete WalletPass.ai API collection for Postman to test all endpoints easily.
Download
Download WalletPass.ai API Collection
Setup
Import the Collection
- Open Postman
- Click "Import" button
- Select the downloaded
WalletPass.ai_API_Collection.postman_collection.jsonfile - The collection will be imported with all endpoints organized in folders
Configure URL Variables The collection uses only URL variables (no other variables). Configure these in Postman:
pass_base_url:https://generate.walletpass.ai(orhttp://localhost:8082for local)tenant_manager_url:https://tenant.walletpass.ai(orhttp://localhost:8080for local)member_base_url:https://member.walletpass.ai(orhttp://localhost:8083for local)notification_service_url:https://notification.walletpass.ai(orhttp://localhost:8085for local)
To configure:
- Right-click the collection → "Edit"
- Go to "Variables" tab
- Update the values as needed
Set API Keys
- For endpoints requiring authentication, replace
wp_your_api_key_herein the headers with your actual API key - For admin endpoints, replace
admin@walletpass.aiwith your admin email
- For endpoints requiring authentication, replace
Collection Structure
The collection is organized into the following folders:
Health Checks
- Pass Generation Service
- Tenant Manager Service
- Member Data Service
- Notification Service
Pass Generation
- Demo Pass (Apple)
- Demo Pass (Google)
- Create Pass from Member
- Download Pass
Pass Styles
- Create Pass Style
- List Pass Styles
- Get Pass Style
- Update Pass Style (Partial) - New: Supports partial updates
- Upload Style Asset - New: Automatically uses uploaded images for both normal and @2x versions
- Set Default Style
- Delete Pass Style
Style Groups
- Create Style Group
- List Style Groups
- Get Style Group
Members
- Register Member
- Get Member
- List Members
- Update Member Points
- Create Membership Program
Tenants
- Create Bearer Token
- List Bearer Tokens
- Onboard Tenant
- List Tenants
- Get Tenant Details
Distribution
- Send Pass via SMS (by pass_id)
- Send Pass via SMS (by member_id)
Features
- No Variables: Only URL variables are used (no other variables like
api_key,pass_id, etc.) - Organized: All endpoints are organized in folders by functionality
- Complete: Includes all available API endpoints
- Up-to-date: Collection is maintained to match the current API
Notes
- Partial Updates: The "Update Pass Style" endpoint now supports partial updates. Only provided fields are updated, others remain unchanged.
- Default Images: Default images (strip.png, strip@2x.png, icon.png, icon@2x.png) are only used when no custom images are uploaded.
- Default Colors: If no colors are provided, default WalletPass.ai brand colors are used:
- Background:
rgb(58, 77, 144) - Foreground:
rgb(255, 255, 255)(white) - Label:
rgb(255, 255, 255)(white)
- Background:
- Image Uploads: When you upload an image for Apple or Google, it's automatically used for both the normal and @2x versions (unless you explicitly upload a @2x version).
Keeping the Collection Updated
The Postman collection is maintained alongside the API documentation. When new endpoints are added or existing ones change, the collection is updated accordingly.
To ensure you have the latest version:
- Check the documentation for any API changes
- Re-download the collection from this page
- Re-import it into Postman (you may need to delete the old collection first)