PaymentAchRefund: {
    amount?: string;
    mid: string;
    reference_id?: string;
    transaction_id: string;
}

Parameters to process a refund. A refund can be issued against an ACH/Bank account transaction that has already settled (batched). This function returns funds to the ACH/bank account for the full amount of the original payment transaction.

If the original sale or authorization is not settled (batched) and you want to cancel the transaction use the void method.

Type declaration

  • Optional amount?: string

    The total amount to refund. Cannot exceed the original transaction amount or balance if prior partial refund was issued. To refund the full transaction amount or balance omit this paramter or set to null

  • mid: string

    The merchant account id assigned by the service provider that will process the payment

  • Optional reference_id?: string

    A reference id that will be echo'd back in the message response.

  • transaction_id: string

    The unique transaction_id from the original sale or authorization

Generated using TypeDoc