walletap

v0.1.3
io.github.ivangr1/walletap Checked 3 days ago Published 7 months ago

Issue and manage Apple Wallet & Google Wallet passes from any AI assistant.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_passes

List all passes for a given template with pagination and optional status filtering. Use this to browse passes, check counts, or find passes by their installation status. Returns pass objects with IDs, emails, phones, and device counts.

ParameterTypeDescription
templateId *stringTemplate ID to list passes for
endBeforestringCursor for previous page
limitnumberMax results to return (default: 15)
startAfterstringCursor for next page — use value from previous response
statusstringFilter by installation status (default: all)

search_passes

Search passes within a template by email or phone number. Use this when you need to find a specific customer's pass. Returns matching passes ordered by creation date.

ParameterTypeDescription
searchQuery *stringEmail address or phone number to search for
templateId *stringTemplate ID to search within

export_passes

Export all passes for a template as CSV data. Use this to get a full data dump of passes for reporting or migration. Returns CSV with columns: Pass ID, External ID, Email, Phone, Name, Member ID, Status, Installation Status, Device Count, Created, Updated.

ParameterTypeDescription
templateId *stringTemplate ID to export passes for
statusstringFilter by installation status (default: all)

get_pass

Get a single pass by ID or by externalId + templateId. Returns the pass with wallet download URLs (Apple, Google, Huawei) and installation badge URLs. Use includeTemplate to also get the full template configuration.

ParameterTypeDescription
externalIdstringExternal ID (must be combined with templateId)
idstringPass ID (use this OR externalId + templateId)
includeTemplatebooleanInclude full template data in response
localestringLocale for pass text (e.g. 'en', 'hr', 'de')
templateIdstringTemplate ID (required when using externalId)

create_pass

Create one or more wallet passes for a template. Use this to issue new loyalty cards, event tickets, coupons, or membership passes to customers. Can optionally send the pass link via email or SMS.

ParameterTypeDescription
passes *arrayArray of passes to create (1 or more)
localestringLocale for pass text and communications
sendToEmailbooleanSend pass link via email to customer
sendToPhonebooleanSend pass link via SMS to customer

update_pass

Update an existing pass's fields, stamps, or balance. Use this to modify customer data, add/remove loyalty stamps, adjust balance, or invalidate a pass. Identify the pass by ID or by externalId + templateId.

ParameterTypeDescription
balanceOperationobjectBalance operation (for gift cards / prepaid)
customFieldsobjectCustom metadata to update
externalIdstringExternal ID (must be combined with templateId)
idstringPass ID (use this OR externalId + templateId)
isValidbooleanSet pass validity (false = voided/greyed out)
redemptionValuestringUpdate NFC redemption value
stampOperationobjectStamp collection operation (for stamp cards)
templateFieldsobjectTemplate field values to update
templateIdstringTemplate ID (required when using externalId)

notify_pass

Send a push notification to a single pass holder via Google Wallet. Use this for targeted messages to individual customers (e.g. balance update, reward earned). For bulk notifications to all pass holders, use send_template_notification instead.

ParameterTypeDescription
content *stringNotification body text. URLs in content become clickable links.
passId *stringID of the pass to send notification to
title *stringNotification title
validFromstringISO 8601 timestamp when notification becomes visible (default: now)
validUntilstringISO 8601 timestamp when notification expires (default: now + 24h)

list_templates

List all pass templates with cursor-based pagination. Use this to discover available templates before creating or managing passes. Returns template names, types, IDs, and pagination info.

ParameterTypeDescription
limitnumberMax results to return (default: 15)
startAfterstringCursor for next page — pass endCursor from previous response

create_template

Create a new pass template (loyalty card, gift card, event ticket, coupon, or generic). Use this to set up a new pass type before issuing passes to customers. After creation, update the template to configure its visual design and fields.

ParameterTypeDescription
name *stringTemplate display name
type *stringPass type
cardSharingstringCard sharing setting
enableBarcodebooleanEnable barcode on pass (default: true)
enableNFCbooleanEnable NFC tap functionality (default: false)
requireAuthenticationbooleanRequire device authentication to view pass

update_template

