Public API use cases
Samples are HTTP against https://api.loyalty.dog/v2. There is no official SDK. Public API Access is Standard $29, Growth $59, or Scale $119 per month. There is no free Public API plan. That subscription is not the loyalty.dog merchant plan. Merchants looking for the loyalty plan should start at loyalty.dog. A standard LoyaltyDog or POS plan does not include it.
Loyalty programs
Create and read programs, customers, and points on /v2/loyalty. The points call takes an integer points field.
- GET /v2/loyalty/programs
- Program-scoped customers
- POST points/add with {"points": <integer>}
- Offers and program rules on the same program path
GET /v2/loyalty/programs HTTP/1.1
Host: api.loyalty.dog
Authorization: Bearer <secret>
Accept: application/jsonGift cards
List, look up, issue, and redeem gift cards under /v2/giftcards. Two balance-check routes are public and take no Authorization header.
- GET /v2/giftcards/programs/{programId}/cards
- Issue, redeem, reload, and void routes on the same prefix
- POST /v2/giftcards/customer/balance-check takes no bearer token
- POST /v2/giftcards/programs/{programId}/balance-check takes no bearer token
GET /v2/giftcards/programs/{programId}/cards HTTP/1.1
Host: api.loyalty.dog
Authorization: Bearer <secret>
Accept: application/jsonVouchers
Voucher routes live under the loyalty program path in the public OpenAPI.
- GET /v2/loyalty/programs/{programId}/vouchers
- Publish, cancel, and issue routes for a voucher id
- Same bearer auth as other program routes
GET /v2/loyalty/programs/{programId}/vouchers HTTP/1.1
Host: api.loyalty.dog
Authorization: Bearer <secret>
Accept: application/jsonWallet passes
The platform generates Apple Wallet and Google Wallet passes from templates. You can push an update so a device refetches a pass.
- Pass routes under /v2/passes
- POST .../customers/{customerId}/push sends a message to an installed pass
- The message field on that push is optional
POST /v2/loyalty/programs/{programId}/customers/{customerId}/push HTTP/1.1
Host: api.loyalty.dog
Authorization: Bearer <secret>
Content-Type: application/json
{"message": "Your points were updated"}Webhooks
Register an HTTPS endpoint instead of polling. Deliveries are signed JSON. Acknowledge with 2xx.
- POST /v2/webhooks
- Customer lifecycle events
- Loyalty transactions, gift cards, and wallet pass events
POST /v2/webhooks HTTP/1.1
Host: api.loyalty.dog
Authorization: Bearer <secret>
Content-Type: application/json
{"url": "https://example.com/webhooks", "allowedEvents": ["loyalty.customer.created", "transaction.completed", "pass.installed"]}MCP server
Run the published MCP package locally. It calls the same REST API. It is not a second billing plan.
- uvx loyaltydog-mcp
- Docs env var LOYALTYDOG_API_KEY
- 17 tools in package 0.1.0, five of them write
- Production base URL https://api.loyalty.dog/v2
uvx loyaltydog-mcp
# Published docs:
# LOYALTYDOG_API_KEY=ld_live_your_key_here
# LOYALTYDOG_API_URL defaults to https://api.loyalty.dog/v2Frequently asked questions
How do developers use the LoyaltyDog API for loyalty programs?
The public REST API at https://api.loyalty.dog/v2 covers loyalty programs (points, tiers, rewards, and program-scoped customers), gift cards, and wallet passes. Call it with curl or any HTTP client and a bearer token. There is no official SDK, and the public OpenAPI does not publish ML model ids. Documentation is at https://docs.loyalty.dog.
What does the Public API cover?
The public HTTP API at https://api.loyalty.dog/v2 covers loyalty programs, program-scoped customers, points, vouchers, gift cards, wallet passes, customer push, and webhooks. Send Authorization: Bearer. There is no official SDK, and the public OpenAPI does not publish ML model ids.
Which platforms have first-party integrations?
First-party integrations available to customers are Epos Now, Shopify, WooCommerce (WordPress plugin), and Zapier. A Square integration is launching soon and is not yet available to customers. A custom integration calls the same REST API. Public API Access is a separate paid product: a standard LoyaltyDog or POS plan does not include it, and metering applies only to hashed ld_* keys.
What does Public API Access cost, and is it the merchant plan?
Public API Access is a separate paid product in USD: Standard is $29 per month (100,000 API calls), Growth is $59 (250,000), and Scale is $119 (600,000). Enterprise is quoted. The monthly allowance is shared across all of a merchant's API keys. Going over it is a hard stop: requests return HTTP 429 with code monthly_quota_exceeded until the allowance resets on the 1st of the month (UTC). There are no overage charges. There is no free Public API plan. The loyalty.dog merchant plan is a separate $29 USD per month product with a 30-day trial. Merchants who want the loyalty program should start at https://loyalty.dog. A standard LoyaltyDog or POS plan does not include it.
Is there a free Public API plan?
No. There is no free Public API plan. Standard is $29 per month with 100,000 API calls a month, Growth is $59 with 250,000, and Scale is $119 with 600,000, shared across all of a merchant's API keys. Enterprise is quoted. Hourly limits are 1,000, 2,000, and 5,000, and per-minute burst limits are 60, 120, and 300, set by plan. The loyalty.dog merchant plan is a separate $29 USD per month product with a 30-day trial. Merchants who want the loyalty program should start at https://loyalty.dog. A standard LoyaltyDog or POS plan does not include Public API Access.
How do I install the MCP server?
The published install is uvx loyaltydog-mcp. Docs set LOYALTYDOG_API_KEY and default LOYALTYDOG_API_URL to https://api.loyalty.dog/v2. Docs say LOYALTYDOG_API_TOKEN still works when LOYALTYDOG_API_KEY is unset. Package 0.1.0 exposes 17 tools, five of which write. The server in core_api registers 19 tools. Install guide: https://docs.loyalty.dog/mcp/installation.
How are public API keys and request logs handled?
Public API secrets (ld_live_ / ld_test_) are stored as a SHA-256 hash of the full secret, shown once when minted, and may be rotated or revoked. TLS terminates at Cloudflare in front of api.loyalty.dog. Public API request logs do not store secrets, PAN, emails, query strings, bodies, IPs, or user-agent. Data-subject requests are assisted via the API and dashboard: export is via existing APIs where available. No ISO 27001 or SOC 2 certification is claimed. Details: https://loyaltydog.ai/security/ and the Data Processing Agreement in Schedule 1 of https://loyalty.dog/loyalty-program-terms-of-service/.
Call the HTTP API
Public API Access is Standard $29, Growth $59, or Scale $119 per month. There is no free Public API plan.