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

Parameters to process a refund. A refund can be issued against a Sale or Authorization transaction that has already settled (batched). This function returns funds to the card holder for equal or less value than the original Sale/Capture transaction.

If the original sale or authorization is not settled (batched) and you want to cancel the transaction completely 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