Advanced
Integrations: API, webhooks, stores, registers and AI
Connect your Square register or online store, get notified of every stamp and run the panel from Claude or ChatGPT.
4 min read
Integrations gathers five ways to connect Loymore with other systems. Available on the Total plan; owner only.
API keys
A key lets your register or your software give stamps, redeem rewards and look up customers. Tap New key, name it ("Main register") and copy it right away: it is never shown again. Revoke it when it is no longer used.
The full documentation is at /en/docs/api. A stamp through the API identifies the customer (short code, email or phone) and accepts the amount and the invoice number. For points, store-credit, tiered-discount and visit-pass cards, POST /api/v1/transactions does what the counter does: earn, redeem, record the sale, use or reload visits and redeem the welcome offer. GET /api/v1/menu returns your digital menu (sections, products, prices, availability, translations and linked rewards) to show it on your site or in your system.
Webhooks
We notify you with a signed POST to your URL when something happens: new customer, stamp given, reward earned or reward redeemed and, on points, credit, discount and visit-pass cards: balance changed, tier changed, visit used, welcome offer redeemed and balance expired. Keep the secret to verify the signature. After 5 consecutive failures the webhook is disabled; you can reactivate it and see the latest deliveries with their result.
Online stores (Shopify and WooCommerce)
A paid order in your store gives a stamp (or stamps by spend, if enabled). If the buyer has no card, we create one and email them to save it.
- Tap Connect Shopify or Connect WooCommerce.
- Copy the webhook URL and create it in your store:
- Shopify: Settings → Notifications → Webhooks → Create webhook, event "Order payment", JSON format.
- WooCommerce: WooCommerce → Settings → Advanced → Webhooks → Add, topic "Order updated".
- Paste into the panel the secret your store signs webhooks with and save it.
You can pause the connection (orders are received but give no stamps) or disconnect it.
Shopify POS: a charge taken at the Shopify register is just another order (source_name: pos) and arrives through this same webhook: it adds like an online order.
Points of sale: Square
Connect your Square account and every completed charge adds to the customer's card by its type: a stamp (or stamps by spend), points, store credit or the purchase towards their discount tier. A visit pass is left alone (a charge does not load visits). The amount counted excludes the tip, in your business's currency.
- In Integrations tap Connect Square, sign in to Square and authorize. (If you are testing with the Square sandbox, open the test account from the Developer Console in the same browser first.) We only ask to read payments and customers; we never write to Square.
- To know whose sale it is, in Square POS scan the pass barcode into the charge Note (a barcode scanner types it for you). Otherwise charge a Square customer that has the email or phone of their card; the digital receipt email works too.
- If there is no way to identify the customer, the sale is skipped. If the customer has no card yet, we create one with their email or phone and send them the link.
Each payment adds once, even if Square notifies it several times. A refund does not reverse what was added: undo it from the customer's page. If Square asks you to authorize again, or you disconnect, charges stop adding until you reconnect.
AI connections (Claude, ChatGPT)
Your panel has an MCP server. Paste the MCP server URL into Claude or ChatGPT as a custom connector, authorize with your panel account and you can ask things like "give Jan a stamp", "add Ana's $12 purchase" (points or credit), "use one visit from Luis's pass", "how much is the latte on the menu?", "how many new customers this week?" or "send a notification to everyone with an unredeemed reward". The assistant acts with the role of the person who connected it. Revoke a connection from the panel whenever you want.
Still have a question?
Write to us