Incentivio Loyalty Controller API

The loyalty-controller API from Incentivio — 7 operation(s) for loyalty-controller.

GitHub OpenAPI
Business capability
Loyalty & Retention Management BC-420.40

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /incentivio-loyalty-domain/clients/{clientid}/loyaltyaccounts/{loyaltyaccountid}/accounthistory View a loyalty account's transaction history · View loyal account history #
Ask an LLM
“How has a member's loyalty account been used over time?”
“Can I see a loyalty account's history for a specific merchant or date range?”
Tell an agent
Show the transaction history of loyalty account {loyaltyaccountid} for client {clientid}.
List loyalty account {loyaltyaccountid} history for merchant {merchantid} from {startdate} to {enddate}.
GET /loyaltyaccounts View a loyalty account · View loyalty account #
Ask an LLM
“What are the points and tier of a loyalty account?”
“Can I include the loyalty tier when fetching a loyalty account?”
Tell an agent
Show my loyalty account.
Fetch the loyalty account with tier included: {includeloyaltytier}.
PUT /loyaltyaccounts Link an external ID to a loyalty account · Upsert loyalty account external id #
Ask an LLM
“How do I tie a loyalty account to an ID from my own system?”
“Can I create or update a loyalty account's external reference?”
Tell an agent
Set the external ID of this loyalty account to {externalId}.
Upsert the loyalty account's external reference with {externalId}.
PUT /loyaltyaccounts/loyaltycard Link a loyalty card ID to a loyalty account · Upsert loyalty card id #
Ask an LLM
“How do I record the physical card a member uses for loyalty?”
“Can I update the loyalty card ID on a loyalty account?”
Tell an agent
Set the loyalty card ID on this account to {loyaltyCardId}.
Link card {loyaltyCardId} to the loyalty account.
GET /loyaltypointssummary Get a summary of loyalty points · Find loyalty points summary #
Ask an LLM
“How many loyalty points do I have across all accounts?”
“What is the total points balance summary?”
Tell an agent
Show the loyalty points summary.
Get my total points balance summary.
GET /loyaltyaccounts/next-expiring-points Find the next loyalty points to expire · Get next expiring loyalty points #
Ask an LLM
“Which loyalty points will expire next?”
“Can I see the earliest expiring points within a number of days?”
Tell an agent
Show the next expiring loyalty points.
Find the loyalty points expiring within {noofdays} days.
GET /loyaltyaccounts/expiring-points List loyalty points expiring within a date range · Get expiring loyalty points #
Ask an LLM
“Which loyalty points are about to expire?”
“Can I page through expiring points for a number of days?”
Tell an agent
Show loyalty points expiring within {noofdays} days.
List expiring loyalty points, page {page} with {count} per page.
GET /loyaltyaccounts/accounthistory View loyalty account history across accounts · View loyal account history #
Ask an LLM
“How do I see the transaction history of all loyalty accounts?”
“Can I filter the cross-account loyalty history by merchant?”
Tell an agent
Show the transaction history of all loyalty accounts.
List loyalty account history for merchant {merchantid}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/incentivio:incentivio-loyalty-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

incentivio-loyalty-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Incentivio Loyalty Controller API
  version: v0
  description: 'Operations tagged loyalty-controller across 2 of this provider''s published API definitions: incentivio-admin-api-openapi.json, incentivio-mobile-api-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://adminapi.incentivio.com/incentivio-admin-api
  description: Generated server url
- url: https://mobile.incentivio.com/incentivio-mobile-api
  description: Generated server url
