Skip to main content
Every fidel.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Brands

createBrand

brands.createBrand Create a brand on Fidel Risk: write
Input Output

deleteBrand

brands.deleteBrand Delete a brand from the Fidel account Risk: destructive
Input Output: object \| undefined

listBrands

brands.listBrands List the brands on the Fidel account Risk: read
Input Output

retrieveBrand

brands.retrieveBrand Retrieve a brand by ID Risk: read
Input Output

updateBrand

brands.updateBrand Update the details of a brand Risk: write
Input Output

Cards

deleteCard

cards.deleteCard Remove a linked card from a program Risk: destructive
Input Output: object \| undefined

listCards

cards.listCards List the linked cards of a program Risk: read
Input Output

listCardsFromMetadataId

cards.listCardsFromMetadataId List the linked cards matching a metadata identifier Risk: read
Input Output

retrieveCard

cards.retrieveCard Retrieve a linked card by ID Risk: read
Input Output

updateCardMetadata

cards.updateCardMetadata Replace the metadata of a linked card Risk: write
Input metadata replaces the card’s whole metadata object. Pass {} to clear it. Output

Locations

createLocation

locations.createLocation Create a location under a program and brand Risk: write
Input To attach merchant IDs you already know, pass searchBy as a nested object: { merchantIds: { visa: ['1234567'], mastercard: ['7654321'], amex: ['1357986420'] } }. Output

deleteLocation

locations.deleteLocation Delete a location from a program Risk: destructive
Input Output: object \| undefined

listLocations

locations.listLocations List the locations of a program Risk: read
Input Output

listLocationsByBrand

locations.listLocationsByBrand List the locations of a brand within a program Risk: read
Input Output

listLocationsByOffer

locations.listLocationsByOffer List the locations linked to an offer Risk: read
Input Output

retrieveLocation

locations.retrieveLocation Retrieve a location by ID Risk: read
Input Output

updateLocation

locations.updateLocation Update the details of a location Risk: write
Input Output

Marketplace

createOfferFromMarketplaceOffer

marketplace.createOfferFromMarketplaceOffer Create an offer from a marketplace offer Risk: write
Input Output

listMarketplaceOffers

marketplace.listMarketplaceOffers List the offers available in the Fidel marketplace Risk: read
Input Output

Mid-insights

listMidInsights

mid-insights.listMidInsights List the MID insights of a program Risk: read
Input Output

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
Input Output

listMidRequests

mid-requests.listMidRequests List the MID requests of a program Risk: read
Input Output

retrieveMidRequest

mid-requests.retrieveMidRequest Retrieve a MID request by ID Risk: read
Input Output

Mids

listMids

mids.listMids List the merchant IDs of a program Risk: read
Input Output

retrieveMid

mids.retrieveMid Retrieve a merchant ID of a program by ID Risk: read
Input Output

Missing-transaction-requests

createMissingTransactionRequest

missing-transaction-requests.createMissingTransactionRequest Create a missing transaction request for a linked card Risk: write
Input Output

listMissingTransactionRequests

missing-transaction-requests.listMissingTransactionRequests List the missing transaction requests of a program Risk: read
Input Output

retrieveMissingTransactionRequest

missing-transaction-requests.retrieveMissingTransactionRequest Retrieve a missing transaction request by ID Risk: read
Input Output

Offers

activateOfferOnCard

offers.activateOfferOnCard Activate an offer on a linked card Risk: write
Input Output

createOffer

offers.createOffer Create an offer on Fidel Risk: write
Input Output

deleteOffer

offers.deleteOffer Delete an offer from Fidel Risk: destructive
Input Output: object \| undefined

linkAllBrandLocationsToOffer

offers.linkAllBrandLocationsToOffer Link every location of a brand in a program to an offer Risk: write
Input Output

linkLocationToOffer

offers.linkLocationToOffer Link a location to an offer Risk: write
Input Output

listCardsWithActiveOffer

offers.listCardsWithActiveOffer List the linked cards with an active offer Risk: read
Input Output

listOffers

offers.listOffers List the offers of a program Risk: read
Input Output

retrieveActiveOfferOnCard

offers.retrieveActiveOfferOnCard Check whether an offer is active on a linked card Risk: read
Input Output

retrieveOffer

offers.retrieveOffer Retrieve an offer by ID Risk: read
Input Output

sendOfferToBrand

offers.sendOfferToBrand Send an offer to its brand for approval; this notifies the brand and works only in the live environment Risk: write
Input Output

unlinkCardFromOffer

offers.unlinkCardFromOffer Deactivate an offer on a linked card and reset its usage Risk: destructive
Input Output: object \| undefined

unlinkLocationToOffer

offers.unlinkLocationToOffer Unlink a location from an offer Risk: destructive
Input Output: object \| undefined

updateOffer

offers.updateOffer Update the details of an offer Risk: write
Input Output

Programs

createProgram

programs.createProgram Create a program on Fidel Risk: write
Input Output

listPrograms

programs.listPrograms List the programs on the Fidel account Risk: read
Input Output

retrieveProgram

programs.retrieveProgram Retrieve a program by ID Risk: read
Input Output

updateProgram

programs.updateProgram Update the details of a program Risk: write
Input Output

Transactions

createTransactionTest

transactions.createTransactionTest Create a test transaction in the test environment Risk: write
Input Output

listTransactions

transactions.listTransactions List the transactions of a program Risk: read
Input Output

listTransactionsByCard

transactions.listTransactionsByCard List the transactions of a linked card Risk: read
Input Output

retrieveTransaction

transactions.retrieveTransaction Retrieve a transaction by ID Risk: read
Input Output

Webhooks

createBrandWebhook

webhooks.createBrandWebhook Create a webhook for brand events on Fidel Risk: write
Input Output

createProgramWebhook

webhooks.createProgramWebhook Create a webhook for program events on Fidel Risk: write
Input Values in 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

deleteWebhook

webhooks.deleteWebhook Delete a webhook from a program Risk: destructive
Input Output: object \| undefined

listWebhooks

webhooks.listWebhooks List the webhooks of a program Risk: read
Input Output

retrieveWebhook

webhooks.retrieveWebhook Retrieve a webhook by ID Risk: read
Input Output

updateWebhook

webhooks.updateWebhook Update the details of a webhook Risk: write
Input Output