Actions84
- Avatar Actions
- Document Actions
- Function Actions
- Messaging Actions
- Create APNS Provider
- Create Email
- Create FCM Provider
- Create Mailgun Provider
- Create MSG91 Provider
- Create Provider
- Create Push
- Create Sendgrid Provider
- Create SMS
- Create SMTP Provider
- Create Subscriber
- Create Telesign Provider
- Create Textmagic Provider
- Create Topic
- Create Twilio Provider
- Create Vonage Provider
- Delete Provider
- Delete Subscriber
- Delete Topic
- Get Message
- Get Provider
- Get Subscriber
- Get Topic
- List Message Logs
- List Messages
- List Provider Logs
- List Providers
- List Subscriber Logs
- List Subscribers
- List Targets
- List Topic Logs
- List Topics
- Update APNS Provider
- Update Email
- Update FCM Provider
- Update Mailgun Provider
- Update MSG91 Provider
- Update Provider
- Update Push
- Update Sendgrid Provider
- Update SMS
- Update SMTP Provider
- Update Telesign Provider
- Update Textmagic Provider
- Update Topic
- Update Twilio Provider
- Update Vonage Provider
- Storage Actions
- Token Actions
- Users Actions
Overview
This node operation retrieves an icon image representing a credit card provider. It is useful in scenarios where you want to visually display the logo of a credit card type, for example, in payment forms, financial dashboards, or e-commerce platforms to enhance user experience by showing familiar credit card brand icons.
Practical examples include:
- Displaying the Mastercard or Visa logo next to payment input fields.
- Generating reports or invoices that include credit card icons.
- Creating UI elements that require credit card branding visuals.
Properties
| Name | Meaning |
|---|---|
| Credit Card Code | The code identifying the credit card provider. Options: American Express, Diners Club, Discover, JCB, Mastercard, UnionPay, Visa. |
| Additional Fields | Optional settings including: - Background Color (hex color for initials avatar background) - Download (boolean to force download) - Height (image height in pixels) - Margin (QR code margin) - Quality (image quality from 0 to 100) - Size (QR code size in pixels) - Width (image width in pixels) |
Output
The output contains a JSON object with a data field holding the retrieved credit card icon image data. This data typically represents the image in a format suitable for further processing or display within n8n workflows.
If the "Download" option is enabled, the node may trigger a forced download of the image.
Dependencies
- Requires an API key credential for authenticating with the Appwrite service.
- Needs proper configuration of the Appwrite endpoint URL and project ID.
- Depends on the Appwrite SDK client initialized with these credentials.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an unsupported credit card code will result in errors or no image returned.
- Incorrect image dimension values (e.g., zero or negative numbers) might cause unexpected behavior.
Error messages:
- Authentication errors indicate problems with API key or project setup; verify credentials.
- Resource not found errors suggest invalid credit card codes or misconfiguration.
- Network or timeout errors imply connectivity issues with the Appwrite server.