tags:
- name: loyalty-controller
paths:
  /incentivio-loyalty-domain/clients/{clientid}/loyaltyaccounts/{loyaltyaccountid}/accounthistory:
    get:
      tags:
      - loyalty-controller
      operationId: viewLoyalAccountHistory
      parameters:
      - name: clientid
        in: path
        required: true
        schema:
          type: string
      - name: loyaltyaccountid
        in: path
        required: true
        schema:
          type: string
      - name: merchantid
        in: query
        required: false
        schema:
          type: string
      - name: startdate
        in: query
        required: false
        schema:
          type: string
      - name: enddate
        in: query
        required: false
        schema:
          type: string
      - name: page
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: count
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: sortby
        in: query
        required: false
        schema:
          type: string
          default: transactionDate
      - name: sortdirection
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/Direction'
          default: DESC
      - name: status
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/LoyaltyTransactionStatus'
      - name: atgOrderId
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/FindLoyaltyHistoryResponseDTO'
      summary: View loyal account history
      x-summary-source: derived
    servers:
    - url: https://adminapi.incentivio.com/incentivio-admin-api
      description: Generated server url
  /loyaltyaccounts:
    get:
      tags:
      - loyalty-controller
      operationId: viewLoyaltyAccount
      parameters:
      - name: includeloyaltytier
        in: query
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ViewLoyaltyAccountResponseDTO'
      summary: View loyalty account
      x-summary-source: derived
    put:
      tags:
      - loyalty-controller
      operationId: upsertLoyaltyAccountExternalId
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertLoyaltyAccountExternalIdDTO'
        required: true
      responses:
        '200':
          description: OK
      summary: Upsert loyalty account external id
      x-summary-source: derived
    servers:
    - url: https://mobile.incentivio.com/incentivio-mobile-api
      description: Generated server url
  /loyaltyaccounts/loyaltycard:
    put:
      tags:
      - loyalty-controller
      operationId: upsertLoyaltyCardId
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertLoyaltyCardRequestDTO'
        required: true
      responses:
        '200':
          description: OK
      summary: Upsert loyalty card id
      x-summary-source: derived
    servers:
    - url: https://mobile.incentivio.com/incentivio-mobile-api
      description: Generated server url
  /loyaltypointssummary:
    get:
      tags:
      - loyalty-controller
      operationId: findLoyaltyPointsSummary
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoyaltyPointsSummaryDTO'
      summary: Find loyalty points summary
      x-summary-source: derived
    servers:
    - url: https://mobile.incentivio.com/incentivio-mobile-api
      description: Generated server url
  /loyaltyaccounts/next-expiring-points:
    get:
      tags:
      - loyalty-controller
      operationId: getNextExpiringLoyaltyPoints
      parameters:
      - name: noofdays
        in: query
        required: false
        schema:
          type: integer
          format: int32
          default: 30
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NextExpiringLoyaltyPointsResponseDTO'
      summary: Get next expiring loyalty points
      x-summary-source: derived
    servers:
    - url: https://mobile.incentivio.com/incentivio-mobile-api
      description: Generated server url
  /loyaltyaccounts/expiring-points:
    get:
      tags:
      - loyalty-controller
      operationId: getExpiringLoyaltyPoints
      parameters:
      - name: noofdays
        in: query
        required: false
        schema:
          type: integer
          format: int32
          default: 30
      - name: page
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: count
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: sortby
        in: query
        required: false
        schema:
          type: string
          default: expiryDate
      - name: sortdirection
        in: query
        required: false
        schema:
          type: string
          default: ASC
          enum:
          - ASC
          - DESC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpiringLoyaltyPointsResponseDTO'
      summary: Get expiring loyalty points
      x-summary-source: derived
    servers:
    - url: https://mobile.incentivio.com/incentivio-mobile-api
      description: Generated server url
  /loyaltyaccounts/accounthistory:
    get:
      tags:
      - loyalty-controller
      operationId: getLoyaltyaccountsAccounthistory
      parameters:
      - name: merchantid
        in: query
        required: false
        schema:
          type: string
      - name: startdate
        in: query
        required: false
        schema:
          type: string
      - name: enddate
        in: query
        required: false
        schema:
          type: string
      - name: page
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: count
        in: query
        required: true
        schema:
          type: integer
          format: int32
      - name: sortby
        in: query
        required: false
        schema:
          type: string
          default: transactionDate
      - name: sortdirection
        in: query
        required: false
        schema:
          type: string
          default: DESC
          enum:
          - ASC
          - DESC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FindLoyaltyHistoryResponseDTO'
      summary: View loyal account history
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: viewLoyalAccountHistory
    servers:
    - url: https://mobile.incentivio.com/incentivio-mobile-api
      description: Generated server url
