Actions13
Overview
This node operation allows users to refund a purchase via the CHIP Collect API. It supports both full and partial refunds and requires the purchase ID to identify the transaction to be refunded. Users can specify the refund amount and select a reason for the refund from predefined options. This operation is useful for e-commerce platforms or payment systems that need to automate refund processes based on customer requests or other refund reasons.
Use Case Examples
- Refund a full purchase amount when a customer requests a refund.
- Issue a partial refund for a duplicate charge or unsatisfactory product.
- Automate refunds for fraudulent transactions or service issues.
Properties
| Name | Meaning |
|---|---|
| Purchase ID | The unique identifier of the purchase to be refunded. This is required to specify which purchase to refund. |
| Refund Amount | The amount to refund. If set to 0, the full purchase amount will be refunded. Must be a positive number if specified. |
| Refund Reason | The reason for the refund. This helps categorize the refund and can be selected from predefined options such as customer request, duplicate charge, fraudulent transaction, etc. |
Output
JSON
json- The JSON response from the CHIP Collect API containing details of the refund transaction.
Dependencies
- CHIP Collect API with an API key credential
Troubleshooting
- Ensure the Purchase ID is valid and corresponds to an existing purchase; otherwise, the API will return an error.
- Refund Amount must be a positive number or zero for full refund; negative or invalid values will cause errors.
- Refund Reason must be one of the predefined options; invalid values default to 'customer_request'.
- API authentication errors may occur if the API key credential is missing or invalid.