snaplii-mcp
v0.20.3MCP server for Snaplii A2M payments — browse, purchase gift cards, and pay bills
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
snaplii_config_show Show Snaplii connection status
Show current Snaplii config and auth status.
snaplii_init Sign in with an API key
Authenticate with the user's Snaplii API key — FALLBACK path. PREFER snaplii_connect, which opens a secure card so the key never enters the chat/model context. Use snaplii_init when the client has neither a card nor a page and the user chooses to paste the key; the key then passes through the model context once. The key is scoped and revocable (its hard per-key daily limit set in the app only covers gift cards; bill payments are not subject to it, and transfers have a separate rolling 24-hour limit), spends only prepaid Snaplii Cash, and is exchanged for a session token, never stored on disk…
| Parameter | Type | Description |
|---|---|---|
api_key * | string | API key (snp_sk_live_...) |
agent_id | string | Agent identifier (optional — auto-derived from API key if omitted) |
snaplii_connect Connect Snaplii account
Securely connect the user's Snaplii account via a secure card where the user types their API key directly (never through the chat or model). If the host supplies the key in the SNAPLII_API_KEY plugin variable, this logs in with it directly and no card appears. ⛔ DO NOT CALL IF ALREADY CONNECTED: invoking this renders a connect card on card hosts (ChatGPT / Claude desktop / Codex) EVEN WHEN already authenticated. FIRST check snaplii_config_show — if has_valid_token=true the user is already connected: just tell them so and proceed (browse/balance/purchase/bills), do NOT call snaplii_connect.…
snaplii_submit_api_key Submit API key from the connect card
Internal: receives the API key from the secure connect card and authenticates. Only the card calls this, on submit. Do not call it yourself: to connect, call snaplii_connect. Hosts that support app-only tools hide it from the model; others may still list it.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | API key entered in the card |
agent_id | string | optional; auto-derived if omitted |
snaplii_balance Get Snaplii Cash balance
Get the user's real, current spendable Snaplii Cash balance (the same pool that pays for gift cards and bills). This is an authoritative query — use it instead of guessing or asking the user. Call it before a quote/purchase so you can tell up front whether the order is covered, and after a purchase if the user asks what's left. Returns {balance, currency}. Snaplii Cash is held in the account's LOCAL currency; the tool labels it from the account's stored country (cached at login), so you don't need to ask for or pass country. Never assume CAD.
| Parameter | Type | Description |
|---|---|---|
country | string | User's country: CA or US — sets the currency (CA=CAD, US=USD) |
snaplii_browse_tags Browse gift card categories
Browse all gift card categories with brand summaries (name, cashback rate, brandId). IMPORTANT: the account's country/region is already known from the connection (cached at login) and is returned as `account_country` in the result — do NOT ask the user for it. The catalog is already filtered to that region by the gateway, so every brand returned is available to the user; do not rely on flag emoji in brand names, which may be missing or wrong. When users describe a scenario (e.g. travel, dining), YOU should analyze the data, compare cashback rates, and recommend the best options.
| Parameter | Type | Description |
|---|---|---|
channel | string | HOME_PAGE or SEND_GIFT |
snaplii_browse_brand Get gift card brand details
Get brand details and exact denominations. Read the `denominations` array for each card's real type and amount: FIXED cards have a single `amount`; VARIABLE cards have a `min` and `max` (any amount in that range is allowed). NEVER invent or assume a min/max — only use the values returned here. Each entry's `item_id` ({cardBrandId}-{cardTemplateId}) is exactly what you pass to quote/purchase: copy it verbatim, never assemble or shorten it. Use brandId from browse_tags.
| Parameter | Type | Description |
|---|---|---|
brand_id * | string | Card brand ID (e.g. CB00000000000086) |
snaplii_giftcard_list List my gift cards
List user's owned gift cards, one page at a time. IMPORTANT: Only show brand name, face value, status, and masked card number (first 4 + last 4 digits). NEVER show full card code, PIN, or barcode unless user explicitly asks. When checking whether an earlier purchase went through, read every page: a card missing from one page is not proof that the purchase failed.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starting at 1 |
page_size | integer | Cards per page |
status | string | ACTIVE or INACTIVE |
snaplii_giftcard_detail Get gift card details
Get a gift card's redemption code/PIN — how the card is actually used. If you have a browser-control capability, you may enter this code on the merchant/delivery site (Payment → Add Gift Card) and complete the order, pausing for confirmation before the final order/pay button. If you have no browser tool, give the user the code and tell them how to add it in the merchant app themselves. Redemption code field varies by brand: use cardCode if present, else pin; fields are nested under 'data'. Call after a purchase or when the user asks to see/redeem a card.
| Parameter | Type | Description |
|---|---|---|
card_no * | string | Card number from giftcard_list |
snaplii_quote Quote a gift card purchase
Get a price quote before purchasing. Verifies item_id against the catalog first, then returns the card's brand_name, order total, voucher discount, cashback applied, and actual pay amount. ALWAYS call this before snaplii_purchase to show the user what they will pay, and check that brand_name, when present, is the brand the user asked for. If it refuses the card or amount (invalid_item_id, amount_out_of_range, MCAP2107), nothing was charged: follow retry_hint, browse again and retry once with corrected parameters; if refused again, stop and tell the user.
| Parameter | Type | Description |
|---|---|---|
item_id * | string | EXACTLY {cardBrandId}-{cardTemplateId}, e.g. CB00000000000086-CT000000003618. Copy it verbatim from the `item_id` of the chosen `denominations` entry returned by snaplii_browse_brand (or from snaplii_… |
price * | string | Price in dollars |
cashback_option | string | USE or NOT_USE |
specified_voucher | string | Specific voucher ID to apply (optional) |
voucher_option | string | BEST_FIT (auto-apply best voucher), USE, or NOT_USE |
snaplii_purchase Buy a gift card
Buy a gift card. Spends ONLY from prepaid Snaplii Cash, capped by the user's per-key daily limit set in the app; the charge happens as soon as this runs. Call snaplii_quote first to know the exact cost; pass the same voucher/cashback options here so the charge matches the quote. After purchase, get the redemption code via snaplii_giftcard_detail. invalid_item_id, amount_out_of_range or MCAP2107 (at any HTTP status) means nothing was charged: follow retry_hint and retry once with corrected parameters, never the same values; if refused again, stop and tell the user. If the call times out, loses…
| Parameter | Type | Description |
|---|---|---|
item_id * | string | EXACTLY {cardBrandId}-{cardTemplateId}, e.g. CB00000000000086-CT000000003618. Copy it verbatim from the `item_id` of the chosen `denominations` entry returned by snaplii_browse_brand (or from snaplii_… |
price * | string | Price in dollars |
cashback_option | string | USE (default) or NOT_USE — match what you quoted |
specified_voucher | string | Specific voucher ID to apply (optional) |
voucher_option | string | BEST_FIT (default), USE, or NOT_USE — match what you quoted |
snaplii_cashback_calc Find the best cashback card
Calculate exact cashback savings for a brand and amount. Shows how much user saves and effective cost.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Purchase amount in dollars |
brand_id * | string | Card brand ID |
snaplii_dashboard Show spending dashboard
Show a summary dashboard of all owned gift cards: total count, total face value, breakdown by brand.
snaplii_billpay_payees List bill payees
List available bill pay payees/billers (utility companies, telecoms, etc.).
snaplii_billpay_detail Get bill payee details
Get payee details including account validation rules. Use payeeCode from billpay_payees.
| Parameter | Type | Description |
|---|---|---|
payee_code * | string | Payee code (e.g. ROGERS, HYDRO_ONE) |
snaplii_billpay_history List bill payment history
Get user's previous bill pay info for a payee (autofill account, name, etc.).
| Parameter | Type | Description |
|---|---|---|
payee_code * | string | Payee code |
snaplii_billpay_save Save bill payment details
Save bill pay instruction. Returns payCode needed for quote and payment.
| Parameter | Type | Description |
|---|---|---|
account * | string | Account number at the biller |
amount * | string | Payment amount |
first_name * | string | Payer first name |
last_name * | string | Payer last name |
payee_code * | string | Payee code |
email | string | Payer email (optional) |
phone | string | Payer phone (optional) |
remark | string | Memo (optional) |
snaplii_billpay_vouchers List bill payment vouchers
List available vouchers for a bill payment order.
| Parameter | Type | Description |
|---|---|---|
pay_code * | string | payCode from billpay_save |
price * | string | Bill amount |
snaplii_billpay_quote Quote a bill payment
Get a price quote for bill payment. Shows order total, voucher discount, and actual pay amount.
| Parameter | Type | Description |
|---|---|---|
pay_code * | string | payCode from billpay_save |
price * | string | Bill amount |
voucher_id | string | Specific voucher ID (optional) |
snaplii_billpay_pay Pay a bill
Pay the bill from Snaplii Cash balance. Completes directly, with no PayPal redirect, when the balance covers the bill. The per-key daily limit set in the app only covers gift cards; bill payments are not subject to it. Once sent, a bill payment cannot be undone, and one sent to the wrong biller or account cannot be recovered. If a pay call fails or times out ambiguously, do NOT pay again: if the answer carries a paymentNo, check it with snaplii_billpay_result; if it does not, ask the user to check the bill in the Snaplii app and stop. snaplii_billpay_history cannot tell whether a payment went…
| Parameter | Type | Description |
|---|---|---|
pay_code * | string | payCode from billpay_save |
price * | string | Bill amount |
voucher_id | string | Specific voucher ID (optional) |
snaplii_billpay_result Get bill payment result
Poll bill pay payment result. Returns status: SUCCESS (0), FAILED (1), or PROCESSING (3). If processing, wait and poll again.
| Parameter | Type | Description |
|---|---|---|
payment_no * | string | paymentNo from billpay_pay |
snaplii_transfer_create Send Snaplii Cash to a phone number
Creates a P2P transfer of Snaplii Cash to a phone number. It sends automatically at auto_finish_at (~5 min) unless cancelled — always tell the user the amount, recipient, and the cancel deadline. If the user gave no phone number, ask for it. A fresh Idempotency-Key is generated per call; pass idempotency_key ONLY when retrying the identical request (after a CREATING result — never retry with a fresh key). If the result has cross_currency_notice, disclose it to the user; they can still cancel. Only call snaplii_transfer_finish when the user explicitly asks to send now.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount to send as a string, e.g. "12.50" (minimum 1.00) |
to_phone * | string | Recipient's phone number, any format |
idempotency_key | string | ONLY to retry the identical request; omit otherwise |
remark | string | Optional note to the recipient (max 200 characters) |
snaplii_transfer_cancel Cancel a pending transfer
Cancel a PENDING transfer (allowed until auto_finish_at). Returns CANCELLED, or CANCELLING when the upstream has not confirmed yet — then poll snaplii_transfer_status.
| Parameter | Type | Description |
|---|---|---|
order_no * | string | order_no from snaplii_transfer_create |
snaplii_transfer_finish Send a pending transfer now
Send a PENDING transfer NOW instead of waiting for auto_finish_at. Only call when the user explicitly asks to send immediately — it shortens the undo window and cannot be undone once settled. Settlement runs in the background (~15s): poll snaplii_transfer_status until FINISHED or FAILED.
| Parameter | Type | Description |
|---|---|---|
order_no * | string | order_no from snaplii_transfer_create |
snaplii_transfer_status Get transfer status
Get one transfer's current state. Poll every few seconds while PENDING/FINISHING/CANCELLING; stop at FINISHED (success), CANCELLED, or FAILED (report fail_message to the user).
| Parameter | Type | Description |
|---|---|---|
order_no * | string | order_no from snaplii_transfer_create |
snaplii_transfer_list List transfers
List the user's P2P transfers, newest first. Optional comma-separated status filter (e.g. PENDING,FINISHED).
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page (default 1) |
page_size | integer | Rows per page, 1-100 (default 20) |
status | string | Comma-separated status filter (optional) |