components:
  schemas:
    LoyaltyTransactionStatus:
      type: string
      enum:
      - PENDING
      - CONFIRMED
      - EXPIRED
    ResultsPagingDTO:
      type: object
      properties:
        total:
          type: integer
          format: int64
        count:
          type: integer
          format: int32
        totalPages:
          type: integer
          format: int64
        currentPage:
          type: integer
          format: int32
    Direction:
      type: string
      enum:
      - ASC
      - DESC
    LoyaltyTransactionDTO:
      type: object
      properties:
        loyaltyTransactionStatus:
          $ref: '#/components/schemas/LoyaltyTransactionStatus'
        description:
          type: string
        originalPoints:
          type: integer
          format: int32
        currentPoints:
          type: integer
          format: int32
        transactionDate:
          type: string
        offerId:
          type: string
        offerTitle:
          type: string
        loyaltyAccountId:
          type: string
        loyaltyTransactionId:
          type: string
        externalTransactionId:
          type: string
        status:
          $ref: '#/components/schemas/LoyaltyTransactionStatus'
        confirmationDate:
          type: string
    FindLoyaltyHistoryResponseDTO:
      type: object
      properties:
        paging:
          $ref: '#/components/schemas/ResultsPagingDTO'
        loyaltyHistories:
          type: array
          items:
            $ref: '#/components/schemas/LoyaltyTransactionDTO'
    NextExpiringLoyaltyPointsResponseDTO:
      type: object
      properties:
        nextExpiringPoints:
          type: integer
          format: int32
        expiryDate:
          type: string
    ExpiringLoyaltyPointsResponseDTO:
      type: object
      properties:
        paging:
          $ref: '#/components/schemas/ResultsPagingDTO'
        expiringLoyaltyPoints:
          type: array
          items:
            $ref: '#/components/schemas/LoyaltyTransactionDTO_2'
    TierDetailsDTO:
      type: object
      properties:
        name:
          type: string
        lowerBoundary:
          type: number
          format: double
        upperBoundary:
          type: number
          format: double
    UpsertLoyaltyCardRequestDTO:
      type: object
      properties:
        loyaltyCardId:
          type: string
    ViewLoyaltyAccountResponseDTO:
      type: object
      properties:
        loyaltyAccountId:
          type: string
        loyaltyTierId:
          type: string
        externalId:
          type: string
        loyaltyCardId:
          type: string
        confirmedPoints:
          type: integer
          format: int32
        pendingPoints:
          type: integer
          format: int32
        confirmedBalance:
          type: number
          format: float
        pendingBalance:
          type: number
          format: float
        createdDate:
          type: string
        currentLoyaltyTier:
          $ref: '#/components/schemas/TierDetailsDTO'
        nextLoyaltyTier:
          $ref: '#/components/schemas/TierDetailsDTO'
        numOfTypeRequiredForNextTier:
          type: number
          format: double
        tierBasedOnType:
          type: string
        currentLoyaltyTierBasedValue:
          type: number
          format: double
        createdDateString:
          type: string
          format: date-time
    LoyaltyPointsSummaryDTO:
      type: object
      properties:
        clientId:
          type: string
        totalOriginalpoints:
          type: integer
          format: int32
        totalRemainingpoints:
          type: integer
          format: int32
        timeSummarized:
          type: string
    UpsertLoyaltyAccountExternalIdDTO:
      type: object
      properties:
        externalId:
          type: string
    LoyaltyTransactionDTO_2:
      type: object
      properties:
        id:
          type: string
        clientId:
          type: string
        loyaltyTransactionStatus:
          type: string
          enum:
          - PENDING
          - CONFIRMED
          - EXPIRED
        transactionType:
          type: string
          enum:
          - AWARD
          - SPEND
          - RETURN_SPEND
          - RETURN_AWARD
          - PARTIAL_RETURN
        description:
          type: string
        originalPoints:
          type: integer
          format: int32
        currentPoints:
          type: integer
          format: int32
        transactionDate:
          type: string
        offerId:
          type: string
        offerTitle:
          type: string
        loyaltyAccountId:
          type: string
        loyaltyTransactionId:
          type: string
        externalTransactionId:
          type: string
        status:
          type: string
          enum:
          - PENDING
          - CONFIRMED
          - EXPIRED
        confirmationDate:
          type: string
        expiryDate:
          type: string
x-refined-from:
- incentivio-admin-api-openapi.json
- incentivio-mobile-api-openapi.json