Update an existing template's configuration, design, or fields. Use this to change visual appearance, update field mappings, or modify behavior. Changes are pushed to all installed passes automatically.

ParameterTypeDescription
data *objectTemplate fields to update (deep merged with existing data). Can include visual config, field definitions, translations, etc.
templateId *stringTemplate ID to update

delete_template

Permanently delete a template and deactivate its billing meters. Use with caution — this cannot be undone. All passes under this template will become orphaned. Consider listing passes first to ensure the template is empty.

ParameterTypeDescription
templateId *stringTemplate ID to delete

send_template_notification

Send a push notification to ALL pass holders of a template via Apple, Google, and Huawei wallets. Use this for announcements, promotions, or updates that apply to all customers. For individual notifications, use notify_pass instead.

ParameterTypeDescription
content *stringNotification body text. URLs in content become clickable links.
templateId *stringTemplate ID to send notification for
title *stringNotification title
validFromstringISO 8601 timestamp when notification becomes visible (default: now)
validUntilstringISO 8601 timestamp when notification expires (default: now + 24h)

create_certificate

Create or renew an Apple Wallet certificate for a template. Use this after creating a template to enable Apple Wallet pass generation. This is automatically handled during template creation but may need manual triggering for renewals.

ParameterTypeDescription
templateId *stringTemplate ID to create certificate for

list_locations

List all locations for the authenticated account. Use this to see available business locations for reader deployment or pass association. Returns location names, addresses, and coordinates.

create_location

Create a new business location for reader deployment and pass management. Use this when setting up a new store, venue, or checkpoint. Locations can be associated with passes and readers for validation.

ParameterTypeDescription
latitude *numberGPS latitude
longitude *numberGPS longitude
name *stringLocation display name
addressstringHuman-readable address
businessLocationLabelstringInternal label for this location

update_location

Update an existing location's details. Use this to correct addresses, rename locations, or update coordinates. Only provided fields are updated — omitted fields remain unchanged.

ParameterTypeDescription
id *stringLocation ID to update
addressstringNew address
businessLocationLabelstringNew internal label
latitudenumberNew GPS latitude
longitudenumberNew GPS longitude
namestringNew location name

delete_location

Delete a location permanently. Use with caution — readers associated with this location will need reassignment. Subscription is updated automatically.

ParameterTypeDescription
id *stringLocation ID to delete

create_reader

Create a new VTAP NFC reader for pass validation at a location. Use this when deploying a new physical reader device. If a phone number is provided, an SMS with the login link is sent to the reader operator.

ParameterTypeDescription
name *stringReader display name
templateId *stringTemplate ID this reader validates
phonestringPhone number to send SMS login link to reader operator

list_sub_accounts

List all sub-accounts (team members) for the main account. Use this to see who has access and their template permissions. Returns sub-account details with template access counts.

create_sub_account

Create a new sub-account (team member) with specific permissions and template access. Use this to grant team members limited access to manage specific templates. The sub-account gets their own login credentials.

ParameterTypeDescription
displayName *stringDisplay name
email *stringEmail address for the new sub-account
password *stringInitial password for the sub-account
permissionsarrayPermission list (e.g. ['passes.read', 'passes.write'])
templateIdsarrayTemplate IDs this sub-account can access

update_sub_account

Update a sub-account's permissions, template access, or active status. Use this to grant/revoke access or deactivate a team member. Only provided fields are updated.

ParameterTypeDescription
userId *stringSub-account user ID to update
displayNamestringUpdated display name
isActivebooleanSet active status (false = deactivated)
permissionsarrayUpdated permission list
templateIdsarrayUpdated template IDs this sub-account can access

delete_sub_account

Permanently delete a sub-account and revoke all their access. Use with caution — this removes the user's Firebase auth account and all template access records. This cannot be undone.

ParameterTypeDescription
userId *stringSub-account user ID to delete

translate_pass_text

Translate pass text to multiple languages using Google Cloud Translation. Use this to localize pass content (field labels, messages) for international customers. Supports all Google Translate languages.

ParameterTypeDescription
sourceLanguage *stringSource language code (e.g. 'en', 'hr', 'de')
targetLanguages *arrayArray of target language codes (e.g. ['es', 'fr', 'de'])
texts *arrayArray of text strings to translate