fidel.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Brands
createBrand
brands.createBrand
Create a brand on Fidel
Risk: write
items full type
items full type
deleteBrand
brands.deleteBrand
Delete a brand from the Fidel account
Risk: destructive
object \| undefined
Output full type
Output full type
listBrands
brands.listBrands
List the brands on the Fidel account
Risk: read
items full type
items full type
retrieveBrand
brands.retrieveBrand
Retrieve a brand by ID
Risk: read
items full type
items full type
updateBrand
brands.updateBrand
Update the details of a brand
Risk: write
items full type
items full type
Cards
deleteCard
cards.deleteCard
Remove a linked card from a program
Risk: destructive
object \| undefined
Output full type
Output full type
listCards
cards.listCards
List the linked cards of a program
Risk: read
items full type
items full type
listCardsFromMetadataId
cards.listCardsFromMetadataId
List the linked cards matching a metadata identifier
Risk: read
items full type
items full type
retrieveCard
cards.retrieveCard
Retrieve a linked card by ID
Risk: read
items full type
items full type
updateCardMetadata
cards.updateCardMetadata
Replace the metadata of a linked card
Risk: write
metadata replaces the card’s whole metadata object. Pass {} to clear it.
Output
items full type
items full type
Locations
createLocation
locations.createLocation
Create a location under a program and brand
Risk: write
searchBy as a nested object: { merchantIds: { visa: ['1234567'], mastercard: ['7654321'], amex: ['1357986420'] } }.
Output
items full type
items full type
deleteLocation
locations.deleteLocation
Delete a location from a program
Risk: destructive
object \| undefined
Output full type
Output full type
listLocations
locations.listLocations
List the locations of a program
Risk: read
items full type
items full type
listLocationsByBrand
locations.listLocationsByBrand
List the locations of a brand within a program
Risk: read
items full type
items full type
listLocationsByOffer
locations.listLocationsByOffer
List the locations linked to an offer
Risk: read
items full type
items full type
retrieveLocation
locations.retrieveLocation
Retrieve a location by ID
Risk: read
items full type
items full type
updateLocation
locations.updateLocation
Update the details of a location
Risk: write
items full type
items full type
Marketplace
createOfferFromMarketplaceOffer
marketplace.createOfferFromMarketplaceOffer
Create an offer from a marketplace offer
Risk: write
listMarketplaceOffers
marketplace.listMarketplaceOffers
List the offers available in the Fidel marketplace
Risk: read
items full type
items full type
Mid-insights
listMidInsights
mid-insights.listMidInsights
List the MID insights of a program
Risk: read
items full type
items full type
Mid-requests
createMidRequest
mid-requests.createMidRequest
Create a MID request to onboard, offboard or reassign a merchant ID; offboarding stops transaction tracking for that MID
Risk: write
items full type
items full type
listMidRequests
mid-requests.listMidRequests
List the MID requests of a program
Risk: read
items full type
items full type
retrieveMidRequest
mid-requests.retrieveMidRequest
Retrieve a MID request by ID
Risk: read
items full type
items full type
Mids
listMids
mids.listMids
List the merchant IDs of a program
Risk: read
items full type
items full type
retrieveMid
mids.retrieveMid
Retrieve a merchant ID of a program by ID
Risk: read
items full type
items full type
Missing-transaction-requests
createMissingTransactionRequest
missing-transaction-requests.createMissingTransactionRequest
Create a missing transaction request for a linked card
Risk: write
items full type
items full type
listMissingTransactionRequests
missing-transaction-requests.listMissingTransactionRequests
List the missing transaction requests of a program
Risk: read
items full type
items full type
retrieveMissingTransactionRequest
missing-transaction-requests.retrieveMissingTransactionRequest
Retrieve a missing transaction request by ID
Risk: read
items full type
items full type
Offers
activateOfferOnCard
offers.activateOfferOnCard
Activate an offer on a linked card
Risk: write
items full type
items full type
createOffer
offers.createOffer
Create an offer on Fidel
Risk: write
items full type
items full type
deleteOffer
offers.deleteOffer
Delete an offer from Fidel
Risk: destructive
object \| undefined
Output full type
Output full type
linkAllBrandLocationsToOffer
offers.linkAllBrandLocationsToOffer
Link every location of a brand in a program to an offer
Risk: write
linkLocationToOffer
offers.linkLocationToOffer
Link a location to an offer
Risk: write
items full type
items full type
listCardsWithActiveOffer
offers.listCardsWithActiveOffer
List the linked cards with an active offer
Risk: read
items full type
items full type
listOffers
offers.listOffers
List the offers of a program
Risk: read
items full type
items full type
retrieveActiveOfferOnCard
offers.retrieveActiveOfferOnCard
Check whether an offer is active on a linked card
Risk: read
items full type
items full type
retrieveOffer
offers.retrieveOffer
Retrieve an offer by ID
Risk: read
items full type
items full type
sendOfferToBrand
offers.sendOfferToBrand
Send an offer to its brand for approval; this notifies the brand and works only in the live environment
Risk: write
items full type
items full type
unlinkCardFromOffer
offers.unlinkCardFromOffer
Deactivate an offer on a linked card and reset its usage
Risk: destructive
object \| undefined
Output full type
Output full type
unlinkLocationToOffer
offers.unlinkLocationToOffer
Unlink a location from an offer
Risk: destructive
object \| undefined
Output full type
Output full type
updateOffer
offers.updateOffer
Update the details of an offer
Risk: write
items full type
items full type
Programs
createProgram
programs.createProgram
Create a program on Fidel
Risk: write
items full type
items full type
listPrograms
programs.listPrograms
List the programs on the Fidel account
Risk: read
items full type
items full type
retrieveProgram
programs.retrieveProgram
Retrieve a program by ID
Risk: read
items full type
items full type
updateProgram
programs.updateProgram
Update the details of a program
Risk: write
items full type
items full type
Transactions
createTransactionTest
transactions.createTransactionTest
Create a test transaction in the test environment
Risk: write
items full type
items full type
listTransactions
transactions.listTransactions
List the transactions of a program
Risk: read
items full type
items full type
listTransactionsByCard
transactions.listTransactionsByCard
List the transactions of a linked card
Risk: read
items full type
items full type
retrieveTransaction
transactions.retrieveTransaction
Retrieve a transaction by ID
Risk: read
items full type
items full type
Webhooks
createBrandWebhook
webhooks.createBrandWebhook
Create a webhook for brand events on Fidel
Risk: write
items full type
items full type
createProgramWebhook
webhooks.createProgramWebhook
Create a webhook for program events on Fidel
Risk: write
headers are sent to Fidel and returned by it, but Corsair’s event log keeps only the header names. The response carries the hook’s secretKey, which signs each delivery (x-fidel-signature); store it where you verify webhooks.
Output
items full type
items full type
deleteWebhook
webhooks.deleteWebhook
Delete a webhook from a program
Risk: destructive
object \| undefined
Output full type
Output full type
listWebhooks
webhooks.listWebhooks
List the webhooks of a program
Risk: read
items full type
items full type
retrieveWebhook
webhooks.retrieveWebhook
Retrieve a webhook by ID
Risk: read
items full type
items full type
updateWebhook
webhooks.updateWebhook
Update the details of a webhook
Risk: write
items full type
items full type