Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kard rewards API

The rewards API from Kard — 9 operation(s) for rewards.

Kard rewards API is one of 16 APIs that Kard publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include rewards. The published artifact set on APIs.io includes an OpenAPI specification, authentication docs, and an AsyncAPI specification.

This API exposes 9 operations across 9 paths, and defines 33 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 2 base URLs: https://rewards-api.getkard.com, https://test-rewards-api.getkard.com.

9 operations 9 paths 33 schemas 9 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://rewards-api.getkard.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Kard rewards API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (OAuthScheme).

Paths & Operations 9

Across 9 paths, the API surfaces 9 operations — 9 GET. Each is listed below with its method, path, parameters, and response codes.

rewards 9
GET
/rewards/merchant/user/{referringPartnerUserId}
Get Eligible Merchants
get-merchants-by-user 5 params → 200400401404500
GET
/rewards/merchant/{id}
Get Merchant by ID
get-merchant-by-id 2 params → 200400401404500
GET
/rewards/merchant
Get Merchants
get-merchants 5 params → 200400401500
GET
/rewards/merchant/offers/user/{referringPartnerUserId}
Get Eligible Offers
get-offers-by-user 12 params → 200400401404500
GET
/rewards/merchant/offers
Get Offers
get-offers 16 params → 200400401500
GET
/rewards/merchant/locations/user/{referringPartnerUserId}
Get Eligible Locations
get-locations-by-user 21 params → 200400401404500
GET
/rewards/merchant/location/{id}
Get Location by ID
get-location-by-id 2 params → 200400401404500
GET
/rewards/merchant/locations/{merchantId}
Get Locations by Merchant ID
get-locations-by-merchant-id 4 params → 200400401500
GET
/rewards/merchant/locations
Get Locations
get-locations 18 params → 200400401500

Schemas 33

The contract defines 33 schemas that model the data the API accepts and returns. The most detailed are type_rewards:OfferWithAttribution (24 properties), type_rewards:MerchantOfferWithAttribution (24 properties), type_rewards:FullLocationsOffer (23 properties), type_rewards:MerchantOffer (23 properties). Each schema is shown below with its type and property counts.

type_commons:CommissionType
string
Type of commission on offer (% or a flat $)
type_rewards:MerchantOffer
object
23 properties 16 required
type_rewards:OfferMerchantWithAttribution
object
9 properties 8 required
type_commons:RequestValidationErrorResponse
object
1 property 1 required
type_rewards:ComponentType
string
Available UI component types for offers
type_rewards:Offer
object
22 properties 16 required
type_commons:OfferType
string
Type of offer (whether it is run online or in-store)
type_commons:Source
string
Source of the merchant associated to the location
type_rewards:Location
object
13 properties 11 required
type_rewards:LocationWithFullOffer
object
15 properties 13 required
type_rewards:Merchant
object
12 properties 11 required
type_rewards:LocationsMerchantWithAttribution
object
9 properties 8 required
type_rewards:LocationType
string
type_commons:CategoryOption
string
Category of merchant. Please use URL Encode for non single word categories. (Food & Beverage should be Food%20%26%20Beverage)
type_rewards:OfferMerchant
object
Merchant associated with the offer
9 properties 8 required
type_commons:InvalidRequestUnion
type_rewards:MerchantOfferWithAttribution
object
24 properties 15 required
type_rewards:MerchantWithAttribution
object
12 properties 11 required
type_commons:GeoLocation
object
2 properties 2 required
type_rewards:LocationsMerchant
object
9 properties 8 required
type_commons:MongoId
string
The unique identifier for a document in the database
type_commons:AcceptedCards
string
Card types accepted by merchant
type_rewards:OfferWithAttribution
object
24 properties 16 required
type_rewards:LocationWithPartialOffer
object
15 properties 13 required
type_commons:State
string
type_commons:SortOptions
string
type_rewards:FullLocationsOffer
object
23 properties 14 required
type_commons:OperatingHours
object
7 properties
type_commons:Address
object
4 properties 4 required
type_commons:EnrolledRewardsType
string
Enrolled Rewards
type_commons:UnauthorizedErrorBody
object
1 property 1 required
type_rewards:LocationsOffer
object
11 properties 5 required
type_rewards:GetMerchantByIdResponse

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kard-rewards-api-openapi.yml Raw ↑

Other APIs Kard publishes across the network.

Kard attributions API
Kard Files API
Kard notifications > Notifications API
Kard notifications > Subscriptions API
Kard Organizations API
Kard Organizations > Children API
Kard Organizations > ContentStrategies API
Kard Organizations > Placements API
Kard Ping API
Kard transactions API
Kard users API
Kard users > attributions API