Overview
This node, named "PhoAi Ultimate Casso QR," is designed to generate a QR code image related to a banking transaction or message. It sends specified data including a bank account identifier, a message content, and an amount of money to an external API endpoint. The API responds with a JPEG image representing the QR code, which the node outputs as binary data.
Common scenarios for this node include:
- Automating payment requests by generating QR codes that encode payment information.
- Sending customized messages linked to specific bank accounts along with payment amounts.
- Integrating with banking systems or payment platforms where QR codes are used for quick transactions.
Practical example:
A user wants to request a payment of 5 units from a customer. They select the bank account, enter a message like "Payment for invoice #1234," specify the amount, and the node generates a QR code image encoding this information. This QR code can then be shared or displayed for scanning.
Properties
| Name | Meaning |
|---|---|
| Đây là phiên bản Thử nghiệm Chúng tôi sẽ liên tục cập nhât và sửa lỗi. Mời bạn truy cập https://zalo.me/g/ebsiof941 để cập nhật thông tin mới nhất |
A notice indicating this is a trial version of the node, with ongoing updates and bug fixes. It invites users to visit the provided URL for the latest information. |
| Chọn Tài Khoản Ngân Hàng | Select a bank account. This property allows choosing a bank account either from a searchable list or by entering its ID directly. It is required. |
| Nội dung tin nhắn | The content of the message to be included in the QR code. This is a free text string describing the message or purpose associated with the QR code. |
| Số tiền | The amount of money (number) to be encoded in the QR code. Default value is 5. |
Output
The node outputs an array of items where each item contains:
json: The original input JSON data for the item (unchanged).binary.data: A binary field containing the generated QR code image.mimeType:"image/jpeg"indicating the image format.filename:"PhoAiQr.png"as the suggested file name.data: The raw binary data of the QR code image returned from the API.
This output structure allows downstream nodes to access both the original data and the generated QR code image for further processing or saving.
Dependencies
- Requires an external API accessible at the base URL:
https://phoaiultimatecasso.com/api/v1/qr. - Needs an API authentication token configured under the credential named generically here as "an API key credential" for OAuth2 authentication.
- Uses HTTP POST method with JSON body containing
price_number,phoai_content, andcasso_bank_id.
Troubleshooting
Common issues:
- Invalid or missing bank account ID: Ensure the selected bank account exists and is correctly referenced.
- Authentication errors: Verify that the API credentials are properly set up and valid.
- Network or API endpoint unreachable: Check internet connectivity and API service status.
- Incorrect data types for properties (e.g., non-numeric amount): Validate inputs before execution.
Error messages:
- Authentication failure: "Unauthorized" or similar indicates invalid API credentials; reconfigure the API key.
- HTTP request failures: Timeouts or connection errors suggest network issues or incorrect API URL.
- API response errors: If the API returns error messages, review the request payload for correctness.
Links and References
- PhoAi Ultimate Casso Official Group — For updates and support related to this node.
- General n8n documentation on HTTP Request Node for understanding HTTP operations.
- OAuth2 authentication setup guides within n8n for configuring API credentials securely.
