Chargent Order Unlinked Refund
Overview
An unlinked refund transaction may be used to apply a refund to a credit card without a prior transaction.
Prequisites
Conditions
- The payment gateway must support credit card unlinked refunds without a prior transaction.
- The Gateway Setup Wizard advanced settings must be used to connfigure the payment gateway.
- A Chargent Order must be created with the Charge Amount field set to the amount to refund to the credit card.
- A Payment Method with credit card type must be related to the Chargent Order.
Resources
There are multiple prerequisite resources that must be created before requesting an unlinked refund.
| Object | Definition |
|---|
| Chargent Order | Chargent Orders are central objects to payments lifecycle management. |
| Payment Method | Payment Methods are instruments that may be used to make or take payment. |
Create Chargent Order Unlinked Refund
Flow Action
| Action Name | Label | Category |
|---|
| apex-ChargentBase_FlowPaymentsUnlinkedRefunds | Chargent Payments Unlinked Refunds | Chargent Payments |
Flow Method
| Method Name | Input | Input Type | Output | Output Type |
|---|
| refund() | RefundInput | List<RefundInput> | RefundOutput | List<RefundOutput> |
| Property | Type | Description |
|---|
| orderId | String | The Order ID to apply the Unlinked Refund. |
| amount | Double | The amount to refund to the Chargent Order. |
RefundOutput Properties
| Property | Type | Description |
|---|
| status | Boolean | Success or failure status for the payment refund action. |
| message | String | The detailed message for the result of the payment refund action. |
| transactionId | String | The transaction ID associated with refund to the Chargent Order. |
Learn More
Learn more about Unlinked Refunds.