Skip to main content

Chargent Order Credit

Overview

A credit transaction may be used to apply a credit to a bank account without a prior transaction.

Prequisites

Conditions

  1. The payment gateway must support bank account credits without a prior transaction.
  2. The Gateway Setup Wizard advanced settings must be used to configure the payment gateway.
  3. A Chargent Order must be created with the Credit Amount amount field set to the amount to credit the bank account.
  4. A Payment Method with bank account type must be assigned to the Chargent Order.

Resources

There are multiple prerequisite resources depending on the call method that must be created before requesting a payment authorization.

           Object           Definition
Chargent OrderChargent Orders are central objects to payments lifecycle management.
Payment MethodPayment Methods are instruments that may be used to make or take payment.

Create Chargent Order Credit

Flow Action

Action NameLabelCategory
apex-ChargentBase_FlowPaymentsCreditsChargent Payments CreditsChargent Payments

Flow Method

Method NameInputInput TypeOutputOutput Type
refund()CreditInputList<CreditInput>CreditOutputList<CreditOutput>

CreditInput Properties

PropertyTypeDescription
orderIdStringThe Chargent Order ID to apply the credit.

CreditOutput Properties

PropertyTypeDescription
statusBooleanSuccess or failure status for the payment refund action.
messageStringThe detailed message for the result of the payment refund action.
transactionIdStringThe transaction ID associated with refund to the Chargent Order.

Learn More

Learn more about Sending Credits.