Fidel API
fidel_apiFidel API provides a developer-friendly, secure, and reliable API for businesses to link payment cards with mobile and web applications, enabling real-time transaction monitoring and event-based experiences.
Acciones disponibles (18)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create BrandFIDEL_API_CREATE_BRANDAcciónTool to create a new brand on fidel. use when you have brand details and need to register it. this tool sends a post request to /v1/brands with the provided brand data.
FIDEL_API_CREATE_BRANDAcciónTool to create a new brand on fidel. use when you have brand details and need to register it. this tool sends a post request to /v1/brands with the provided brand data.
Parámetros de entrada
iconstringURL to brand's icon (image)
namestringObligatorioBrand name
websitestringURL to brand's website
metadataobjectMetadata object (key-value pairs) up to 1024 chars
privacyPolicyUrlstringURL to brand's privacy policy
termsAndConditionsUrlstringURL to brand's terms and conditions
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ProgramFIDEL_API_CREATE_PROGRAMAcciónTool to create a new program. use when registering an offline or online store. use after confirming program name and any optional metadata.
FIDEL_API_CREATE_PROGRAMAcciónTool to create a new program. use when registering an offline or online store. use after confirming program name and any optional metadata.
Parámetros de entrada
iconstringEmoji icon representation (colon-wrapped), e.g., ':avocado:'.
namestringObligatorioName of the program to create.
metadataobjectOptional custom metadata key/value pairs.
iconBackgroundstringBackground color for the icon in hex format, e.g., '#BADA55'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Program WebhookFIDEL_API_CREATE_PROGRAM_WEBHOOKAcciónTool to register a new webhook for program-related events. use when you need to receive real-time notifications for specific program events in your application.
FIDEL_API_CREATE_PROGRAM_WEBHOOKAcciónTool to register a new webhook for program-related events. use when you need to receive real-time notifications for specific program events in your application.
Parámetros de entrada
urlstringObligatorioHTTPS URL where webhook notifications will be sent
eventstringObligatorioenumEvent type to receive notifications for
card.linkedcard.failedprogram.statuslocation.statustransaction.authtransaction.auth.qualifiedtransaction.clearingtransaction.clearing.qualifiedtransaction.refundtransaction.refund.qualifiedprogramIdstringObligatorioUnique ID of the program to which to register the webhook
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete OfferFIDEL_API_DELETE_OFFERAcciónTool to delete a specified offer by its id. use after confirming the correct offer id.
FIDEL_API_DELETE_OFFERAcciónTool to delete a specified offer by its id. use after confirming the correct offer id.
Parámetros de entrada
offerIdstringObligatorioThe unique identifier of the offer to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Program WebhookFIDEL_API_DELETE_PROGRAM_WEBHOOKAcciónTool to delete a specified webhook for a program. use when you need to remove a program webhook after confirming programid and hookid.
FIDEL_API_DELETE_PROGRAM_WEBHOOKAcciónTool to delete a specified webhook for a program. use when you need to remove a program webhook after confirming programid and hookid.
Parámetros de entrada
hookIdstringObligatorioUnique identifier of the webhook to delete
programIdstringObligatorioUnique identifier of the program containing the webhook
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete WebhookFIDEL_API_DELETE_WEBHOOKAcciónTool to delete a specified webhook. use when you need to remove a webhook by its id.
FIDEL_API_DELETE_WEBHOOKAcciónTool to delete a specified webhook. use when you need to remove a webhook by its id.
Parámetros de entrada
hookIdstringObligatorioThe unique identifier of the webhook to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get BrandFIDEL_API_GET_BRANDAcciónTool to retrieve information about a specific brand. use when you have a brand id and need its details.
FIDEL_API_GET_BRANDAcciónTool to retrieve information about a specific brand. use when you have a brand id and need its details.
Parámetros de entrada
brandIdstringObligatorioThe unique identifier of the brand to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get OfferFIDEL_API_GET_OFFERAcciónTool to fetch details of a specific offer. use when you have an offer id and need its full details.
FIDEL_API_GET_OFFERAcciónTool to fetch details of a specific offer. use when you have an offer id and need its full details.
Parámetros de entrada
offerIdstringObligatorioUnique identifier of the offer to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ProgramFIDEL_API_GET_PROGRAMAcciónTool to retrieve details of a specific program. use when you have a program id and need its full details.
FIDEL_API_GET_PROGRAMAcciónTool to retrieve details of a specific program. use when you have a program id and need its full details.
Parámetros de entrada
programIdstringObligatorioUnique identifier for the Program.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get WebhookFIDEL_API_GET_WEBHOOKAcciónTool to retrieve details of a specific webhook. use when you have a webhook id and need its full details.
FIDEL_API_GET_WEBHOOKAcciónTool to retrieve details of a specific webhook. use when you have a webhook id and need its full details.
Parámetros de entrada
hookIdstringObligatorioUnique identifier of the webhook to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List BrandsFIDEL_API_LIST_BRANDSAcciónTool to list all brands. use when you need to retrieve a paginated list of all available brands.
FIDEL_API_LIST_BRANDSAcciónTool to list all brands. use when you need to retrieve a paginated list of all available brands.
Parámetros de entrada
limitintegerNumber of brands to return (1-100).
startingAfterstringCursor for pagination. Returns brands after this cursor.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CardsFIDEL_API_LIST_CARDSAcciónTool to list all cards for a specific program. use when you have a programid and need to retrieve associated card records.
FIDEL_API_LIST_CARDSAcciónTool to list all cards for a specific program. use when you have a programid and need to retrieve associated card records.
Parámetros de entrada
limitintegerNumber of cards to return per page.
statusstringFilter cards by status (e.g., 'active', 'inactive').
metadataobjectFilter by card metadata; provide key-value pairs.
accountIdstringFilter by account ID.
programIdstringObligatorioThe unique identifier of the program whose cards you want to list.
endingBeforestringCursor for pagination; return results before this card ID.
startingAfterstringCursor for pagination; return results after this card ID.
Parámetros de salida
dataobject[]ObligatorioArray of card objects.
errorstringError if any occurred during the execution of the action
objectstringObligatorioObject type, always 'list'.
hasMorebooleanObligatorioTrue if more results are available.
successfulbooleanObligatorioWhether or not the action execution was successful or not
totalCountintegerObligatorioTotal number of cards found.
List LocationsFIDEL_API_LIST_LOCATIONSAcciónTool to list all locations for a program. use when you need to retrieve paginated store locations within a specific program.
FIDEL_API_LIST_LOCATIONSAcciónTool to list all locations for a program. use when you need to retrieve paginated store locations within a specific program.
Parámetros de entrada
countinteger(Deprecated) Number of locations to return. Use 'limit' instead.
limitintegerNumber of locations to return per page (1-100).
searchstringFilter locations by name or address substring.
programIdstringObligatorioUnique identifier of the program to list locations for.
countryCodestringFilter locations by 2-letter country code, e.g., 'GB'.
endingBeforestringCursor for pagination to return locations before a specific ID.
startingAfterstringCursor for pagination to return locations after a specific ID.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List OffersFIDEL_API_LIST_OFFERSAcciónTool to list all offers. use when you need to retrieve offers after applying optional filters.
FIDEL_API_LIST_OFFERSAcciónTool to list all offers. use when you need to retrieve offers after applying optional filters.
Parámetros de entrada
pageintegerPage number of results to return (must be >= 1).
statusstringenumFilter by offer status.
ACTIVEINACTIVEbrandIdstringFilter offers by associated brand UUID.
endDatestringFilter offers ending on or before this date (ISO 8601).
perPageintegerNumber of results per page (1–100).
programIdstringFilter offers by associated program UUID.
startDatestringFilter offers starting on or after this date (ISO 8601).
locationIdstringFilter offers by associated location UUID.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProgramsFIDEL_API_LIST_PROGRAMSAcciónTool to list fidel programs. use when you need to retrieve available programs with optional pagination.
FIDEL_API_LIST_PROGRAMSAcciónTool to list fidel programs. use when you need to retrieve available programs with optional pagination.
Parámetros de entrada
limitintegerMaximum number of programs to return (must be ≥ 1).
startingAfterstringCursor returned by a previous call for pagination.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Program WebhooksFIDEL_API_LIST_PROGRAM_WEBHOOKSAcciónTool to list all registered webhooks for a specific program. use when you need to retrieve existing webhooks after confirming the programid.
FIDEL_API_LIST_PROGRAM_WEBHOOKSAcciónTool to list all registered webhooks for a specific program. use when you need to retrieve existing webhooks after confirming the programid.
Parámetros de entrada
programIdstringObligatorioThe unique identifier of the program whose webhooks you want to list.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TransactionsFIDEL_API_LIST_TRANSACTIONSAcciónTool to list transactions. use when you need to page through and/or filter transactions.
FIDEL_API_LIST_TRANSACTIONSAcciónTool to list transactions. use when you need to page through and/or filter transactions.
Parámetros de entrada
endstringOnly return transactions created before this timestamp (RFC3339).
limitintegerNumber of transactions to return (1-100).
startstringOnly return transactions created after this timestamp (RFC3339).
cardIdstringFilter by tokenized card ID.
fieldsstringComma-separated list of fields to include in each transaction record.
offsetintegerNumber of transactions to skip before starting to collect the result set.
programIdstringFilter by Fidel program ID.
insertedAtstringOnly return transactions inserted at this timestamp (RFC3339).
locationIdstringFilter by location ID.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ProgramFIDEL_API_UPDATE_PROGRAMAcciónTool to update a program's name, icon, metadata, or status. use after confirming the program id and desired updates.
FIDEL_API_UPDATE_PROGRAMAcciónTool to update a program's name, icon, metadata, or status. use after confirming the program id and desired updates.
Parámetros de entrada
iconstringEmoji icon representation (colon-wrapped), e.g., ':avocado:'
namestringNew name for the Program
activebooleanProgram active status
metadataobjectCustom metadata as key/value pairs
programIdstringObligatorioUnique identifier of the Program to update.
iconBackgroundstringBackground color for the icon in hex format, e.g., '#BADA55'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not