πŸ”—API

Create your own integration with 3rd party software

API Access

API access is available on the Business plan only.

Authentication & API Key

To get your API key, go to: Settingsarrow-up-right β†’ Integrationsarrow-up-right

Authentication method

  • Type: API Key

  • API Key parameter name: x-api-key

  • API key placement: Request header

  • Value: Your API key from account settings

Types of cards:

Card Type
ID

Stamp

0

Cashback

1

Multipass

2

Coupon

3

Discount

4

Gift (Certificate)

5

Membership

6

Reward

7

Card balance & activity methods

  • Add amount to card β€” Cashback (ID 1)

  • Add point to card β€” Cashback (ID 1), Discount (ID 4), Gift/Certificate (ID 5)

  • Add reward to card β€” Stamp (ID 0)

  • Add scores to card β€” Multipass (ID 2), Reward (ID 7) with mechanics type β€œPoints”

  • Add stamp to card β€” Stamp (ID 0)

  • Add visit to card β€” Multipass (ID 2), Membership (ID 6) without limits, Stamp (ID 0) with visit mechanics, Reward (ID 7) with visit mechanics

  • Add purchase to card (add amount) β€” Stamp (ID 0) with spend mechanics, Reward (ID 7) with spend mechanics

  • Receive reward (by client) β€” Reward (ID 7)

  • Redeem coupon β€” Coupon (ID 3)

  • Subtract amount from card β€” Cashback (ID 1)

  • Subtract point from card β€” Cashback (ID 1), Discount (ID 4), Gift/Certificate (ID 5)

  • Subtract reward from card β€” Stamp (ID 0)

  • Subtract scores from card (subtract points) β€” Multipass (ID 2), Reward (ID 7)

  • Subtract stamp from card β€” Stamp (ID 0)

  • Subtract visit from card β€” Multipass (ID 2), Membership (ID 6) with limits

Core API endpoints

Cards

  • GET /cards β€” List of cards

  • POST /cards β€” Create card for customer (issue card)

  • GET /cards/{number} β€” Get card by number

  • DELETE /cards/{number} β€” Delete card by number

Customers

  • GET /customers β€” List customers

  • GET /customers/{id} β€” Get customer by ID

  • POST /customers β€” Create customer

  • PATCH /customers/{id} β€” Update customer data

  • DELETE /customers/{id} β€” Delete customer by ID

Operations

  • GET /operations β€” List operations

Push notifications

  • GET /pushes/{id} β€” Get push by ID

  • GET /pushes β€” List pushes

  • POST /pushes β€” Send push

Templates

  • GET /templates/{id} β€” Get template by ID

  • GET /templates β€” List company card templates

Redeeming rewards with cost (Stamp cards)

When redeeming a reward, you can specify its monetary value so it is added to the customer’s LTV. Use Subtract reward from card.

POST

Where: 544256-439-856 = Card serial number (customer’s card QR / barcode)

Example request

  • rewards β€” number of rewards to subtract

  • comment β€” optional transaction note

  • purchaseSum β€” reward value added to LTV

Important: The API does not auto-read reward prices from card settings; purchaseSum must be provided manually.

Rate limits

  • 10 requests/second (600 requests/minute)

  • Exceeding the limit returns HTTP 429 – Too Many Requests

  • The limit is fixed; implement retries with backoff or request queueing

Last updated