Refund Payment
AI-generatedOverview
This node integrates with ATH Móvil, Puerto Rico's mobile payment platform, to perform various payment-related operations. Specifically, the 'Refund Payment' operation allows users to issue a full or partial refund for a completed payment transaction. This is useful for e-commerce businesses or service providers who need to process refunds securely and efficiently using ATH Móvil's API. For example, after a customer returns a product, the business can use this node to refund the payment amount back to the customer via ATH Móvil.
Use Case Examples
- Refund a partial amount to a customer for a returned item using the transaction ID and authorization token.
- Issue a full refund for a canceled order by providing the unique reference number and refund amount.
Properties
| Name | Meaning |
|---|---|
| Ecommerce ID | The transaction ID returned from the Create Payment operation, used to identify the payment to refund. |
| Auth Token | Authorization token obtained from the Create Payment response, required to authorize the refund operation. |
| Reference Number | A unique reference number for the refund transaction to track and identify the refund. |
| Amount | The amount to refund, which can be a full or partial amount of the original payment. |
Output
JSON
refundStatus- Status of the refund transaction returned by ATH Móvil API.refundId- Unique identifier for the refund transaction.amountRefunded- The amount that was refunded in the transaction.transactionDetails- Additional details about the original payment transaction and refund.
Dependencies
- Requires ATH Móvil API credentials including a public token and private token for authentication.
Troubleshooting
- Common issues include invalid or expired authorization tokens, incorrect ecommerce transaction IDs, or reference numbers that do not match the refund records.
- Error messages may indicate authorization failures, invalid input parameters, or network issues. Users should verify credentials, ensure all required fields are correctly filled, and check network connectivity.
- If the refund amount exceeds the original payment amount, the API will reject the request.
Links
- ATH Móvil Developer Documentation - Official documentation for ATH Móvil API including payment and refund operations.