Walletap MCP by usefulapi
v1.2.0Read templates and passes; issue, update, stamp or notify wallet passes in Walletap.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
walletap_list_templates List templates
List the account's pass templates (loyalty, membership, ticket, gift card, offer, generic) with their ids and names. Use this first to find a template_id. Walletap API: GET /templates. Needs the templates.viewAll scope.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Templates per page, 15 by default, 100 at most. |
starting_after | string | Template id to start after: the next_cursor of the previous page. |
walletap_get_template Get a template
Read one template, including its design as a JSON string. Parse its pass field to find each field id before you issue a pass. Walletap API: GET /templates/{id}. Needs the templates.viewAll scope.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The template id (from walletap_list_templates), for example tmpl_123. |
walletap_get_pass Get a pass
Read one pass: its links, wallet install state (deviceCount) and id. Give pass_id, or external_id with template_id. For field values use walletap_list_passes or walletap_search_passes. Walletap API: GET /pass. Needs the passes.viewAll scope.
| Parameter | Type | Description |
|---|---|---|
external_id | string | Your own reference for the customer. Use it with template_id when you do not have the pass_id. |
include_template | boolean | Also return the template's name, colour and logo. |
pass_id | string | The pass id, for example pass_456 (from walletap_list_passes or walletap_create_pass). |
template_id | string | The template id (from walletap_list_templates), for example tmpl_123. |
walletap_list_passes List a template's passes
List the passes issued from one template, newest first, with their field values, stamp count, validity and wallet install count. Page with starting_after. Walletap API: GET /passes. Needs the passes.viewAll scope. Holder contact details are returned: handle them as personal data.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The template id (from walletap_list_templates), for example tmpl_123. |
limit | integer | Passes per page, at most 100. Without it, the API returns every pass. |
starting_after | integer | The created value (epoch milliseconds) of the last pass on the previous page. |
status | string | all (default), installed (in a wallet) or not_installed. |
walletap_search_passes Find passes by email or phone
Find the passes on one template whose email or phone number equals the search text exactly. Emails are matched in lower case. Walletap API: GET /passes/search. Needs the passes.viewAll scope. Holder contact details are returned: handle them as personal data.
| Parameter | Type | Description |
|---|---|---|
search * | string | The holder's full email address or full phone number, for example +385915550142. |
template_id * | string | The template id (from walletap_list_templates), for example tmpl_123. |
walletap_create_pass Issue a pass
WRITE: issue one pass from a template for one customer. Field values must match the template's field ids. Walletap email and SMS delivery is OFF unless send_to_email or send_to_phone is true. Walletap API: POST /pass. Needs the passes.create scope.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The template id (from walletap_list_templates), for example tmpl_123. |
collected_stamps | integer | Starting stamp count on a stamp card, 0 to 50. |
custom_fields | object | Values for fields you added to the design, keyed by field id. |
email | string | Holder email address. The pass link goes here only when send_to_email is true. |
external_id | string | Your own reference for the customer. Keep it unique within the template. |
locale | string | Two-letter language code for the email, text and wallet buttons. Default en. |
phone | string | Holder phone in international format, for example +385915550142. |
send_to_email | boolean | Email the pass link to the holder. Default false. |
send_to_phone | boolean | Text the pass link to the holder. Default false. |
template_fields | object | Field values keyed by field id, for example {"accountName": "Luka Horvat", "balance": 120}. |
walletap_update_pass Update a pass
WRITE: change field values or validity of one pass. Send only the fields to change. Set is_valid false to void a pass (the wallet moves it to expired passes), true to reactivate. Moving validUntil into the future also reactivates a voided or expired pass. Walletap API: PATCH /pass. Needs the passes.edit scope.
| Parameter | Type | Description |
|---|---|---|
external_id | string | Your own reference for the customer. Use it with template_id when you do not have the pass_id. |
invalidated_reason | string | Only with is_valid false: why the pass is voided. |
is_valid | boolean | false voids the pass, true reactivates it. |
pass_id | string | The pass id, for example pass_456 (from walletap_list_passes or walletap_create_pass). |
template_fields | object | Field values to change. Setting validUntil to a future date reactivates a voided or expired pass, for example {"validUntil": "2027-07-01"}. |
template_id | string | The template id (from walletap_list_templates), for example tmpl_123. |
walletap_stamp_pass Add or remove stamps
WRITE: change the stamp count of one stamp-card pass. Use an idempotency_key per real visit (for example the receipt number) so a retry counts once. Walletap API: PATCH /pass with stampOperation. Needs the scanning.stamp scope.
| Parameter | Type | Description |
|---|---|---|
operation * | string | add or remove by count, set to a count, or removeAll to empty the card. |
count | integer | Required for add and set. Remove takes 1 when left out. |
external_id | string | Your own reference for the customer. Use it with template_id when you do not have the pass_id. |
idempotency_key | string | A unique value per real-world event, such as a receipt number. |
pass_id | string | The pass id, for example pass_456 (from walletap_list_passes or walletap_create_pass). |
template_id | string | The template id (from walletap_list_templates), for example tmpl_123. |
walletap_notify_pass Notify a pass holder
WRITE: send one message to the holder of one pass. Walletap adds it to the pass and tries a phone notification. Read success, delivery and code in the reply: Apple Wallet may report no_registered_devices or unchanged_message (no alert sent), and Google Wallet may report delivered_without_push (on the pass, no alert). Walletap API: POST /pass/{id}/notify. Needs the campaigns.send scope.
| Parameter | Type | Description |
|---|---|---|
content * | string | The message text. |
pass_id * | string | The pass id, for example pass_456 (from walletap_list_passes or walletap_create_pass). |
title * | string | Short notification title. |
valid_from | string | ISO 8601 time the message starts to show. Default: now. |
valid_until | string | ISO 8601 time the message stops to show. Default: 24 hours after valid_from. |