Generated by API Evangelist
Written by API Evangelist tooling for Super Payments's API. It is a proposal applied on top of the contract, not a document Super Payments publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Super Payments Rewards API
version: 1.0.0
extends: openapi/super-payments-rewards-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/reward-calculations'].post
update:
x-apievangelist-phrasing:
intent: Calculate rewards for a purchase amount
effect: read
questions:
- How much reward would a customer earn on a given basket?
- What reward percentage applies to a purchase for my brand?
instructions:
- text: Calculate rewards on {amount} {currency} for brand {brandId}.
slots:
amount: requestBody.amount
currency: requestBody.currency
brandId: requestBody.brandId
- text: Work out issuable rewards for brand {brandId} on a {amount} {currency} order.
slots:
brandId: requestBody.brandId
amount: requestBody.amount
currency: requestBody.currency
method: generated
generated: '2026-11-16'
- target: $.paths['/brands/{brandId}/reward-configuration'].get
update:
x-apievangelist-phrasing:
intent: View a brand's reward configuration
effect: read
questions:
- What reward percentage and minimum spend is my brand set to?
- When do rewards expire for a brand?
instructions:
- text: Get the reward configuration for brand {brandId}.
slots:
brandId: path.brandId
- text: Show the current reward settings of brand {brandId}.
slots:
brandId: path.brandId
method: generated
generated: '2026-11-16'
- target: $.paths['/brands/{brandId}/reward-configuration'].put
update:
x-apievangelist-phrasing:
intent: Set a brand's reward configuration
effect: write
questions:
- How do I change the reward percentage my brand offers?
- Can I set a minimum spend before rewards apply?
instructions:
- text: Set brand {brandId} rewards to {rewardPercentage}% with minimum spend {minimumSpend}, expiring after {rewardsExpireAfter}.
slots:
brandId: path.brandId
rewardPercentage: requestBody.rewardPercentage
minimumSpend: requestBody.minimumSpend
rewardsExpireAfter: requestBody.rewardsExpireAfter
- text: Update the reward percentage for {brandId} to {rewardPercentage}, min spend {minimumSpend}, expiry {rewardsExpireAfter}.
slots:
brandId: path.brandId
rewardPercentage: requestBody.rewardPercentage
minimumSpend: requestBody.minimumSpend
rewardsExpireAfter: requestBody.rewardsExpireAfter
method: generated
generated: '2026-11-16'
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.