Imprint Rewards API
The Rewards API from Imprint — 2 operation(s) for rewards.
The Rewards API from Imprint — 2 operation(s) for rewards.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/imprint:imprint-rewards-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Public Imprint Rewards API
version: '2.0'
servers:
- url: https://dev.sbx.imprint.co
description: Imprint public api sandbox
security:
- basicAuth: []
- bearerAuth: []
tags:
- name: Rewards
paths:
/v2/rewards:
get:
tags:
- Rewards
summary: Search for rewards
operationId: searchRewards
parameters:
- name: transaction_event_id
in: query
description: Reward associated to the transaction event
schema:
type: string
example: 40fa8333-f809-4861-9839-45f41d50077d
- name: limit
$ref: '#/components/parameters/limitParam'
- name: starting_after
$ref: '#/components/parameters/startingAfterParam'
responses:
'200':
description: List of rewards
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Reward'
has_more:
type: boolean
total:
type: integer
/v2/rewards/rewards_categories:
get:
tags:
- Rewards
summary: List the product's reward categories
description: 'Returns the authenticated API key''s product-level standard earning
categories and active signup categories. The product is inferred from
the API key; this endpoint does not accept product, customer, or account
identifiers.
The response is assembled from the same live product, accrual, and offer
configuration used by Imprint''s application and servicing experiences;
it is not read from static rewards assets.
`earn_rate` is the configured exchange rate as a decimal string: reward
units earned per one transaction-currency unit, in the currency named by
`currency`. Its decimal places carry the precision the rate is
configured with.'
operationId: listProductRewardCategories
parameters:
- $ref: '#/components/parameters/localeParam'
responses:
'200':
description: Reward categories and earn rates
content:
application/json:
schema:
$ref: '#/components/schemas/RewardCategoriesResponse'
/v2/rewards/{reward_id}:
get:
tags:
- Rewards
summary: Retrieve a reward
description: Retrieves the details of an existing reward by ID
operationId: getReward
parameters:
- name: reward_id
in: path
required: true
description: The unique identifier for the reward
schema:
type: string
example: B552A4A1-9B31-4414-8AEE-E735A8652EDA
responses:
'200':
description: Reward retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Reward'
'404':
description: Reward not found
content:
application/json:
schema:
$ref: '#/components/schemas/RewardNotFoundError'
patch:
tags:
- Rewards
summary: Updates a reward
description: Updates the status or amount of pending rewards
operationId: patchReward
parameters:
- name: reward_id
in: path
required: true
schema:
type: string
example: 2EE24580-B97B-4949-A65C-929CCB9B9B8D
description: Unique identifier for the reward
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
amount:
type: integer
description: amount to update the reward
example: 120000
status:
$ref: '#/components/schemas/RewardStatus'
responses:
'200':
description: Reward updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Reward'
components:
schemas:
RewardCategoriesResponse:
type: object
required:
- currency
- categories
- special_categories
properties:
currency:
type: string
description: The reward currency configured for the account's program
example: FanCash
categories:
type: array
description: Standard transaction earning categories in display order
items:
$ref: '#/components/schemas/RewardCategory'
special_categories:
type: array
description: Active non-transaction categories, such as a signup bonus
items:
$ref: '#/components/schemas/SpecialRewardCategory'
RewardCurrency:
type: string
description: The 3-character currency code of the amount in ISO 4217 format (e.g., "USD") or a reward unit (e.g., "POINTS")
example: POINTS
RewardStatus:
type: string
enum:
- PENDING
- AVAILABLE
- PENDING_DEDUCTION
- DEDUCTED
example: PENDING
SpecialRewardCategory:
type: object
required:
- name
- description
- amount
- type
properties:
name:
type: string
example: Signup Bonus
description:
type: string
example: One-time bonus after first purchase
amount:
type: string
description: Display-formatted reward amount (e.g. "$200", "10,000 points").
example: $200
type:
type: string
enum:
- SIGNUP
RewardType:
type: string
enum:
- OFFER
- TRANSACTION
- ONE_TIME
- STATEMENT
- REFERRAL
example: TRANSACTION
Reward:
type: object
required:
- id
- customer_id
- amount
- status
- type
- created_at
properties:
id:
type: string
example: 2EE24580-B97B-4949-A65C-929CCB9B9B8D
customer_id:
type: string
example: 9B5E1EE0-2E1C-46E7-81B9-3C3917204BE4
transaction_event_id:
type: string
description: transaction that generated this reward, if applicable.
example: E777214A-2D11-4CAD-9E8F-E1BD71D9FE67
amount:
type: integer
description: reward amount in min units.
type:
$ref: '#/components/schemas/RewardType'
currency:
$ref: '#/components/schemas/RewardCurrency'
status:
$ref: '#/components/schemas/RewardStatus'
created_at:
type: string
description: the RFC-3339 timestamp when the reward was created
example: 2025-02-13 19:08:07+00:00
updated_at:
type: string
description: the RFC-3339 timestamp when the reward was last updated
example: 2025-02-13 19:08:07+00:00
metadata:
type: object
additionalProperties: true
example:
platform_version: 2.1.0
RewardNotFoundError:
type: object
required:
- type
- message
properties:
type:
type: string
description: The category of error being returned
example: REWARD_NOT_FOUND_ERROR
message:
type: string
description: A message describing the cause of the error.
example: 'Reward not found for provided ID: pymd_123'
param:
type: string
description: The param causing the error
example: reward_id
RewardCategory:
type: object
required:
- name
- description
- earn_rate
- type
- merchants
properties:
name:
type: string
example: On-Merchant
description:
type: string
example: Purchases at Fanatics stores
earn_rate:
type: string
description: 'Reward units earned per one transaction-currency unit, as a decimal
string in the currency named by the response''s `currency` field. The
number of decimal places is the precision the rate is configured
with, so `"10.00"` and `"10"` are the same rate configured at
different precisions.
'
pattern: ^-?\d+(\.\d+)?$
example: '10.00'
type:
$ref: '#/components/schemas/RewardCategoryType'
merchants:
type: array
items:
type: string
example:
- Fanatics
- NFL Shop
- NBA Store
RewardCategoryType:
type: string
enum:
- ON_MERCHANT
- OFF_MERCHANT
parameters:
startingAfterParam:
name: starting_after
in: query
description: A cursor for use in pagination. An id that defines your place in the list.
schema:
type: string
localeParam:
name: locale
in: query
required: false
description: 'Locale for translated category copy. English (`en`) is used when omitted
or unsupported; Spanish (`es`) and regional variants such as `es-MX` are
also supported.
'
schema:
type: string
default: en
example: en
limitParam:
name: limit
in: query
description: Limits the number of returned results
schema:
type: integer
minimum: 1
default: 10
format: int32
securitySchemes:
basicAuth:
type: http
scheme: basic
description: 'Basic HTTP authentication. Allowed headers-- Authorization: Basic <base64(api_key_id:api_key_secret)>'
bearerAuth:
bearerFormat: auth-scheme
description: 'Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>'
scheme: bearer
type: http
x-provenance:
method: harvested
publisher: Imprint
source: https://docs.imprint.co/api-reference/openapi.yaml
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)